linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Allwinner R40 CCU driver
@ 2017-08-12 12:43 Icenowy Zheng
  2017-08-12 12:43 ` [PATCH v4 1/3] clk: sunxi-ng: div: Add support for fixed post-divider Icenowy Zheng
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Icenowy Zheng @ 2017-08-12 12:43 UTC (permalink / raw)
  To: linux-arm-kernel

Allwinner R40 has a CCU like other CCUs after A31, however as it contains
many peripherals (especially SATA), the CCU is complicated.

This patchset adds support for it.

Patch 1 is from Priit's A10/A20 CCU patchset, which is needed for
pll-periph0-sata (like the pll-periph-sata on A10/A20).

Patch 2 adds postdiv support for NKM type clock, which is needed for
pll-sata (with a postdiv of 6).

Patch 3 is the main patch, which adds the support for R40 CCU.

Icenowy Zheng (2):
  clk: sunxi-ng: nkm: add support for fixed post-divider
  clk: sunxi-ng: support R40 SoC

Priit Laes (1):
  clk: sunxi-ng: div: Add support for fixed post-divider

 drivers/clk/sunxi-ng/Kconfig              |    5 +
 drivers/clk/sunxi-ng/Makefile             |    1 +
 drivers/clk/sunxi-ng/ccu-sun8i-r40.c      | 1240 +++++++++++++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun8i-r40.h      |   69 ++
 drivers/clk/sunxi-ng/ccu_div.c            |   22 +-
 drivers/clk/sunxi-ng/ccu_div.h            |    3 +-
 drivers/clk/sunxi-ng/ccu_nkm.c            |   22 +-
 drivers/clk/sunxi-ng/ccu_nkm.h            |    2 +
 include/dt-bindings/clock/sun8i-r40-ccu.h |  187 +++++
 include/dt-bindings/reset/sun8i-r40-ccu.h |  130 +++
 10 files changed, 1674 insertions(+), 7 deletions(-)
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-r40.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-r40.h
 create mode 100644 include/dt-bindings/clock/sun8i-r40-ccu.h
 create mode 100644 include/dt-bindings/reset/sun8i-r40-ccu.h

-- 
2.13.0

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

end of thread, other threads:[~2017-08-15  2:26 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-12 12:43 [PATCH v4 0/3] Allwinner R40 CCU driver Icenowy Zheng
2017-08-12 12:43 ` [PATCH v4 1/3] clk: sunxi-ng: div: Add support for fixed post-divider Icenowy Zheng
2017-08-12 12:49   ` icenowy at aosc.io
2017-08-13  2:50   ` icenowy at aosc.io
2017-08-14 14:37     ` [linux-sunxi] " Chen-Yu Tsai
2017-08-12 12:43 ` [PATCH v4 2/3] clk: sunxi-ng: nkm: add " Icenowy Zheng
2017-08-14 14:46   ` [linux-sunxi] " Chen-Yu Tsai
2017-08-12 12:43 ` [PATCH v4 3/3] clk: sunxi-ng: support R40 SoC Icenowy Zheng
2017-08-14 16:12   ` Chen-Yu Tsai
2017-08-14 16:53     ` icenowy at aosc.io
2017-08-15  2:16       ` [linux-sunxi] " Chen-Yu Tsai
2017-08-15  2:26         ` icenowy at aosc.io

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).