Re: [PATCH v2 1/3] dt-bindings: clock: meson: add A1 clock controller bindings

2019-10-21 Thread Jian Hu
Hi, Jerome Thanks for your review. On 2019/10/21 18:43, Jerome Brunet wrote: On Fri 18 Oct 2019 at 09:14, Jian Hu wrote: Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings. Signed-off-by: Jian Hu --- .../devicetree/bindings/clock/amlogic,a1

[PATCH v2 1/3] dt-bindings: clock: meson: add A1 clock controller bindings

2019-10-18 Thread Jian Hu
Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings. Signed-off-by: Jian Hu --- .../devicetree/bindings/clock/amlogic,a1-clkc.yaml | 143 + include/dt-bindings/clock/a1-clkc.h| 98 ++ include/dt-bindings

[PATCH v2 2/3] clk: meson: add support for A1 PLL clock ops

2019-10-18 Thread Jian Hu
-by: Jian Hu --- drivers/clk/meson/clk-pll.c | 66 - drivers/clk/meson/clk-pll.h | 1 + 2 files changed, 61 insertions(+), 6 deletions(-) diff --git a/drivers/clk/meson/clk-pll.c b/drivers/clk/meson/clk-pll.c index ddb1e56..b440e62 100644 --- a/drivers

[PATCH v2 3/3] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-18 Thread Jian Hu
The Amlogic A1 clock includes three drivers: peripheral clocks, pll clocks, CPU clocks. sys pll and CPU clocks will be sent in next patch. Unlike the previous series, there is no EE/AO domain in A1 CLK controllers. Signed-off-by: Jian Hu --- drivers/clk/meson/Kconfig | 10 + drivers/clk

[PATCH v2 0/3] add Amlogic A1 clock controller driver

2019-10-18 Thread Jian Hu
/1569411888-98116-1-git-send-email-jian...@amlogic.com Jian Hu (3): dt-bindings: clock: meson: add A1 clock controller bindings clk: meson: add support for A1 PLL clock ops clk: meson: a1: add support for Amlogic A1 clock driver .../devicetree/bindings/clock/amlogic,a1-clkc.yaml | 143

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-17 Thread Jian Hu
Hi, jerome On 2019/10/14 22:55, Jerome Brunet wrote: On Mon 14 Oct 2019 at 15:42, Jian Hu wrote: if peripheral clocks probe first, it will fail to get fixed_pll clocks. A lot of peripheral clocks parent are fclk_div2/3/5/7. and we can not get fclk_div2/3/5/7 clocks. What does "fail&

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-14 Thread Jian Hu
Hi, Jerome sorry, it's my problem. I did not discribe clearly the issue. On 2019/10/11 15:39, Jerome Brunet wrote: On Tue 08 Oct 2019 at 10:03, Jian Hu wrote: Hi, Jerome PLL clocks and peripheral clocks rely on each other. for fixed_pll, we can describe its parent like this: xtal

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-10-08 Thread Jian Hu
al_fixpll, xtal_hifipll. that is to say, do not decribe the SYS_OSCIN_CTRL register. 2) Put peripheral and pll clock driver in one driver. And which sulution is better above two? Or maybe other good ideas for it? On 2019/9/29 17:38, Jian Hu wrote: On 2019/9/27 21:32, Jerome Brunet wrote:

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-09-29 Thread Jian Hu
On 2019/9/27 21:32, Jerome Brunet wrote: On Fri 27 Sep 2019 at 11:52, Jian Hu wrote: Hi, Jerome Thank you for review. On 2019/9/25 23:09, Jerome Brunet wrote: On Wed 25 Sep 2019 at 19:44, Jian Hu wrote: The Amlogic A1 clock includes three parts: peripheral clocks, pll clocks, CPU

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-09-29 Thread Jian Hu
On 2019/9/27 20:56, Jerome Brunet wrote: On Fri 27 Sep 2019 at 05:11, Jian Hu wrote: Hi, Stephen Thank you for review On 2019/9/25 21:12, Stephen Boyd wrote: Quoting Jian Hu (2019-09-25 04:44:48) The Amlogic A1 clock includes three parts: peripheral clocks, pll clocks, CPU clocks. sys

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-09-27 Thread Jian Hu
Hi, Jerome Thank you for review. On 2019/9/25 23:09, Jerome Brunet wrote: On Wed 25 Sep 2019 at 19:44, Jian Hu wrote: The Amlogic A1 clock includes three parts: peripheral clocks, pll clocks, CPU clocks. sys pll and CPU clocks will be sent in next patch. Unlike the previous series

Re: [PATCH 1/2] dt-bindings: clock: meson: add A1 clock controller bindings

2019-09-27 Thread Jian Hu
Hi, Jerome Thank you for review. On 2019/9/25 22:29, Jerome Brunet wrote: On Wed 25 Sep 2019 at 19:44, Jian Hu wrote: In addition to the comment expressed by Stephen on patch 2 got it. Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings. Signed

Re: [PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-09-26 Thread Jian Hu
Hi, Stephen Thank you for review On 2019/9/25 21:12, Stephen Boyd wrote: Quoting Jian Hu (2019-09-25 04:44:48) The Amlogic A1 clock includes three parts: peripheral clocks, pll clocks, CPU clocks. sys pll and CPU clocks will be sent in next patch. Unlike the previous series, there is no EE

[PATCH 2/2] clk: meson: a1: add support for Amlogic A1 clock driver

2019-09-25 Thread Jian Hu
The Amlogic A1 clock includes three parts: peripheral clocks, pll clocks, CPU clocks. sys pll and CPU clocks will be sent in next patch. Unlike the previous series, there is no EE/AO domain in A1 CLK controllers. Signed-off-by: Jian Hu Signed-off-by: Jianxin Pan --- arch/arm64

[PATCH 1/2] dt-bindings: clock: meson: add A1 clock controller bindings

2019-09-25 Thread Jian Hu
Add the documentation to support Amlogic A1 clock driver, and add A1 clock controller bindings. Signed-off-by: Jian Hu Signed-off-by: Jianxin Pan --- .../devicetree/bindings/clock/amlogic,a1-clkc.yaml | 65 + include/dt-bindings/clock/a1-clkc.h| 102

[PATCH 0/2] add Amlogic A1 clock controller driver

2019-09-25 Thread Jian Hu
add support for Amlogic A1 clock driver, the clock includes three parts: peripheral clocks, pll clocks, CPU clocks. sys pll and CPU clocks will be sent in next patch. Unlike the previous series, there is no EE/AO domain in A1 clock controllers. Jian Hu (2): dt-bindings: clock: meson: add A1

Re: [PATCH v5 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-12-04 Thread Jian Hu
Hi, Rob I will add it in next version, thanks. On 2018/12/4 7:06, Rob Herring wrote: On Thu, Nov 29, 2018 at 09:41:56PM +0800, Jian Hu wrote: Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings

Re: [PATCH v5 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-12-04 Thread Jian Hu
Hi, Rob I will add it in next version, thanks. On 2018/12/4 7:06, Rob Herring wrote: On Thu, Nov 29, 2018 at 09:41:56PM +0800, Jian Hu wrote: Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings

[PATCH v5 2/2] clk: meson-g12a: Add EE Clock controller driver

2018-11-29 Thread Jian Hu
Add a Clock driver for the Everything-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- arch/arm64/Kconfig.platforms |1 + drivers/clk/meson/Kconfig|8 + drivers/clk/meson/Makefile |1 + drivers/clk/meson/g12a.c | 1185

[PATCH v5 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-11-29 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + include/dt-bindings/clock/g12a-clkc.h | 93 ++ 2 files changed, 94

[PATCH v5 2/2] clk: meson-g12a: Add EE Clock controller driver

2018-11-29 Thread Jian Hu
Add a Clock driver for the Everything-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- arch/arm64/Kconfig.platforms |1 + drivers/clk/meson/Kconfig|8 + drivers/clk/meson/Makefile |1 + drivers/clk/meson/g12a.c | 1185

[PATCH v5 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-11-29 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + include/dt-bindings/clock/g12a-clkc.h | 93 ++ 2 files changed, 94

[PATCH v5 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-29 Thread Jian Hu
m [4]https://lkml.kernel.org/r/1533890858-113020-1-git-send-email-jian...@amlogic.com [5]https://lkml.kernel.org/r/1541511349-121152-1-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings clk: meson-g12a: Add EE Clock controller driver .

[PATCH v5 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-29 Thread Jian Hu
m [4]https://lkml.kernel.org/r/1533890858-113020-1-git-send-email-jian...@amlogic.com [5]https://lkml.kernel.org/r/1541511349-121152-1-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings clk: meson-g12a: Add EE Clock controller driver .

Re: [PATCH 2/2] i2c: meson: add support for Meson G12A SoC I2C controller

2018-11-29 Thread Jian Hu
Hi Neil, On 2018/11/29 19:26, Neil Armstrong wrote: On 29/11/2018 11:59, Jian Hu wrote: Add compatible and data for G12A I2C controller. Signed-off-by: Jian Hu --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses/i2c-meson.c b

Re: [PATCH 2/2] i2c: meson: add support for Meson G12A SoC I2C controller

2018-11-29 Thread Jian Hu
Hi Neil, On 2018/11/29 19:26, Neil Armstrong wrote: On 29/11/2018 11:59, Jian Hu wrote: Add compatible and data for G12A I2C controller. Signed-off-by: Jian Hu --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses/i2c-meson.c b

Re: [PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jian Hu
On 2018/11/29 19:02, Jerome Brunet wrote: On Thu, 2018-11-29 at 18:59 +0800, Jian Hu wrote: 1)Add G12A SoC i2c compatible string in dt-bindings. 2)Add compatible and data for G12A I2C controller driver. Jian Hu (2): dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string i2c

Re: [PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jian Hu
On 2018/11/29 19:02, Jerome Brunet wrote: On Thu, 2018-11-29 at 18:59 +0800, Jian Hu wrote: 1)Add G12A SoC i2c compatible string in dt-bindings. 2)Add compatible and data for G12A I2C controller driver. Jian Hu (2): dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string i2c

[PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jian Hu
1)Add G12A SoC i2c compatible string in dt-bindings. 2)Add compatible and data for G12A I2C controller driver. Jian Hu (2): dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string i2c: meson: add support for Meson G12A SoC I2C controller Documentation/devicetree/bindings/i2c/i2c

[PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c controller

2018-11-29 Thread Jian Hu
1)Add G12A SoC i2c compatible string in dt-bindings. 2)Add compatible and data for G12A I2C controller driver. Jian Hu (2): dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string i2c: meson: add support for Meson G12A SoC I2C controller Documentation/devicetree/bindings/i2c/i2c

[PATCH 1/2] dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string

2018-11-29 Thread Jian Hu
Add Meson G12A SoC i2c controller compatible string Signed-off-by: Jian Hu --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b/Documentation/devicetree/bindings/i2c/i2c-meson.txt index

[PATCH 2/2] i2c: meson: add support for Meson G12A SoC I2C controller

2018-11-29 Thread Jian Hu
Add compatible and data for G12A I2C controller. Signed-off-by: Jian Hu --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 90f5d04..b86eed7 100644 --- a/drivers/i2c/busses/i2c-meson.c

[PATCH 1/2] dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string

2018-11-29 Thread Jian Hu
Add Meson G12A SoC i2c controller compatible string Signed-off-by: Jian Hu --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b/Documentation/devicetree/bindings/i2c/i2c-meson.txt index

[PATCH 2/2] i2c: meson: add support for Meson G12A SoC I2C controller

2018-11-29 Thread Jian Hu
Add compatible and data for G12A I2C controller. Signed-off-by: Jian Hu --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 90f5d04..b86eed7 100644 --- a/drivers/i2c/busses/i2c-meson.c

Re: [PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-09 Thread Jian Hu
Hi Jerome On 2018/11/8 21:34, jbru...@baylibre.com wrote: On Thu, 2018-11-08 at 21:15 +0800, Jian Hu wrote: Changes since v3 at[4] -add fixed clocks clk_regmap definition Jian, When replying to the v1 of your clk_ao patchset : https://patchwork.kernel.org/patch/10562563/#22177627 I have

Re: [PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-09 Thread Jian Hu
Hi Jerome On 2018/11/8 21:34, jbru...@baylibre.com wrote: On Thu, 2018-11-08 at 21:15 +0800, Jian Hu wrote: Changes since v3 at[4] -add fixed clocks clk_regmap definition Jian, When replying to the v1 of your clk_ao patchset : https://patchwork.kernel.org/patch/10562563/#22177627 I have

[PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-08 Thread Jian Hu
020-1-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings clk: meson-g12a: Add EE Clock controller driver .../bindings/clock/amlogic,gxbb-clkc.txt |1 + drivers/clk/meson/Kconfig | 10 + driver

[PATCH v4 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-11-08 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + include/dt-bindings/clock/g12a-clkc.h | 93 ++ 2 files changed, 94

[PATCH v4 0/2] clk: meson-g12a: Add EE clock controller driver

2018-11-08 Thread Jian Hu
020-1-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings clk: meson-g12a: Add EE Clock controller driver .../bindings/clock/amlogic,gxbb-clkc.txt |1 + drivers/clk/meson/Kconfig | 10 + driver

[PATCH v4 1/2] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-11-08 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Everything-Else domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-clkc.txt | 1 + include/dt-bindings/clock/g12a-clkc.h | 93 ++ 2 files changed, 94

[PATCH v4 2/2] clk: meson-g12a: Add EE Clock controller driver

2018-11-08 Thread Jian Hu
Add a Clock driver for the Everything-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Kconfig | 10 + drivers/clk/meson/Makefile |1 + drivers/clk/meson/g12a.c | 1134 drivers/clk/meson/g12a.h | 128

[PATCH v4 2/2] clk: meson-g12a: Add EE Clock controller driver

2018-11-08 Thread Jian Hu
Add a Clock driver for the Everything-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Kconfig | 10 + drivers/clk/meson/Makefile |1 + drivers/clk/meson/g12a.c | 1134 drivers/clk/meson/g12a.h | 128

Re: [PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-27 Thread Jian Hu
Hi: Jerome On 2018/8/27 21:07, Jerome Brunet wrote: On Fri, 2018-08-24 at 21:34 +0800, Jian Hu wrote: I am confued about aoclk81's parent clocks. I can not get the example of axg audio clock driver, Could you provide the link? Had it merged into clk-meson.git? Yes and mainline as well

Re: [PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-27 Thread Jian Hu
Hi: Jerome On 2018/8/27 21:07, Jerome Brunet wrote: On Fri, 2018-08-24 at 21:34 +0800, Jian Hu wrote: I am confued about aoclk81's parent clocks. I can not get the example of axg audio clock driver, Could you provide the link? Had it merged into clk-meson.git? Yes and mainline as well

Re: [PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-24 Thread Jian Hu
Hi: Jerome Please see my commits. On 2018/8/14 20:40, Jerome Brunet wrote: On Fri, 2018-08-10 at 17:54 +0800, Jian Hu wrote: Add a Clock driver for the ALways-On part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/g12a

Re: [PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-24 Thread Jian Hu
Hi: Jerome Please see my commits. On 2018/8/14 20:40, Jerome Brunet wrote: On Fri, 2018-08-10 at 17:54 +0800, Jian Hu wrote: Add a Clock driver for the ALways-On part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/g12a

Re: [PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-14 Thread Jian Hu
On 2018/8/15 4:48, Rob Herring wrote: On Fri, Aug 10, 2018 at 05:54:27PM +0800, Jian Hu wrote: Add new clock controller compatible and dt-bingdings headers for the Always-On domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1

Re: [PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-14 Thread Jian Hu
On 2018/8/15 4:48, Rob Herring wrote: On Fri, Aug 10, 2018 at 05:54:27PM +0800, Jian Hu wrote: Add new clock controller compatible and dt-bingdings headers for the Always-On domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1

[PATCH 0/2] clk: meson-g12a: Add AO clock controller driver

2018-08-10 Thread Jian Hu
ler driver patch. [1]https://lkml.kernel.org/r/1533890858-113020-3-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings clk: meson-g12a: Add AO Clock controller driver .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + drivers

[PATCH 0/2] clk: meson-g12a: Add AO clock controller driver

2018-08-10 Thread Jian Hu
ler driver patch. [1]https://lkml.kernel.org/r/1533890858-113020-3-git-send-email-jian...@amlogic.com Jian Hu (2): dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings clk: meson-g12a: Add AO Clock controller driver .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + drivers

[PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-10 Thread Jian Hu
Add a Clock driver for the ALways-On part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/g12a-aoclk.c | 170 + drivers/clk/meson/g12a-aoclk.h | 36 + 3 files changed, 207

[PATCH 2/2] clk: meson-g12a: Add AO Clock controller driver

2018-08-10 Thread Jian Hu
Add a Clock driver for the ALways-On part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Makefile | 2 +- drivers/clk/meson/g12a-aoclk.c | 170 + drivers/clk/meson/g12a-aoclk.h | 36 + 3 files changed, 207

[PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-10 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Always-On domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + include/dt-bindings/clock/g12a-aoclkc.h| 28 ++ 2 files changed, 29

[PATCH 1/2] dt-bindings: clk: meson-g12a: Add G12A AO Clock Bindings

2018-08-10 Thread Jian Hu
Add new clock controller compatible and dt-bingdings headers for the Always-On domain of the g12a SoC Signed-off-by: Jian Hu --- .../bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + include/dt-bindings/clock/g12a-aoclkc.h| 28 ++ 2 files changed, 29

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-16 Thread Jian Hu
Hi Jerome On 2018/7/11 21:45, Jerome Brunet wrote: On Wed, 2018-07-11 at 21:41 +0800, Jian Hu wrote: +static struct clk_regmap g12a_mpll0 = { + .data = &(struct clk_regmap_gate_data){ + .offset = HHI_MPLL_CNTL1, + .bit_idx = 31, + }, + .hw.

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-16 Thread Jian Hu
Hi Jerome On 2018/7/11 21:45, Jerome Brunet wrote: On Wed, 2018-07-11 at 21:41 +0800, Jian Hu wrote: +static struct clk_regmap g12a_mpll0 = { + .data = &(struct clk_regmap_gate_data){ + .offset = HHI_MPLL_CNTL1, + .bit_idx = 31, + }, + .hw.

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-11 Thread Jian Hu
On 2018/7/10 17:54, Jerome Brunet wrote: On Tue, 2018-07-10 at 09:21 +0800, Yixun Lan wrote: HI Martin On 07/10/18 05:53, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:14 PM Jian Hu wrote: Add a Clock driver for the Everyting-Else part of the Amlogic Meson-G12A SoC. Signed-off

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-11 Thread Jian Hu
On 2018/7/10 17:54, Jerome Brunet wrote: On Tue, 2018-07-10 at 09:21 +0800, Yixun Lan wrote: HI Martin On 07/10/18 05:53, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:14 PM Jian Hu wrote: Add a Clock driver for the Everyting-Else part of the Amlogic Meson-G12A SoC. Signed-off

Re: [PATCH 2/3] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-07-11 Thread Jian Hu
On 2018/7/10 17:26, Jerome Brunet wrote: On Tue, 2018-07-10 at 00:13 +0200, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add dt-bindings headers for the Meson-G12A's Everything-Else part clock controller. I wonder if this should be folded into patch #1 along

Re: [PATCH 2/3] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-07-11 Thread Jian Hu
On 2018/7/10 17:26, Jerome Brunet wrote: On Tue, 2018-07-10 at 00:13 +0200, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add dt-bindings headers for the Meson-G12A's Everything-Else part clock controller. I wonder if this should be folded into patch #1 along

Re: [PATCH 2/3] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-07-11 Thread Jian Hu
On 2018/7/10 6:13, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add dt-bindings headers for the Meson-G12A's Everything-Else part clock controller. I wonder if this should be folded into patch #1 along with an update to Documentation/devicetree/bindings/clock

Re: [PATCH 2/3] dt-bindings: clk: meson-g12a: Add G12A EE Clock Bindings

2018-07-11 Thread Jian Hu
On 2018/7/10 6:13, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add dt-bindings headers for the Meson-G12A's Everything-Else part clock controller. I wonder if this should be folded into patch #1 along with an update to Documentation/devicetree/bindings/clock

Re: [PATCH 1/3] dt-bindings: clk: g12a: New binding for Meson-G12A SoC

2018-07-11 Thread Jian Hu
On 2018/7/10 5:57, Martin Blumenstingl wrote: adding Rob Herring so it doesn't get lost on the devicetree mailing list On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add new binding for Meson-G12A SoC Everything-Else part Signed-off-by: Jian Hu --- Documentation/devicetree/bindings

Re: [PATCH 1/3] dt-bindings: clk: g12a: New binding for Meson-G12A SoC

2018-07-11 Thread Jian Hu
On 2018/7/10 5:57, Martin Blumenstingl wrote: adding Rob Herring so it doesn't get lost on the devicetree mailing list On Mon, Jul 9, 2018 at 1:13 PM Jian Hu wrote: Add new binding for Meson-G12A SoC Everything-Else part Signed-off-by: Jian Hu --- Documentation/devicetree/bindings

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-11 Thread Jian Hu
On 2018/7/10 5:53, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:14 PM Jian Hu wrote: Add a Clock driver for the Everyting-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Kconfig | 10 + drivers/clk/meson/Makefile | 1 + drivers/clk

Re: [PATCH 3/3] clk: meson-g12a: Add EE Clock controller driver

2018-07-11 Thread Jian Hu
On 2018/7/10 5:53, Martin Blumenstingl wrote: On Mon, Jul 9, 2018 at 1:14 PM Jian Hu wrote: Add a Clock driver for the Everyting-Else part of the Amlogic Meson-G12A SoC. Signed-off-by: Jian Hu --- drivers/clk/meson/Kconfig | 10 + drivers/clk/meson/Makefile | 1 + drivers/clk