Linux clock framework development
 help / color / mirror / Atom feed
* [PATCH 0/3] Add support for the R_CCU on Allwinner H3/A64 SoCs
@ 2017-03-01  4:15 Icenowy Zheng
  2017-03-01  4:15 ` [PATCH 1/3] dt-bindings: update device tree binding for Allwinner PRCM CCUs Icenowy Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Icenowy Zheng @ 2017-03-01  4:15 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai
  Cc: devicetree, linux-kernel, linux-sunxi, Icenowy Zheng, linux-clk,
	linux-arm-kernel

Allwinner SoCs after sun6i-a31 nearly all have a R_CCU in PRCM part.
(V3s and R40 do not have it, as they have even no PRCM)

This patch adds support for the ones on H3/A64.

Some clock/reset values are reserved for easier extending the support to
A31/A23, but for this I think some changes to the PRCM MFD should be made,
see [1] (Although this is only a sketch).

[1] https://github.com/wens/linux/commits/sunxi-ng-prcm

Icenowy Zheng (3):
  dt-bindings: update device tree binding for Allwinner PRCM CCUs
  clk: sunxi-ng: add support for PRCM CCUs
  arm64: dts: allwinner: add r_ccu node

 .../devicetree/bindings/clock/sunxi-ccu.txt        |   2 +
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi      |  11 ++
 drivers/clk/sunxi-ng/Kconfig                       |   6 +
 drivers/clk/sunxi-ng/Makefile                      |   1 +
 drivers/clk/sunxi-ng/ccu-sun6i-r.c                 | 209 +++++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun6i-r.h                 |  27 +++
 include/dt-bindings/clock/sun6i-r-ccu.h            |  58 ++++++
 include/dt-bindings/reset/sun6i-r-ccu.h            |  54 ++++++
 8 files changed, 368 insertions(+)
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun6i-r.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun6i-r.h
 create mode 100644 include/dt-bindings/clock/sun6i-r-ccu.h
 create mode 100644 include/dt-bindings/reset/sun6i-r-ccu.h

-- 
2.11.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
[parent not found: <20170301152236.MUXmRgOe@smtp1m.mail.yandex.net>]

end of thread, other threads:[~2017-03-02 14:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-01  4:15 [PATCH 0/3] Add support for the R_CCU on Allwinner H3/A64 SoCs Icenowy Zheng
2017-03-01  4:15 ` [PATCH 1/3] dt-bindings: update device tree binding for Allwinner PRCM CCUs Icenowy Zheng
2017-03-01  4:15 ` [PATCH 2/3] clk: sunxi-ng: add support for " Icenowy Zheng
2017-03-01 10:47   ` Maxime Ripard
2017-03-01  4:15 ` [PATCH 3/3] arm64: dts: allwinner: add r_ccu node Icenowy Zheng
     [not found] <20170301152236.MUXmRgOe@smtp1m.mail.yandex.net>
2017-03-02 14:09 ` [PATCH 2/3] clk: sunxi-ng: add support for PRCM CCUs Maxime Ripard

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