mbox series

[v7,00/11] Add new clocks and fix bugs for Ingenic SoCs.

Message ID 1627119286-125821-1-git-send-email-zhouyanjie@wanyeetech.com (mailing list archive)
Headers show
Series Add new clocks and fix bugs for Ingenic SoCs. | expand

Message

Zhou Yanjie July 24, 2021, 9:34 a.m. UTC
v4->v5:
1.modify the CGU PLL correlation code to make it compatible with I2S PLL.
2.Change X1000's I2S clock to CGU_CLK_PLL as Paul Cercueil's suggestion.
3.Add documentation for JZ4775 and X2000 bindings.
4.Add JZ4775 and X2000 clock bindings.
5.Add CGU driver for JZ4775 and X2000.

v5->v6:
Change the type of stable_bit from u8 to s8, because a negative value will
appear when the stable_bit bit does not exist.

v6->v7:
1.Add Rob Herring's Acked-by.
2.Change to dual license.

周琰杰 (Zhou Yanjie) (11):
  clk: JZ4780: Add function for disable the second core.
  clk: Ingenic: Adjust cgu code to make it compatible with I2S PLL.
  dt-bindings: clock: Add missing clocks for Ingenic SoCs.
  clk: Ingenic: Fix problem of MAC clock in Ingenic X1000 and X1830.
  clk: Ingenic: Add missing clocks for Ingenic SoCs.
  clk: Ingenic: Clean up and reformat the code.
  dt-bindings: clock: Add documentation for JZ4775 and X2000 bindings.
  dt-bindings: clock: Add JZ4775 clock bindings.
  dt-bindings: clock: Add X2000 clock bindings.
  clk: Ingenic: Add CGU driver for JZ4775.
  clk: Ingenic: Add CGU driver for X2000.

 .../devicetree/bindings/clock/ingenic,cgu.yaml     |   4 +
 drivers/clk/ingenic/Kconfig                        |  20 +
 drivers/clk/ingenic/Makefile                       |   2 +
 drivers/clk/ingenic/cgu.c                          | 118 ++-
 drivers/clk/ingenic/cgu.h                          |  10 +-
 drivers/clk/ingenic/jz4725b-cgu.c                  |  49 +-
 drivers/clk/ingenic/jz4740-cgu.c                   |  49 +-
 drivers/clk/ingenic/jz4760-cgu.c                   | 106 ++-
 drivers/clk/ingenic/jz4770-cgu.c                   |  83 +--
 drivers/clk/ingenic/jz4775-cgu.c                   | 572 +++++++++++++++
 drivers/clk/ingenic/jz4780-cgu.c                   | 149 ++--
 drivers/clk/ingenic/x1000-cgu.c                    | 210 ++++--
 drivers/clk/ingenic/x1830-cgu.c                    | 210 ++++--
 drivers/clk/ingenic/x2000-cgu.c                    | 790 +++++++++++++++++++++
 include/dt-bindings/clock/jz4775-cgu.h             |  59 ++
 include/dt-bindings/clock/x1000-cgu.h              |   5 +
 include/dt-bindings/clock/x1830-cgu.h              |   5 +
 include/dt-bindings/clock/x2000-cgu.h              |  89 +++
 18 files changed, 2210 insertions(+), 320 deletions(-)
 create mode 100644 drivers/clk/ingenic/jz4775-cgu.c
 create mode 100644 drivers/clk/ingenic/x2000-cgu.c
 create mode 100644 include/dt-bindings/clock/jz4775-cgu.h
 create mode 100644 include/dt-bindings/clock/x2000-cgu.h

Comments

Zhou Yanjie Aug. 19, 2021, 6:44 a.m. UTC | #1
Hi,


A gentle ping :)


On 2021/7/24 下午5:34, 周琰杰 (Zhou Yanjie) wrote:
> v4->v5:
> 1.modify the CGU PLL correlation code to make it compatible with I2S PLL.
> 2.Change X1000's I2S clock to CGU_CLK_PLL as Paul Cercueil's suggestion.
> 3.Add documentation for JZ4775 and X2000 bindings.
> 4.Add JZ4775 and X2000 clock bindings.
> 5.Add CGU driver for JZ4775 and X2000.
>
> v5->v6:
> Change the type of stable_bit from u8 to s8, because a negative value will
> appear when the stable_bit bit does not exist.
>
> v6->v7:
> 1.Add Rob Herring's Acked-by.
> 2.Change to dual license.
>
> 周琰杰 (Zhou Yanjie) (11):
>    clk: JZ4780: Add function for disable the second core.
>    clk: Ingenic: Adjust cgu code to make it compatible with I2S PLL.
>    dt-bindings: clock: Add missing clocks for Ingenic SoCs.
>    clk: Ingenic: Fix problem of MAC clock in Ingenic X1000 and X1830.
>    clk: Ingenic: Add missing clocks for Ingenic SoCs.
>    clk: Ingenic: Clean up and reformat the code.
>    dt-bindings: clock: Add documentation for JZ4775 and X2000 bindings.
>    dt-bindings: clock: Add JZ4775 clock bindings.
>    dt-bindings: clock: Add X2000 clock bindings.
>    clk: Ingenic: Add CGU driver for JZ4775.
>    clk: Ingenic: Add CGU driver for X2000.
>
>   .../devicetree/bindings/clock/ingenic,cgu.yaml     |   4 +
>   drivers/clk/ingenic/Kconfig                        |  20 +
>   drivers/clk/ingenic/Makefile                       |   2 +
>   drivers/clk/ingenic/cgu.c                          | 118 ++-
>   drivers/clk/ingenic/cgu.h                          |  10 +-
>   drivers/clk/ingenic/jz4725b-cgu.c                  |  49 +-
>   drivers/clk/ingenic/jz4740-cgu.c                   |  49 +-
>   drivers/clk/ingenic/jz4760-cgu.c                   | 106 ++-
>   drivers/clk/ingenic/jz4770-cgu.c                   |  83 +--
>   drivers/clk/ingenic/jz4775-cgu.c                   | 572 +++++++++++++++
>   drivers/clk/ingenic/jz4780-cgu.c                   | 149 ++--
>   drivers/clk/ingenic/x1000-cgu.c                    | 210 ++++--
>   drivers/clk/ingenic/x1830-cgu.c                    | 210 ++++--
>   drivers/clk/ingenic/x2000-cgu.c                    | 790 +++++++++++++++++++++
>   include/dt-bindings/clock/jz4775-cgu.h             |  59 ++
>   include/dt-bindings/clock/x1000-cgu.h              |   5 +
>   include/dt-bindings/clock/x1830-cgu.h              |   5 +
>   include/dt-bindings/clock/x2000-cgu.h              |  89 +++
>   18 files changed, 2210 insertions(+), 320 deletions(-)
>   create mode 100644 drivers/clk/ingenic/jz4775-cgu.c
>   create mode 100644 drivers/clk/ingenic/x2000-cgu.c
>   create mode 100644 include/dt-bindings/clock/jz4775-cgu.h
>   create mode 100644 include/dt-bindings/clock/x2000-cgu.h
>