[PATCH v4 4/4] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-30 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring <r...@kernel.org> Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com&

[PATCH v4 4/4] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-30 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Acked-by: Rob Herring Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff

[PATCH v4 3/4] clk: meson-axg: add clock controller drivers

2017-11-30 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig|

[PATCH v4 3/4] clk: meson-axg: add clock controller drivers

2017-11-30 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig| 8 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg.c | 944

[PATCH v4 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-11-30 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Add the required header for the clocks ID dt-bindings exported from various subsystem in the Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- include/dt-binding

[PATCH v4 2/4] clk: meson-axg: add clocks dt-bindings required header

2017-11-30 Thread Yixun Lan
From: Qiufang Dai Add the required header for the clocks ID dt-bindings exported from various subsystem in the Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-clkc.h | 71 1 file changed, 71 insertions

Re: [PATCH v3 3/3] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-29 Thread Yixun Lan
Hi Stephen On 11/30/17 03:35, Stephen Boyd wrote: > On 11/28, Yixun Lan wrote: >> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> index b932a784b02a..36a2e98338a8 100644 >> --- a/arch/arm64/boot/dts/amlogic/m

Re: [PATCH v3 3/3] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-29 Thread Yixun Lan
Hi Stephen On 11/30/17 03:35, Stephen Boyd wrote: > On 11/28, Yixun Lan wrote: >> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi >> index b932a784b02a..36a2e98338a8 100644 >> --- a/arch/arm64/boot/dts/amlogic/m

Re: [PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-29 Thread Yixun Lan
Hi Stephen On 11/30/17 03:34, Stephen Boyd wrote: > On 11/28, Yixun Lan wrote: >> diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c >> new file mode 100644 >> index ..51c5b4062715 >> --- /dev/null >> +++ b/drivers/clk/meson/axg.c >>

Re: [PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-29 Thread Yixun Lan
Hi Stephen On 11/30/17 03:34, Stephen Boyd wrote: > On 11/28, Yixun Lan wrote: >> diff --git a/drivers/clk/meson/axg.c b/drivers/clk/meson/axg.c >> new file mode 100644 >> index ..51c5b4062715 >> --- /dev/null >> +++ b/drivers/clk/meson/axg.c >>

[PATCH] pwm: meson: fix harware duty calculation

2017-11-28 Thread Yixun Lan
r Meson PWM Controller") Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/pwm/pwm-meson.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c inde

[PATCH] pwm: meson: fix harware duty calculation

2017-11-28 Thread Yixun Lan
Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- drivers/pwm/pwm-meson.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index d589331d1884..78d9b8c1a4bc 100644 --- a/drivers/pwm/pwm-meson.c +++ b/drive

Re: [PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-28 Thread Yixun Lan
HI Rob On 11/29/17 00:30, Rob Herring wrote: > On Tue, Nov 28, 2017 at 08:53:29PM +0800, Yixun Lan wrote: >> From: Qiufang Dai <qiufang@amlogic.com> >> >> Add clock controller drivers for Amlogic Meson-AXG SoC. >> >> Signed-off-by: Qiufang Dai

Re: [PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-28 Thread Yixun Lan
HI Rob On 11/29/17 00:30, Rob Herring wrote: > On Tue, Nov 28, 2017 at 08:53:29PM +0800, Yixun Lan wrote: >> From: Qiufang Dai >> >> Add clock controller drivers for Amlogic Meson-AXG SoC. >> >> Signed-off-by: Qiufang Dai >> Signed-off-by: Yixun Lan

[PATCH 0/3] spicc: meson-axg: add SPICC controller

2017-11-28 Thread Yixun Lan
Add the SPICC controller driver to the Amlogic's Meson-AXG SoC. The new compatible string introduced here is aiming for adding a few new features which found at the Meson-AXG platform. Sunny Luo (3): dt-bindings: spicc: update compatible string for the Meson-AXG spi: meson-axg: add SPICC

[PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG

2017-11-28 Thread Yixun Lan
From: Sunny Luo <sunny@amlogic.com> Update the compatbile string to support Meson-AXG SoCs. Signed-off-by: Sunny Luo <sunny@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documentation/devicetree/bindings/spi/spi-meson.txt | 4 +++- 1 file changed,

[PATCH 0/3] spicc: meson-axg: add SPICC controller

2017-11-28 Thread Yixun Lan
Add the SPICC controller driver to the Amlogic's Meson-AXG SoC. The new compatible string introduced here is aiming for adding a few new features which found at the Meson-AXG platform. Sunny Luo (3): dt-bindings: spicc: update compatible string for the Meson-AXG spi: meson-axg: add SPICC

[PATCH 1/3] dt-bindings: spicc: update compatible string for the Meson-AXG

2017-11-28 Thread Yixun Lan
From: Sunny Luo Update the compatbile string to support Meson-AXG SoCs. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/spi/spi-meson.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/spi

[PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller

2017-11-28 Thread Yixun Lan
From: Sunny Luo <sunny@amlogic.com> Add DT info for the SPICC controller which found in the Amlogic's Meson-AXG SoC. Signed-off-by: Sunny Luo <sunny@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/m

[PATCH 3/3] ARM64: dts: meson-axg: add the SPICC controller

2017-11-28 Thread Yixun Lan
From: Sunny Luo Add DT info for the SPICC controller which found in the Amlogic's Meson-AXG SoC. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 92 ++ 1 file changed, 92 insertions(+) diff --git a/arch/arm64

[PATCH 2/3] spi: meson-axg: add SPICC driver support

2017-11-28 Thread Yixun Lan
From: Sunny Luo <sunny@amlogic.com> Add new compatible string to support SPICC controller which found at Amlogic Meson-AXG SoC. This is aiming at adding a couple of enhanced feature patches. Signed-off-by: Sunny Luo <sunny@amlogic.com> Signed-off-by: Yixun Lan <yixun.

[PATCH 2/3] spi: meson-axg: add SPICC driver support

2017-11-28 Thread Yixun Lan
From: Sunny Luo Add new compatible string to support SPICC controller which found at Amlogic Meson-AXG SoC. This is aiming at adding a couple of enhanced feature patches. Signed-off-by: Sunny Luo Signed-off-by: Yixun Lan --- drivers/spi/spi-meson-spicc.c | 1 + 1 file changed, 1 insertion

Re: [PATCH v4 0/4] fix the clock setting for SAR ADC

2017-11-28 Thread Yixun Lan
On 11/11/17 08:37, Jonathan Cameron wrote: > On Tue, 7 Nov 2017 22:36:00 +0100 > Martin Blumenstingl <martin.blumensti...@googlemail.com> wrote: > >> Hi Yixun, >> >> On Tue, Nov 7, 2017 at 3:09 PM, Yixun Lan <yixun@amlogic.com> wrote: >>> pat

Re: [PATCH v4 0/4] fix the clock setting for SAR ADC

2017-11-28 Thread Yixun Lan
On 11/11/17 08:37, Jonathan Cameron wrote: > On Tue, 7 Nov 2017 22:36:00 +0100 > Martin Blumenstingl wrote: > >> Hi Yixun, >> >> On Tue, Nov 7, 2017 at 3:09 PM, Yixun Lan wrote: >>> patch [1/4]: >>> Fix wrong SARADC/SANA clock gate bit in Meson-G

[PATCH v3 1/3] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-11-28 Thread Yixun Lan
Update the documentation to support clock driver for the Amlogic's Meson-AXG SoC. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devi

[PATCH v3 1/3] dt-bindings: clock: add compatible variant for the Meson-AXG

2017-11-28 Thread Yixun Lan
Update the documentation to support clock driver for the Amlogic's Meson-AXG SoC. Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/clock/amlogic,gxbb-clkc.txt | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/amlogic

[PATCH v3 3/3] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-28 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/m

[PATCH v3 3/3] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-28 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot

[PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-28 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfi

[PATCH v3 2/3] clk: meson-axg: add clock controller drivers

2017-11-28 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig| 8 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg.c

[PATCH v3 0/3] add clk controller driver for Meson-AXG SoC

2017-11-28 Thread Yixun Lan
ic/2017-November/005239.html http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005240.html http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005241.html Qiufang Dai (2): clk: meson-axg: add clock controller drivers arm64: dts: meson-axg: add clock DT info for Meso

[PATCH v3 0/3] add clk controller driver for Meson-AXG SoC

2017-11-28 Thread Yixun Lan
ic/2017-November/005239.html http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005240.html http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005241.html Qiufang Dai (2): clk: meson-axg: add clock controller drivers arm64: dts: meson-axg: add clock DT info for Meso

Re: [PATCH v2 0/2] add clk controller driver for Meson-AXG SoC

2017-11-28 Thread Yixun Lan
Hi jerome: On 11/27/17 21:48, Jerome Brunet wrote: > On Mon, 2017-11-27 at 17:48 +0800, Yixun Lan wrote: >> Add driver for the clk controller which found in Meson AXG SoC >> >> Note, we deliberately create a seperate source file for the Meson AXG >> seri

Re: [PATCH v2 0/2] add clk controller driver for Meson-AXG SoC

2017-11-28 Thread Yixun Lan
Hi jerome: On 11/27/17 21:48, Jerome Brunet wrote: > On Mon, 2017-11-27 at 17:48 +0800, Yixun Lan wrote: >> Add driver for the clk controller which found in Meson AXG SoC >> >> Note, we deliberately create a seperate source file for the Meson AXG >> seri

[PATCH v2 0/2] add clk controller driver for Meson-AXG SoC

2017-11-27 Thread Yixun Lan
Add driver for the clk controller which found in Meson AXG SoC Note, we deliberately create a seperate source file for the Meson AXG series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily. Changes since v1 [1]: - rework

[PATCH v2 0/2] add clk controller driver for Meson-AXG SoC

2017-11-27 Thread Yixun Lan
Add driver for the clk controller which found in Meson AXG SoC Note, we deliberately create a seperate source file for the Meson AXG series, instead of sharing code with previous GXBB/GXL - the file axg.c It would help us maintaining the code more easily. Changes since v1 [1]: - rework

[PATCH v2 1/2] clk: meson-axg: add clock controller drivers

2017-11-27 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfi

[PATCH v2 1/2] clk: meson-axg: add clock controller drivers

2017-11-27 Thread Yixun Lan
From: Qiufang Dai Add clock controller drivers for Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/Kconfig.platforms | 1 + drivers/clk/meson/Kconfig| 8 + drivers/clk/meson/Makefile | 1 + drivers/clk/meson/axg.c

[PATCH v2 2/2] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-27 Thread Yixun Lan
From: Qiufang Dai <qiufang@amlogic.com> Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/m

[PATCH v2 2/2] arm64: dts: meson-axg: add clock DT info for Meson AXG SoC

2017-11-27 Thread Yixun Lan
From: Qiufang Dai Try to add Hiubus DT info, and also enable clock DT info for the Amlogic's Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot

[PATCH v2 5/5] ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker

2017-11-20 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> In the S400 board, The I2C master-1 is connecting to the audio speaker daughter board. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6

[PATCH v2 5/5] ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker

2017-11-20 Thread Yixun Lan
From: Jian Hu In the S400 board, The I2C master-1 is connecting to the audio speaker daughter board. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson

[PATCH v2 0/5] i2c: meson-axg: add I2C controller driver

2017-11-20 Thread Yixun Lan
This patch set try to add I2C controller driver for the Amlogic's Meson-AXG SoC. Changes since v1 [1] - update dt-bindings doc (Neil Armstrong) - make meson_i2c_data const (Martin Blumenstingl) - DTS: adjust naming, change from the 'i2c_m0' to 'i2c0' style [1]

[PATCH v2 0/5] i2c: meson-axg: add I2C controller driver

2017-11-20 Thread Yixun Lan
This patch set try to add I2C controller driver for the Amlogic's Meson-AXG SoC. Changes since v1 [1] - update dt-bindings doc (Neil Armstrong) - make meson_i2c_data const (Martin Blumenstingl) - DTS: adjust naming, change from the 'i2c_m0' to 'i2c0' style [1]

[PATCH v2 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-20 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> Update the doc to explicitly add Meson-AXG to support list Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 6 +- 1 file changed,

[PATCH v2 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-20 Thread Yixun Lan
From: Jian Hu Update the doc to explicitly add Meson-AXG to support list Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c

[PATCH v2 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> There are four I2C masters in EE domain, and one I2C Master in AO domain, the DT info here should describe them all. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlo

[PATCH v2 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
From: Jian Hu There are four I2C masters in EE domain, and one I2C Master in AO domain, the DT info here should describe them all. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 59 ++ 1 file changed, 59 insertions

[PATCH v2 2/5] i2c: meson: add configurable divider factors

2017-11-20 Thread Yixun Lan
; Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/i2c/busses/i2c-meson.c | 32 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/

[PATCH v2 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller

2017-11-20 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 +++

[PATCH v2 2/5] i2c: meson: add configurable divider factors

2017-11-20 Thread Yixun Lan
From: Jian Hu This patch try to add support for I2C controller in Meson-AXG SoC, Due to the IP changes between I2C controller, we need to introduce a compatible data to make the divider factor configurable. Reviewed-by: Neil Armstrong Signed-off-by: Jian Hu Signed-off-by: Yixun Lan

[PATCH v2 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller

2017-11-20 Thread Yixun Lan
From: Jian Hu Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts

[RESEND PATCH v3 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> Add new pinctrl DT info for the Amlogic's Meson-AXG SoC. Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm6

[RESEND PATCH v3 2/2] ARM64: dts: meson-axg: add pinctrl DT info for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
From: Xingyu Chen Add new pinctrl DT info for the Amlogic's Meson-AXG SoC. Reviewed-by: Neil Armstrong Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch

[RESEND PATCH v3 0/2] dt: add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This is DT part patchset for adding pinctrl support for the Amlogic's Meson-AXG SoC. Changes since v2 at [2]: -- Resend this patch series due to fail to send patch [2/2] Changes since v1 at [1]: -- Separate DT part patches -- Add Neil Armstrong's Ack [2]

[RESEND PATCH v3 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers

2017-11-20 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> Add compatibles for Amlogic Meson AXG pin controllers Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documenta

[RESEND PATCH v3 0/2] dt: add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This is DT part patchset for adding pinctrl support for the Amlogic's Meson-AXG SoC. Changes since v2 at [2]: -- Resend this patch series due to fail to send patch [2/2] Changes since v1 at [1]: -- Separate DT part patches -- Add Neil Armstrong's Ack [2]

[RESEND PATCH v3 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers

2017-11-20 Thread Yixun Lan
From: Xingyu Chen Add compatibles for Amlogic Meson AXG pin controllers Reviewed-by: Neil Armstrong Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH v2 1/2] pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/pinctrl/meson/Kconfig | 3 + drivers/pinctrl/meson/Makefile| 1 + drivers/pinctrl/m

[PATCH v2 1/2] pinctrl: meson-axg: Introduce a pinctrl pinmux ops for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
by: Xingyu Chen Signed-off-by: Yixun Lan --- drivers/pinctrl/meson/Kconfig | 3 + drivers/pinctrl/meson/Makefile| 1 + drivers/pinctrl/meson/pinctrl-meson-axg-pmx.c | 118 ++ drivers/pinctrl/meson/pinctrl-meson-axg-pmx.h | 62 +

[PATCH v2 0/2] dt: add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This is DT part patchset for adding pinctrl support for the Amlogic's Meson-AXG SoC. Changes since v1 at [1]: -- Separate DT part patches -- Add Neil Armstrong's Ack [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005270.html

[PATCH v2 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers

2017-11-20 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> Add compatibles for Amlogic Meson AXG pin controllers Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documenta

[PATCH v2 0/2] dt: add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This is DT part patchset for adding pinctrl support for the Amlogic's Meson-AXG SoC. Changes since v1 at [1]: -- Separate DT part patches -- Add Neil Armstrong's Ack [1] http://lists.infradead.org/pipermail/linux-amlogic/2017-November/005270.html

[PATCH v2 1/2] documentation: Add compatibles for Amlogic Meson AXG pin controllers

2017-11-20 Thread Yixun Lan
From: Xingyu Chen Add compatibles for Amlogic Meson AXG pin controllers Reviewed-by: Neil Armstrong Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation

[PATCH v2 0/2] add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This patchset adds pinctrl support for the Amlogic's Meson-AXG SoC. While the gpio and pin configuration part is the same the as previous meson SoCs, the pinmux part is different. This requires slightly different pinmux operations along with the actual pinctrl driver description. Changes since

[PATCH v2 0/2] add pinctrl driver for Meson-AXG SoC

2017-11-20 Thread Yixun Lan
This patchset adds pinctrl support for the Amlogic's Meson-AXG SoC. While the gpio and pin configuration part is the same the as previous meson SoCs, the pinmux part is different. This requires slightly different pinmux operations along with the actual pinctrl driver description. Changes since

[PATCH v2 2/2] pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC

2017-11-20 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> Add new pinctrl driver for Amlogic's Meson-AXG SoC. Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drive

[PATCH v2 2/2] pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC

2017-11-20 Thread Yixun Lan
From: Xingyu Chen Add new pinctrl driver for Amlogic's Meson-AXG SoC. Reviewed-by: Neil Armstrong Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- drivers/pinctrl/meson/Kconfig | 6 + drivers/pinctrl/meson/Makefile| 1 + drivers/pinctrl/meson/pinctrl-meson

Re: [PATCH 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-17 Thread Yixun Lan
Hi Neil see my comments in line On 11/17/17 21:05, Neil Armstrong wrote: > Hi Yixun, Jian, > > On 17/11/2017 09:02, Yixun Lan wrote: >> From: Jian Hu <jian...@amlogic.com> >> >> There are four I2C masters in EE domain, and one I2C Master in >> AO domain

Re: [PATCH 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-17 Thread Yixun Lan
Hi Neil see my comments in line On 11/17/17 21:05, Neil Armstrong wrote: > Hi Yixun, Jian, > > On 17/11/2017 09:02, Yixun Lan wrote: >> From: Jian Hu >> >> There are four I2C masters in EE domain, and one I2C Master in >> AO domain, the DT info here should de

Re: [PATCH 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-17 Thread Yixun Lan
Hi Neil On 11/17/17 21:02, Neil Armstrong wrote: > On 17/11/2017 09:02, Yixun Lan wrote: >> From: Jian Hu <jian...@amlogic.com> >> >> Update the doc to explicitly add Meson-AXG to support list >> >> Signed-off-by: Jian Hu <jian...@amlogic.com> >&

Re: [PATCH 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-17 Thread Yixun Lan
Hi Neil On 11/17/17 21:02, Neil Armstrong wrote: > On 17/11/2017 09:02, Yixun Lan wrote: >> From: Jian Hu >> >> Update the doc to explicitly add Meson-AXG to support list >> >> Signed-off-by: Jian Hu >> Signed-off-by: Yixun Lan >> --- >>

[PATCH 5/5] ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker

2017-11-17 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> In the S400 board, The I2C master-1 is connecting to the audio speaker daughter board. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6

[PATCH 5/5] ARM64: dts: meson-axg: enable I2C Master-1 for the audio speaker

2017-11-17 Thread Yixun Lan
From: Jian Hu In the S400 board, The I2C master-1 is connecting to the audio speaker daughter board. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson

[PATCH 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-17 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> Update the doc to explicitly add Meson-AXG to support list Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 + 1 file changed, 1 insert

[PATCH 2/5] i2c: meson: add configurable divider factors

2017-11-17 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> This patch try to add support for I2C controller in Meson-AXG SoC, Due to the IP changes between I2C controller, we need to introduce a compatible data to make the divider factor configurable. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-o

[PATCH 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller

2017-11-17 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 +++

[PATCH 1/5] dt-bindings: i2c: update documentation for the Meson-AXG

2017-11-17 Thread Yixun Lan
From: Jian Hu Update the doc to explicitly add Meson-AXG to support list Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-meson.txt b

[PATCH 2/5] i2c: meson: add configurable divider factors

2017-11-17 Thread Yixun Lan
From: Jian Hu This patch try to add support for I2C controller in Meson-AXG SoC, Due to the IP changes between I2C controller, we need to introduce a compatible data to make the divider factor configurable. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- drivers/i2c/busses/i2c-meson.c

[PATCH 4/5] ARM64: dts: meson-axg: describe pin DT info for I2C controller

2017-11-17 Thread Yixun Lan
From: Jian Hu Describe all the pin mux for the I2C controller which found in Meson-AXG SoC. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-17 Thread Yixun Lan
From: Jian Hu <jian...@amlogic.com> There are four I2C masters in EE domain, and one I2C Master in AO domain, the DT info here should describe them all. Signed-off-by: Jian Hu <jian...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlo

[PATCH 3/5] ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC

2017-11-17 Thread Yixun Lan
From: Jian Hu There are four I2C masters in EE domain, and one I2C Master in AO domain, the DT info here should describe them all. Signed-off-by: Jian Hu Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 59 ++ 1 file changed, 59 insertions

[PATCH 0/5] i2c: meson-axg: add I2C controller driver

2017-11-17 Thread Yixun Lan
This patch set try to add I2C controller driver for the Amlogic's Meson-AXG SoC. Jian Hu (5): dt-bindings: i2c: update documentation for the Meson-AXG i2c: meson: add configurable divider factors ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC ARM64: dts: meson-axg: describe pin

[PATCH 0/5] i2c: meson-axg: add I2C controller driver

2017-11-17 Thread Yixun Lan
This patch set try to add I2C controller driver for the Amlogic's Meson-AXG SoC. Jian Hu (5): dt-bindings: i2c: update documentation for the Meson-AXG i2c: meson: add configurable divider factors ARM64: dts: meson-axg: add I2C DT info for Meson-AXG SoC ARM64: dts: meson-axg: describe pin

[PATCH v5 1/2] ARM64: dts: meson: drop "sana" clock from SAR ADC

2017-11-16 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> The SAR ADC modules doesn't require The "sana" clock. Acked-by: Martin Blumenstingl <martin.blumensti...@googlemail.com> Singed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogi

[PATCH v5 1/2] ARM64: dts: meson: drop "sana" clock from SAR ADC

2017-11-16 Thread Yixun Lan
From: Xingyu Chen The SAR ADC modules doesn't require The "sana" clock. Acked-by: Martin Blumenstingl Singed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 3 +-- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 3 +-- 2 files

[PATCH v5 2/2] ARM: dts: meson: drop "sana" clock from SAR ADC

2017-11-16 Thread Yixun Lan
From: Xingyu Chen <xingyu.c...@amlogic.com> The SAR ADC modules doesn't require The "sana" clock. Acked-by: Martin Blumenstingl <martin.blumensti...@googlemail.com> Signed-off-by: Xingyu Chen <xingyu.c...@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com

[PATCH v5 0/2] meson: saradc: drop the sana clock

2017-11-16 Thread Yixun Lan
This is a rework for the patch [v4 4/4] of previous series, which mean this will make the patch [1] obsolete. Changes since v4: * separate DTS for ARM(32bit) vs ARM64 * add ACK from Martin [1] [PATCH v4 4/4] ARM64: dts: meson: drop "sana" clock from SAR ADC

[PATCH v5 2/2] ARM: dts: meson: drop "sana" clock from SAR ADC

2017-11-16 Thread Yixun Lan
From: Xingyu Chen The SAR ADC modules doesn't require The "sana" clock. Acked-by: Martin Blumenstingl Signed-off-by: Xingyu Chen Signed-off-by: Yixun Lan --- arch/arm/boot/dts/meson8.dtsi | 5 ++--- arch/arm/boot/dts/meson8b.dtsi | 5 ++--- 2 files changed, 4 insertions(+), 6

[PATCH v5 0/2] meson: saradc: drop the sana clock

2017-11-16 Thread Yixun Lan
This is a rework for the patch [v4 4/4] of previous series, which mean this will make the patch [1] obsolete. Changes since v4: * separate DTS for ARM(32bit) vs ARM64 * add ACK from Martin [1] [PATCH v4 4/4] ARM64: dts: meson: drop "sana" clock from SAR ADC

[PATCH] ARM64: dts: meson-axg: add ethernet mac controller

2017-11-13 Thread Yixun Lan
Add DT info for the stmmac ethernet MAC which found in the Amlogic's Meson-AXG SoC, also describe the ethernet pinctrl & clock information here. This is tested in the S400 dev board which use a RTL8211F PHY, and the pins connect to the 'eth_rgmii_y_pins' group. Signed-off-by: Yixun Lan &l

[PATCH] ARM64: dts: meson-axg: add ethernet mac controller

2017-11-13 Thread Yixun Lan
Add DT info for the stmmac ethernet MAC which found in the Amlogic's Meson-AXG SoC, also describe the ethernet pinctrl & clock information here. This is tested in the S400 dev board which use a RTL8211F PHY, and the pins connect to the 'eth_rgmii_y_pins' group. Signed-off-by: Yixun

Re: [PATCH v4 4/4] ARM64: dts: meson: drop "sana" clock from SAR ADC

2017-11-12 Thread Yixun Lan
Hi Kevin & others I'd like to just re-send the patch [4/4] (while leave others[1-3/4] unchanged), to have separated DT patch the for 32bit / 64bit platform. is this ok for you? On 11/12/17 09:33, Martin Blumenstingl wrote: > Hi Yixun, > > On Tue, Nov 7, 2017 at 3:10 PM, Yix

Re: [PATCH v4 4/4] ARM64: dts: meson: drop "sana" clock from SAR ADC

2017-11-12 Thread Yixun Lan
Hi Kevin & others I'd like to just re-send the patch [4/4] (while leave others[1-3/4] unchanged), to have separated DT patch the for 32bit / 64bit platform. is this ok for you? On 11/12/17 09:33, Martin Blumenstingl wrote: > Hi Yixun, > > On Tue, Nov 7, 2017 at 3:10 PM, Yix

[PATCH 2/3] reset: meson-axg: add compatible string for Meson-AXG SoC

2017-11-10 Thread Yixun Lan
Try to add compatible string explictly to support new Meson-AXG SoC. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/reset/reset-meson.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c index c419a3753d00..93cbee

[PATCH 2/3] reset: meson-axg: add compatible string for Meson-AXG SoC

2017-11-10 Thread Yixun Lan
Try to add compatible string explictly to support new Meson-AXG SoC. Signed-off-by: Yixun Lan --- drivers/reset/reset-meson.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c index c419a3753d00..93cbee1ae8ef 100644 --- a/drivers

[PATCH 3/3] arm64: dts: meson-axg: add new reset DT node

2017-11-10 Thread Yixun Lan
Add reset DT node for Amlogic's Meson-AXG SoC. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi

[PATCH 3/3] arm64: dts: meson-axg: add new reset DT node

2017-11-10 Thread Yixun Lan
Add reset DT node for Amlogic's Meson-AXG SoC. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index e0fb860e12c5

[PATCH 0/3] add Reset controller driver for Meson-AXG

2017-11-10 Thread Yixun Lan
This patches add the Reset controller driver which found at the Amlogic Meson-AXG SoC. Yixun Lan (3): dt-bindings: reset: Add bindings for the Meson-AXG SoC Reset Controller reset: meson-axg: add compatible string for Meson-AXG SoC arm64: dts: meson-axg: add new reset DT node

[PATCH 0/3] add Reset controller driver for Meson-AXG

2017-11-10 Thread Yixun Lan
This patches add the Reset controller driver which found at the Amlogic Meson-AXG SoC. Yixun Lan (3): dt-bindings: reset: Add bindings for the Meson-AXG SoC Reset Controller reset: meson-axg: add compatible string for Meson-AXG SoC arm64: dts: meson-axg: add new reset DT node

<    2   3   4   5   6   7   8   >