Add Ingenic JZ4755 CGU driver
Subsystems (3)
v7 cover Add Ingenic JZ4755 CGU driver
This patch series adds a Clock Generation Unit (CGU) driver for the JZ4755 SoC.
v7:
- drop already applied patches
- remove unused macros'
- add explanation why CLK_OF_DECLARE_DRIVER used
v6:
- polish parent clock declarations
- reparent "not sure" BCH clock to H1CLK
- ack collected
v5:
- reword commit msg for documentation
- reword cover letter
v4:
- absent commit msg fixed
- +/- ack
v3:
- MACH_JZ4755 creation removed
- AIC clock parent fixed
- EXT/512 clock clarified (tested)
- dt header license refined
v2:
- CGU patches moved into its own patchset
- dual license for dt-bindings header
- Krzysztof's ack picked up
v1:
- adds support for the whole JZ4755
Siarhei Volkau (1):
clk: Add Ingenic JZ4755 CGU driver
drivers/clk/ingenic/Kconfig | 10 + drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/jz4755-cgu.c | 346 +++++++++++++++++++++++++++++++ 3 files changed, 357 insertions(+) create mode 100644 drivers/clk/ingenic/jz4755-cgu.c
Signature · 1 line
2.36.1
PATCH v7 1/1 clk: Add Ingenic JZ4755 CGU driver
Add support for the clocks provided by the CGU in the Ingenic JZ4755 SoC.
--- drivers/clk/ingenic/Kconfig | 10 + drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/jz4755-cgu.c | 346 +++++++++++++++++++++++++++++++ 3 files changed, 357 insertions(+) create mode 100644 drivers/clk/ingenic/jz4755-cgu.c
drivers/clk/ingenic/Kconfig +10 -0
@@ -15,6 +15,16 @@ config INGENIC_CGU_JZ4740 If building for a JZ4740 SoC, you want to say Y here. +config INGENIC_CGU_JZ4755 + bool "Ingenic JZ4755 CGU driver" + default MACH_JZ4755 + select INGENIC_CGU_COMMON + help + Support the clocks provided by the CGU hardware on Ingenic JZ4755 + and compatible SoCs. + + If building for a JZ4755 SoC, you want to say Y here. + config INGENIC_CGU_JZ4725B bool "Ingenic JZ4725B CGU driver" default MACH_JZ4725B
drivers/clk/ingenic/Makefile +1 -0
@@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_INGENIC_CGU_COMMON) += cgu.o pm.o obj-$(CONFIG_INGENIC_CGU_JZ4740) += jz4740-cgu.o +obj-$(CONFIG_INGENIC_CGU_JZ4755) += jz4755-cgu.o obj-$(CONFIG_INGENIC_CGU_JZ4725B) += jz4725b-cgu.o obj-$(CONFIG_INGENIC_CGU_JZ4760) += jz4760-cgu.o obj-$(CONFIG_INGENIC_CGU_JZ4770) += jz4770-cgu.o
drivers/clk/ingenic/jz4755-cgu.c new file +346 -0
346 lines not on this page · raw message
Signature · 1 line
2.36.1
Re: [PATCH v7 1/1] clk: Add Ingenic JZ4755 CGU driver
Quoting Siarhei Volkau (2022-10-31 11:39:29)
Quoted 5 lines
Add support for the clocks provided by the CGU in the Ingenic JZ4755 SoC.
Signed-off-by Siarhei Volkau <[email protected]>---
Applied to clk-next