public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] clk/mediatek: Adjustments for MSDC rate accuracy
@ 2023-05-16 13:52 AngeloGioacchino Del Regno
  2023-05-16 13:52 ` [PATCH v2 1/2] clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag AngeloGioacchino Del Regno
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-05-16 13:52 UTC (permalink / raw)
  To: mturquette
  Cc: sboyd, matthias.bgg, angelogioacchino.delregno, wenst,
	chun-jie.chen, mandyjh.liu, miles.chen, zhaojh329, daniel,
	nfraprado, rex-bc.chen, Garmin.Chang, msp, yangyingliang,
	linux-clk, linux-kernel, linux-arm-kernel, linux-mediatek, kernel

Changes in v2:
  - Extended the changes in this series to MT8365 clocks

This series stops unconditionally forcing CLK_SET_RATE_PARENT on
MediaTek muxes, as that should be set in the clock driver for each
clock requiring it, and removes CLK_SET_PARENT from all MSDC core
clocks to allow mtk-sd to select the right clock parent when doing
mclk setting, improving the rate accuracy and avoiding both under
and overclocks of the eMMC/SD/SDIO card, both improving performance
and stability of the attached storage.

This series was successfully tested on MT8173, MT8192, MT8195.

AngeloGioacchino Del Regno (2):
  clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag
  clk: mediatek: Remove CLK_SET_PARENT from all MSDC core clocks

 drivers/clk/mediatek/clk-mt6765.c          | 20 +++++-----
 drivers/clk/mediatek/clk-mt6779.c          | 24 +++++------
 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          | 22 ++++++-----
 drivers/clk/mediatek/clk-mt8186-topckgen.c | 24 +++++------
 drivers/clk/mediatek/clk-mt8188-topckgen.c | 40 +++++++++++--------
 drivers/clk/mediatek/clk-mt8192.c          | 23 +++++------
 drivers/clk/mediatek/clk-mt8195-topckgen.c | 46 +++++++++++++---------
 drivers/clk/mediatek/clk-mt8365.c          | 38 +++++++++---------
 drivers/clk/mediatek/clk-mux.c             |  2 +-
 12 files changed, 155 insertions(+), 132 deletions(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-06-13  1:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-16 13:52 [PATCH v2 0/2] clk/mediatek: Adjustments for MSDC rate accuracy AngeloGioacchino Del Regno
2023-05-16 13:52 ` [PATCH v2 1/2] clk: mediatek: mux: Stop forcing CLK_SET_RATE_PARENT flag AngeloGioacchino Del Regno
2023-05-23 10:54   ` Alexandre Mergnat
2023-06-13  1:20   ` Stephen Boyd
2023-05-16 13:52 ` [PATCH v2 2/2] clk: mediatek: Remove CLK_SET_PARENT from all MSDC core clocks AngeloGioacchino Del Regno
2023-05-23 10:58   ` Alexandre Mergnat
2023-06-13  1:20   ` Stephen Boyd
2023-05-17 16:52 ` [PATCH v2 0/2] clk/mediatek: Adjustments for MSDC rate accuracy Alexandre Mergnat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox