mbox series

[v2,0/6] clk: sunxi-ng: Allwinner R528/T113 clock support

Message ID 20221231231429.18357-1-samuel@sholland.org (mailing list archive)
Headers show
Series clk: sunxi-ng: Allwinner R528/T113 clock support | expand

Message

Samuel Holland Dec. 31, 2022, 11:14 p.m. UTC
R528 and T113 are SoCs based on the same design as D1/D1s, but with ARM
CPUs instead of RISC-V. They use the same CCU implementation, meaning
the CCU has gates/resets for all peripherals present on any SoC in this
family. I verified the CAN bus bits are also present on D1/D1s.

Patches 1-2 clean up the Kconfig in preparation for patch 3, which
allows building the driver. Patches 4-6 add the missing binding header
and driver bits.

Changes in v2:
 - Expand commit message
 - Move dt-bindings header changes to a separate patch

András Szemző (1):
  clk: sunxi-ng: d1: Mark cpux clock as critical

Fabien Poussin (1):
  clk: sunxi-ng: d1: Add CAN bus gates and resets

Samuel Holland (4):
  clk: sunxi-ng: Remove duplicate ARCH_SUNXI dependencies
  clk: sunxi-ng: Move SoC driver conditions to dependencies
  clk: sunxi-ng: d1: Allow building for R528/T113
  dt-bindings: clock: Add D1 CAN bus gates and resets

 drivers/clk/sunxi-ng/Kconfig              | 71 ++++++++++++-----------
 drivers/clk/sunxi-ng/ccu-sun20i-d1.c      | 13 ++++-
 drivers/clk/sunxi-ng/ccu-sun20i-d1.h      |  2 +-
 include/dt-bindings/clock/sun20i-d1-ccu.h |  2 +
 include/dt-bindings/reset/sun20i-d1-ccu.h |  2 +
 5 files changed, 53 insertions(+), 37 deletions(-)

Comments

Jernej Škrabec Jan. 8, 2023, 9:06 p.m. UTC | #1
Dne nedelja, 01. januar 2023 ob 00:14:23 CET je Samuel Holland napisal(a):
> R528 and T113 are SoCs based on the same design as D1/D1s, but with ARM
> CPUs instead of RISC-V. They use the same CCU implementation, meaning
> the CCU has gates/resets for all peripherals present on any SoC in this
> family. I verified the CAN bus bits are also present on D1/D1s.
> 
> Patches 1-2 clean up the Kconfig in preparation for patch 3, which
> allows building the driver. Patches 4-6 add the missing binding header
> and driver bits.
> 
> Changes in v2:
>  - Expand commit message
>  - Move dt-bindings header changes to a separate patch
> 
> András Szemző (1):
>   clk: sunxi-ng: d1: Mark cpux clock as critical
> 
> Fabien Poussin (1):
>   clk: sunxi-ng: d1: Add CAN bus gates and resets
> 
> Samuel Holland (4):
>   clk: sunxi-ng: Remove duplicate ARCH_SUNXI dependencies
>   clk: sunxi-ng: Move SoC driver conditions to dependencies
>   clk: sunxi-ng: d1: Allow building for R528/T113
>   dt-bindings: clock: Add D1 CAN bus gates and resets
> 
>  drivers/clk/sunxi-ng/Kconfig              | 71 ++++++++++++-----------
>  drivers/clk/sunxi-ng/ccu-sun20i-d1.c      | 13 ++++-
>  drivers/clk/sunxi-ng/ccu-sun20i-d1.h      |  2 +-
>  include/dt-bindings/clock/sun20i-d1-ccu.h |  2 +
>  include/dt-bindings/reset/sun20i-d1-ccu.h |  2 +
>  5 files changed, 53 insertions(+), 37 deletions(-)

Applied, thanks!

Best regards,
Jernej