[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240229122021.1901785-1-tudor.ambarus@linaro.org>
Date: Thu, 29 Feb 2024 12:20:17 +0000
From: Tudor Ambarus <tudor.ambarus@...aro.org>
To: krzysztof.kozlowski@...aro.org,
s.nawrocki@...sung.com,
cw00.choi@...sung.com,
semen.protsenko@...aro.org
Cc: alim.akhtar@...sung.com,
mturquette@...libre.com,
sboyd@...nel.org,
peter.griffin@...aro.org,
andre.draszik@...aro.org,
linux-samsung-soc@...r.kernel.org,
linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
willmcvicker@...gle.com,
kernel-team@...roid.com,
Tudor Ambarus <tudor.ambarus@...aro.org>
Subject: [PATCH 0/4] clk: samsung: introduce nMUX to reparent MUX clocks
Introduce nMUX() for MUX clocks that can be reparented. There are MUX
clocks that are dedicated per IP. The reparenting of the MUX is
safe without affecting other IPs.
Follow with 2 patches for GS101 to propagate the USI SPI clock rate. nMUX
is used in GS101 to reparent the USI MUX to oscclk. Tested with USI6 and
USI13 SPI.
Fix USI SPI clock propagation in exynos850 by allowing MUX reparenting
for the dedicated USI MUX clocks. Stop propagating the rate change from
the USI muxes to the common bus dividers (dout_apm_bus and dout_peri_ip).
Other leaf clocks (HSI2C, I3C) are no longer affected on SPI rate
change. USI SPI clock range remains the same. Exynos850 patch is not
tested!
All 4 patches can go as fixes, since they fix the clock rate range for
gs101, and stop affecting other leaf clocks for exynos850. I don't mind
however if K choses to queue these for next.
Tudor Ambarus (4):
clk: samsung: introduce nMUX for MUX clks that can reparented
clk: samsung: gs101: propagate PERIC1 USI SPI clock rate
clk: samsung: gs101: propagate PERIC0 USI SPI clock rate
clk: samsung: exynos850: fix propagation of SPI IPCLK rate
drivers/clk/samsung/clk-exynos850.c | 15 +-
drivers/clk/samsung/clk-gs101.c | 225 +++++++++++++++-------------
drivers/clk/samsung/clk.h | 20 +++
3 files changed, 147 insertions(+), 113 deletions(-)
--
2.44.0.278.ge034bb2e1d-goog
Powered by blists - more mailing lists