[PATCH 0/2] add support for clocks on MT7981 SoC

Daniel Golle posted 2 patches 1 year, 9 months ago
There is a newer version of this series
.../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
[PATCH 0/2] add support for clocks on MT7981 SoC
Posted by Daniel Golle 1 year, 9 months ago
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
Re: [PATCH 1/2] dt-bindings: clock: add some compatible strings for MT7981
Posted by Rob Herring 1 year, 9 months ago
On Thu, 19 Jan 2023 14:11:35 +0000, Daniel Golle wrote:
> Add compatible strings for MT7981 to existing binding documenation
> at mediatek,apmixedsys.yaml and mediatek,topckgen.yaml.
> 
> Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
> ---
>  Documentation/devicetree/bindings/clock/mediatek,apmixedsys.yaml | 1 +
>  Documentation/devicetree/bindings/clock/mediatek,topckgen.yaml   | 1 +
>  2 files changed, 2 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>