Re: [PATCH 2/2] clk: X1000: Add support for calculat REFCLK of USB PHY.

2020-06-28 Thread Zhou Yanjie
Hi Paul, 在 2020/6/27 上午1:36, Paul Cercueil 写道: Hi Zhou, Le sam. 27 juin 2020 à 0:48, 周琰杰 (Zhou Yanjie) a écrit : Add new functions to "x1000_otg_phy_ops" to calculat the rate of REFCLK, which is needed by USB PHY in the Ingenic X1000 SoC. Tested-by: 周正 (Zhou Zheng) Signed-o

[PATCH v2 1/3] clk: JZ4780: Add functions for enable and disable USB PHY.

2020-06-28 Thread Zhou Yanjie
Add new functions to "jz4780_otg_phy_ops" to enable or disable the USB PHY in the JZ4780 SoC. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v1->v2: 1.Use "WARN()" instead "BUG()". 2.Move the reformat part ot the ne

[PATCH v2 2/3] clk: JZ4780: Reformat the code to align it.

2020-06-28 Thread Zhou Yanjie
Reformat the code (add one level of indentation before the values), to align the code in the macro definition section. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v2: New patch. drivers/clk/ingenic/jz4780-cgu.c | 90

[PATCH v2 3/3] clk: X1000: Add support for calculat REFCLK of USB PHY.

2020-06-28 Thread Zhou Yanjie
Add functions for calculat the rate of REFCLK, which is needed by USB PHY in Ingenic X1000 SoC. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes: v1->v2: 1.Use "WARN()" instead "BUG()". 2.Remove unnecessary get_parent/set_parent functions

[PATCH v2 0/3] Add functions to operate USB PHY related clock.

2020-06-28 Thread Zhou Yanjie
v1->v2: 1.Use "WARN()" instead "BUG()". 2.Move the reformat part ot the new patch. 3.Remove unnecessary get_parent/set_parent functions. 周琰杰 (Zhou Yanjie) (3): clk: JZ4780: Add functions for enable and disable USB PHY. clk: JZ4780: Reformat the code to align it. clk:

[PATCH 0/3] Add support for Ingenic X1830 SoC and Y&A CU1830-Neo board.

2020-06-19 Thread Zhou Yanjie
1.Add support for Ingenic X1830 SoC. 2.Add support for CU1830-Neo development board. CU1830-Neo is a development board using Ingenic X1830 SoC. It comes with 128MiB of RAM. 周琰杰 (Zhou Yanjie) (3): MIPS: Ingenic: Add Ingenic X1830 support. dt-bindings: MIPS: Add Ingenic X1830 based boards

[PATCH 2/3] dt-bindings: MIPS: Add Ingenic X1830 based boards.

2020-06-19 Thread Zhou Yanjie
Add bindings for Ingenic X1830 based board, prepare for later dts. Signed-off-by: 周琰杰 (Zhou Yanjie) --- Documentation/devicetree/bindings/mips/ingenic/devices.yaml | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/mips/ingenic

[PATCH 3/3] MIPS: Ingenic: Add YSH & ATIL CU Neo board support.

2020-06-19 Thread Zhou Yanjie
Add a device tree for the Ingenic X1830 based YSH & ATIL CU Neo board. Signed-off-by: 周琰杰 (Zhou Yanjie) --- arch/mips/boot/dts/ingenic/Makefile | 1 + arch/mips/boot/dts/ingenic/cu1830-neo.dts | 160 ++ arch/mips/configs/cu1830-neo_defconfig|

[PATCH 1/3] MIPS: Ingenic: Add Ingenic X1830 support.

2020-06-19 Thread Zhou Yanjie
Support the Ingenic X1830 SoC using the code under arch/mips/jz4740. This is left unselectable in Kconfig until a X1830 based board is added in a later commit. Signed-off-by: 周琰杰 (Zhou Yanjie) --- arch/mips/boot/dts/ingenic/x1830.dtsi | 300 ++ arch/mips/jz4740

<    2   3   4   5   6   7