Skip to content

clk: sunxi-ng: add the Allwinner B288 CCU

Pablo Mazzini linux-arm-kernel linux-clk linux-devicetree linux-sunxi lkml 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest2 patches 0 repliesNew
  2. v411 patches 6 repliesApplied
  3. v311 patches 8 repliesApplied
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v211 patches10 repliesSuperseded
v111 patches8 repliesSuperseded

Changes in v5 from the cover letter

- rename some clocks and resets to the names the other sunxi-ng bindings use
- build the module as sun8i-b288-ccu, like the other CCUs
- add the CPU PLL and mux notifiers

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: clock: sun4i-a10-ccu: add Allwinner B288Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml include/dt-bindings/clock/sun8i-b288-ccu.h include/dt-bindings/reset/sun8i-b288-ccu.h+128 -00 replies
2/2clk: sunxi-ng: add Allwinner B288 CCU driverdrivers/clk/sunxi-ng/Kconfig drivers/clk/sunxi-ng/Makefile drivers/clk/sunxi-ng/ccu-sun8i-b288.c +1 more+792 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKrzysztof Kozlowski
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] clk: sunxi-ng: add the Allwinner B288 CCU

The Allwinner B288 (sun8iw10p1) is a dual Cortex-A7 SoC used in e-book readers. This adds its CCU.

These are the CCU patches of the B288 series v4, sent on their own so they don't wait for the pin controller. The rest of the series follows later.

The B288 is closest to the A64: most of its PLLs are bit-identical. The clock descriptions come from Allwinner's BSP, cross-checked against ccu-sun50i-a64.c. Tested on a PocketBook Verse (PB629).

Changes since v4:
- rename some clocks and resets to the names the other sunxi-ng bindings use
- build the module as sun8i-b288-ccu, like the other CCUs
- add the CPU PLL and mux notifiers

Pablo Mazzini (2):
dt-bindings: clock: sun4i-a10-ccu: add Allwinner B288
clk: sunxi-ng: add Allwinner B288 CCU driver

 .../clock/allwinner,sun4i-a10-ccu.yaml        |   1 +
 drivers/clk/sunxi-ng/Kconfig                  |   5 +
 drivers/clk/sunxi-ng/Makefile                 |   2 +
 drivers/clk/sunxi-ng/ccu-sun8i-b288.c         | 775 ++++++++++++++++++
 drivers/clk/sunxi-ng/ccu-sun8i-b288.h         |  10 +
 include/dt-bindings/clock/sun8i-b288-ccu.h    |  82 ++
 include/dt-bindings/reset/sun8i-b288-ccu.h    |  45 +
 7 files changed, 920 insertions(+)
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-b288.c
 create mode 100644 drivers/clk/sunxi-ng/ccu-sun8i-b288.h
 create mode 100644 include/dt-bindings/clock/sun8i-b288-ccu.h
 create mode 100644 include/dt-bindings/reset/sun8i-b288-ccu.h

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4

Signature · 1 line
2.52.0