Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] clk: samsung: introduce nMUX to reparent MUX clocks
@ 2024-02-29 12:20 Tudor Ambarus
  2024-02-29 12:20 ` [PATCH 1/4] clk: samsung: introduce nMUX for MUX clks that can reparented Tudor Ambarus
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Tudor Ambarus @ 2024-02-29 12:20 UTC (permalink / raw)
  To: krzysztof.kozlowski, s.nawrocki, cw00.choi, semen.protsenko
  Cc: alim.akhtar, mturquette, sboyd, peter.griffin, andre.draszik,
	linux-samsung-soc, linux-clk, linux-arm-kernel, linux-kernel,
	willmcvicker, kernel-team, Tudor Ambarus

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2024-03-25  7:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-29 12:20 [PATCH 0/4] clk: samsung: introduce nMUX to reparent MUX clocks Tudor Ambarus
2024-02-29 12:20 ` [PATCH 1/4] clk: samsung: introduce nMUX for MUX clks that can reparented Tudor Ambarus
2024-02-29 12:20 ` [PATCH 2/4] clk: samsung: gs101: propagate PERIC1 USI SPI clock rate Tudor Ambarus
2024-02-29 12:20 ` [PATCH 3/4] clk: samsung: gs101: propagate PERIC0 " Tudor Ambarus
2024-02-29 12:20 ` [PATCH 4/4] clk: samsung: exynos850: fix propagation of SPI IPCLK rate Tudor Ambarus
2024-03-01  0:13   ` Sam Protsenko
2024-03-01 11:28     ` Tudor Ambarus
2024-03-22  9:39     ` Tudor Ambarus
2024-03-22 18:09       ` Sam Protsenko
2024-03-25  7:15         ` Tudor Ambarus

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