Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add MT7629 RTC clock selection
@ 2026-11-20 14:41 Chuanhong Guo
  2026-11-20 14:41 ` [PATCH v2 1/3] clk: mediatek: mt7629: move clock counts out of DT bindings Chuanhong Guo
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Chuanhong Guo @ 2026-11-20 14:41 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno, Stephen Boyd, Brian Masney,
	Jerome Brunet, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Matthias Brugger
  Cc: linux-clk, linux-mediatek, devicetree, linux-kernel,
	linux-arm-kernel, Chuanhong Guo

The MT7629 RTC mux can select the 40 MHz crystal divided by 1024 or
1221. The integrated Wi-Fi needs the /1221 source, but the clock
driver currently exposes only the /1024 source.

First move the clock counts used by clk-mt7629.c out of the DT binding
header and into the driver. Then add clock IDs, the /1221 fixed-factor
clock and the RTC mux to allow selection of the approximately 32.76 kHz
source from device tree.

---
Changes in v2:
- Add a preparatory patch to move the TOP, INFRA, PERI and APMIXED
  clock counts from the DT binding header into clk-mt7629.c.
- Update CLK_TOP_NR_CLK in the driver patch instead of the binding patch.
- Rebase onto next-20261119.
- Link to v1: https://lore.kernel.org/r/20261006-b4-mt7629-rtc-v1-0-e556386df816@gmail.com

---
Chuanhong Guo (3):
      clk: mediatek: mt7629: move clock counts out of DT bindings
      dt-bindings: clock: mediatek: mt7629: add RTC clock IDs
      clk: mediatek: mt7629: add RTC clock selection

 drivers/clk/mediatek/clk-mt7629.c      | 12 ++++++++++++
 include/dt-bindings/clock/mt7629-clk.h |  6 ++----
 2 files changed, 14 insertions(+), 4 deletions(-)
---
base-commit: adcad7f4e6332cff3d6d7165f41584899f598534
change-id: 20260926-b4-mt7629-rtc-7488fa94b1ab

Best regards,
-- 
Chuanhong Guo <gch981213@gmail.com>



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

end of thread, other threads:[~2026-11-20 14:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-20 14:41 [PATCH v2 0/3] Add MT7629 RTC clock selection Chuanhong Guo
2026-11-20 14:41 ` [PATCH v2 1/3] clk: mediatek: mt7629: move clock counts out of DT bindings Chuanhong Guo
2026-11-20 14:41 ` [PATCH v2 2/3] dt-bindings: clock: mediatek: mt7629: add RTC clock IDs Chuanhong Guo
2026-11-20 14:41 ` [PATCH v2 3/3] clk: mediatek: mt7629: add RTC clock selection Chuanhong Guo

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