linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] add support for clocks on MT7981 SoC
@ 2023-01-19 14:11 Daniel Golle
  2023-01-19 14:11 ` [PATCH 1/2] dt-bindings: clock: add some compatible strings for MT7981 Daniel Golle
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Daniel Golle @ 2023-01-19 14:11 UTC (permalink / raw)
  To: Michael Turquette, Stephen Boyd, Rob Herring, Krzysztof Kozlowski,
	Matthias Brugger, linux-clk, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek, AngeloGioacchino Del Regno
  Cc: Chen-Yu Tsai, Miles Chen, Edward-JW Yang, Johnson Wang,
	Fabien Parent, Chun-Jie Chen, Sam Shih, Jianhui Zhao

The MediaTek MT7981 SoC is quite similar to its big sibling, the
MT7986. Hence most drivers can be reused and not much is missing the
get also this SoC working on mainline Linux.

Start with a cleaned-up version of the clock drivers, based on what can
also be found in MediaTek's SDK[1].

[1]: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/refs/heads/master/target/linux/mediatek/files-5.4/drivers/clk/mediatek/clk-mt7981.c

Daniel Golle (2):
  dt-bindings: clock: add some compatible strings for MT7981
  clk: mediatek: add MT7981 clock support

 .../bindings/clock/mediatek,apmixedsys.yaml   |   1 +
 .../bindings/clock/mediatek,topckgen.yaml     |   1 +
 drivers/clk/mediatek/Kconfig                  |  17 +
 drivers/clk/mediatek/Makefile                 |   4 +
 drivers/clk/mediatek/clk-mt7981-apmixed.c     | 103 +++++
 drivers/clk/mediatek/clk-mt7981-eth.c         | 138 ++++++
 drivers/clk/mediatek/clk-mt7981-infracfg.c    | 236 ++++++++++
 drivers/clk/mediatek/clk-mt7981-topckgen.c    | 431 ++++++++++++++++++
 include/dt-bindings/clock/mt7981-clk.h        | 215 +++++++++
 9 files changed, 1146 insertions(+)
 create mode 100644 drivers/clk/mediatek/clk-mt7981-apmixed.c
 create mode 100644 drivers/clk/mediatek/clk-mt7981-eth.c
 create mode 100644 drivers/clk/mediatek/clk-mt7981-infracfg.c
 create mode 100644 drivers/clk/mediatek/clk-mt7981-topckgen.c
 create mode 100644 include/dt-bindings/clock/mt7981-clk.h


base-commit: aa5c49149a823599764e6953229b028e4bf6e9cc
-- 
2.39.1


_______________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2023-01-23 21:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-19 14:11 [PATCH 0/2] add support for clocks on MT7981 SoC Daniel Golle
2023-01-19 14:11 ` [PATCH 1/2] dt-bindings: clock: add some compatible strings for MT7981 Daniel Golle
2023-01-19 14:26   ` AngeloGioacchino Del Regno
2023-01-19 14:12 ` [PATCH 2/2] clk: mediatek: add MT7981 clock support Daniel Golle
2023-01-19 14:29   ` AngeloGioacchino Del Regno
2023-01-23 21:23 ` [PATCH 1/2] dt-bindings: clock: add some compatible strings for MT7981 Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).