v10->v11: Split [3/6] in v10 to [3/7] in v11 and [4/7] in v11. v11->v12: Use "CLK_OF_DECLARE_DRIVER" instead "CLK_OF_DECLARE", this modification was mentioned in the comments, but did not really exist in the patch. Reported-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx> v12->v13: 1.Add Rob Herring's Acked-by for [4/7]. 2.Add "#include <linux/io.h>" for writel/readl. 3.Add a comment on why use "CLK_OF_DECLARE_DRIVER()". Suggested-by: Stephen Boyd <sboyd@xxxxxxxxxx> 周琰杰 (Zhou Yanjie) (7): clk: Ingenic: Remove unnecessary spinlock when reading registers. clk: Ingenic: Adjust cgu code to make it compatible with X1830. dt-bindings: clock: Add documentation for X1830 bindings. dt-bindings: clock: Add X1830 clock bindings. clk: Ingenic: Add CGU driver for X1830. dt-bindings: clock: Add and reorder ABI for X1000. clk: X1000: Add FIXDIV for SSI clock of X1000. .../devicetree/bindings/clock/ingenic,cgu.yaml | 2 + drivers/clk/ingenic/Kconfig | 10 + drivers/clk/ingenic/Makefile | 1 + drivers/clk/ingenic/cgu.c | 28 +- drivers/clk/ingenic/cgu.h | 4 + drivers/clk/ingenic/jz4725b-cgu.c | 4 + drivers/clk/ingenic/jz4740-cgu.c | 4 + drivers/clk/ingenic/jz4770-cgu.c | 8 +- drivers/clk/ingenic/jz4780-cgu.c | 3 + drivers/clk/ingenic/x1000-cgu.c | 123 +++++- drivers/clk/ingenic/x1830-cgu.c | 448 +++++++++++++++++++++ include/dt-bindings/clock/x1000-cgu.h | 64 +-- include/dt-bindings/clock/x1830-cgu.h | 55 +++ 13 files changed, 705 insertions(+), 49 deletions(-) create mode 100644 drivers/clk/ingenic/x1830-cgu.c create mode 100644 include/dt-bindings/clock/x1830-cgu.h -- 2.11.0