[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230508091931.yznppzp2ohham5ek@blmsp>
Date: Mon, 8 May 2023 11:19:31 +0200
From: Markus Schneider-Pargmann <msp@...libre.com>
To: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Cc: mturquette@...libre.com, sboyd@...nel.org, matthias.bgg@...il.com,
wenst@...omium.org, chun-jie.chen@...iatek.com,
mandyjh.liu@...iatek.com, miles.chen@...iatek.com,
zhaojh329@...il.com, daniel@...rotopia.org,
nfraprado@...labora.com, rex-bc.chen@...iatek.com,
Garmin.Chang@...iatek.com, yangyingliang@...wei.com,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, kernel@...labora.com
Subject: Re: [PATCH 2/2] clk: mediatek: Remove CLK_SET_PARENT from all MSDC
core clocks
Hi Angelo,
On Fri, May 05, 2023 at 11:37:33AM +0200, AngeloGioacchino Del Regno wrote:
> Various MSDC core clocks, used for multiple MSDC controller instances,
> share the same parent(s): in order to add parents selection in the
> mtk-sd driver to achieve an accurate clock rate for all modes, remove
> the CLK_SET_RATE_PARENT flag from all MSDC clocks for all SoCs: this
> will make sure that a clk_set_rate() call performed for a clock on
> a secondary controller will not change the rate of a common parent,
> which would result in an overclock or underclock of one of the
> controllers.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
> ---
> drivers/clk/mediatek/clk-mt6765.c | 12 +++++------
> drivers/clk/mediatek/clk-mt6779.c | 18 ++++++++--------
> drivers/clk/mediatek/clk-mt7981-topckgen.c | 12 +++++------
> drivers/clk/mediatek/clk-mt7986-topckgen.c | 12 +++++------
> drivers/clk/mediatek/clk-mt8173-topckgen.c | 24 +++++++++++-----------
> drivers/clk/mediatek/clk-mt8183.c | 16 +++++++--------
> drivers/clk/mediatek/clk-mt8186-topckgen.c | 12 +++++------
> drivers/clk/mediatek/clk-mt8188-topckgen.c | 16 +++++++--------
> drivers/clk/mediatek/clk-mt8192.c | 17 +++++++--------
> drivers/clk/mediatek/clk-mt8195-topckgen.c | 16 +++++++--------
This is missing clk-mt8365.c as well. Otherwise looks good to me:
Reviewed-by: Markus Schneider-Pargmann <msp@...libre.com>
Best,
Markus
Powered by blists - more mailing lists