linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/9] arm64: Allwinner A64 support based on sunxi-ng
@ 2016-10-11 14:28 Maxime Ripard
  2016-10-11 14:28 ` [PATCH v4 1/9] clk: sunxi-ng: Rename the internal structures Maxime Ripard
                   ` (8 more replies)
  0 siblings, 9 replies; 29+ messages in thread
From: Maxime Ripard @ 2016-10-11 14:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

As it was in the first iteration, this is the A64 support based on the
new sunxi-ng clock framework.

The support for it is quite minimal at the moment, but it should be
fairly easy to add new devices, as most of the design is shared with
older SoCs.

Let me know what you think,
Maxime

Changes from v3:
  - Fix patch split

Changes from v2:
  - Added pull-ups on the Pine64 i2c bus
  - Removed the PMU since it doesn't work
  - Refactored the sunxi-ng framework to deal with the specifities of
    the A64 CCU, especially in terms of minimum factors.
  - Fixed a few things in the CCU driver: added CLK_SET_RATE PARENT
    flags, fixed some mux width, etc.
  - Converted the CCU driver to a platform driver
  - Added the DRAM reset line
  - Added IDs for the USB muxes (even though we're not using them yet)

Changes from v1:
  - Split the A64 CCU support out of the H3 driver
  - Added the PMU support
  - Removed the clocks node
  - Rebased on top of current sunxi/clk-for-4.9 branch

Andre Przywara (3):
  arm64: dts: add Allwinner A64 SoC .dtsi
  Documentation: devicetree: add vendor prefix for Pine64
  arm64: dts: add Pine64 support

Maxime Ripard (6):
  clk: sunxi-ng: Rename the internal structures
  clk: sunxi-ng: Remove the use of rational computations
  clk: sunxi-ng: Finish to convert to structures for arguments
  clk: sunxi-ng: Add minimums for all the relevant structures and clocks
  clk: sunxi-ng: Implement minimum for multipliers
  clk: sunxi-ng: Add A64 clocks

 Documentation/devicetree/bindings/arm/sunxi.txt          |   1 +-
 Documentation/devicetree/bindings/clock/sunxi-ccu.txt    |   1 +-
 Documentation/devicetree/bindings/vendor-prefixes.txt    |   1 +-
 MAINTAINERS                                              |   1 +-
 arch/arm64/boot/dts/Makefile                             |   1 +-
 arch/arm64/boot/dts/allwinner/Makefile                   |   5 +-
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts |  50 +-
 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts      |  74 +-
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi            | 263 ++-
 drivers/clk/sunxi-ng/Kconfig                             |  14 +-
 drivers/clk/sunxi-ng/Makefile                            |   1 +-
 drivers/clk/sunxi-ng/ccu-sun50i-a64.c                    | 918 ++++++++-
 drivers/clk/sunxi-ng/ccu-sun50i-a64.h                    |  72 +-
 drivers/clk/sunxi-ng/ccu_div.h                           |   6 +-
 drivers/clk/sunxi-ng/ccu_frac.c                          |  12 +-
 drivers/clk/sunxi-ng/ccu_frac.h                          |  14 +-
 drivers/clk/sunxi-ng/ccu_mp.h                            |   4 +-
 drivers/clk/sunxi-ng/ccu_mult.c                          |  33 +-
 drivers/clk/sunxi-ng/ccu_mult.h                          |  17 +-
 drivers/clk/sunxi-ng/ccu_nk.c                            |  43 +-
 drivers/clk/sunxi-ng/ccu_nk.h                            |   4 +-
 drivers/clk/sunxi-ng/ccu_nkm.c                           |  45 +-
 drivers/clk/sunxi-ng/ccu_nkm.h                           |   6 +-
 drivers/clk/sunxi-ng/ccu_nkmp.c                          |  55 +-
 drivers/clk/sunxi-ng/ccu_nkmp.h                          |   8 +-
 drivers/clk/sunxi-ng/ccu_nm.c                            |  58 +-
 drivers/clk/sunxi-ng/ccu_nm.h                            |   6 +-
 include/dt-bindings/clock/sun50i-a64-ccu.h               | 134 +-
 include/dt-bindings/reset/sun50i-a64-ccu.h               |  98 +-
 29 files changed, 1824 insertions(+), 121 deletions(-)
 create mode 100644 arch/arm64/boot/dts/allwinner/Makefile
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
 create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a64.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun50i-a64.h
 create mode 100644 include/dt-bindings/clock/sun50i-a64-ccu.h
 create mode 100644 include/dt-bindings/reset/sun50i-a64-ccu.h

-- 
git-series 0.8.10

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

end of thread, other threads:[~2016-10-24 16:03 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-11 14:28 [PATCH v4 0/9] arm64: Allwinner A64 support based on sunxi-ng Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 1/9] clk: sunxi-ng: Rename the internal structures Maxime Ripard
2016-10-20 14:27   ` [linux-sunxi] " Chen-Yu Tsai
2016-10-20 17:24     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 2/9] clk: sunxi-ng: Remove the use of rational computations Maxime Ripard
2016-10-20 14:30   ` Chen-Yu Tsai
2016-10-20 17:26     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 3/9] clk: sunxi-ng: Finish to convert to structures for arguments Maxime Ripard
2016-10-20 14:35   ` Chen-Yu Tsai
2016-10-20 17:26     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 4/9] clk: sunxi-ng: Add minimums for all the relevant structures and clocks Maxime Ripard
2016-10-20 15:04   ` Chen-Yu Tsai
2016-10-20 17:27     ` Maxime Ripard
2016-10-21 22:57   ` André Przywara
2016-10-24 16:03     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 5/9] clk: sunxi-ng: Implement minimum for multipliers Maxime Ripard
2016-10-20 15:06   ` Chen-Yu Tsai
2016-10-20 17:30     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 6/9] clk: sunxi-ng: Add A64 clocks Maxime Ripard
2016-10-20 15:50   ` [linux-sunxi] " Chen-Yu Tsai
2016-10-20 17:47     ` Maxime Ripard
2016-10-20 18:46   ` Stephen Boyd
2016-10-24 15:05     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 7/9] arm64: dts: add Allwinner A64 SoC .dtsi Maxime Ripard
2016-10-20 15:14   ` [linux-sunxi] " Chen-Yu Tsai
2016-10-20 17:49     ` Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 8/9] Documentation: devicetree: add vendor prefix for Pine64 Maxime Ripard
2016-10-11 14:28 ` [PATCH v4 9/9] arm64: dts: add Pine64 support Maxime Ripard
2016-10-20 15:17   ` [linux-sunxi] " Chen-Yu Tsai

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