[PATCH 1/2] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-02-08 Thread Yixun Lan
Add dt-bindings headers for the Meson-AXG's AO clock and reset controller. CC: <devicet...@vger.kernel.org> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- include/dt-bindings/clock/axg-aoclkc.h | 26 ++ include/dt-bindings/reset/axg-a

[PATCH 1/2] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-02-08 Thread Yixun Lan
Add dt-bindings headers for the Meson-AXG's AO clock and reset controller. CC: Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-aoclkc.h | 26 ++ include/dt-bindings/reset/axg-aoclkc.h | 20 2 files changed, 46 insertions(+) create mode

[PATCH 0/2] clk: meson-axg: Add AO Cloclk and Reset driver

2018-02-08 Thread Yixun Lan
This patch try to add AO clock and Reset driver in Amlogic's Meson-AXG SoC. Please note this patchset actually depend on the clock regmap conversion series [1]. [1] clk: meson: use regmap in clock controllers https://lkml.kernel.org/r/20180131180945.18025-1-jbru...@baylibre.com Yixun Lan

[PATCH 0/2] clk: meson-axg: Add AO Cloclk and Reset driver

2018-02-08 Thread Yixun Lan
This patch try to add AO clock and Reset driver in Amlogic's Meson-AXG SoC. Please note this patchset actually depend on the clock regmap conversion series [1]. [1] clk: meson: use regmap in clock controllers https://lkml.kernel.org/r/20180131180945.18025-1-jbru...@baylibre.com Yixun Lan

[PATCH 2/2] clk: meson-axg: Add AO Clock and Reset controller driver

2018-02-08 Thread Yixun Lan
Adds a Clock and Reset controller driver for the Always-On part of the Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai <qiufang@amlogic.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/clk/meson/Makefile| 2 +- drivers/clk/meson/axg-a

[PATCH 2/2] clk: meson-axg: Add AO Clock and Reset controller driver

2018-02-08 Thread Yixun Lan
Adds a Clock and Reset controller driver for the Always-On part of the Amlogic Meson-AXG SoC. Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- drivers/clk/meson/Makefile| 2 +- drivers/clk/meson/axg-aoclk.c | 236 ++ drivers/clk/meson/axg

Re: [PATCH 05/19] clk: meson: add regmap clocks

2018-02-07 Thread Yixun Lan
HI Jerome: On 02/01/18 02:09, Jerome Brunet wrote: > Meson clock controllers needs to move the classical iomem registers to > regmap. This is triggered because the HHI controllers found on the GXBB > and GXL host more than just clocks. To properly handle this, we would > like to migrate HHI to

Re: [PATCH 05/19] clk: meson: add regmap clocks

2018-02-07 Thread Yixun Lan
HI Jerome: On 02/01/18 02:09, Jerome Brunet wrote: > Meson clock controllers needs to move the classical iomem registers to > regmap. This is triggered because the HHI controllers found on the GXBB > and GXL host more than just clocks. To properly handle this, we would > like to migrate HHI to

Re: [PATCH v3 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-30 Thread Yixun Lan
On 01/31/18 08:22, Kevin Hilman wrote: > On Tue, Jan 30, 2018 at 4:04 PM, Kevin Hilman <khil...@baylibre.com> wrote: >> Yixun Lan <yixun@amlogic.com> writes: >> >>> HI Kevin >>> These are the UART DT updates for the Meson-AXG platform. >

Re: [PATCH v3 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-30 Thread Yixun Lan
On 01/31/18 08:22, Kevin Hilman wrote: > On Tue, Jan 30, 2018 at 4:04 PM, Kevin Hilman wrote: >> Yixun Lan writes: >> >>> HI Kevin >>> These are the UART DT updates for the Meson-AXG platform. >>> >>> The patch 1 is a general fix. >

[PATCH] i2c: meson: update doc description to fix build warnings

2018-01-23 Thread Yixun Lan
-by: Wolfram Sang <w...@the-dreams.de> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/i2c/busses/i2c-meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 37c4aa76f37a..90f5d0407d73 100644 -

[PATCH] i2c: meson: update doc description to fix build warnings

2018-01-23 Thread Yixun Lan
-by: Wolfram Sang Signed-off-by: Yixun Lan --- drivers/i2c/busses/i2c-meson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 37c4aa76f37a..90f5d0407d73 100644 --- a/drivers/i2c/busses/i2c-meson.c +++ b/drivers/i2c

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

2018-01-23 Thread Yixun Lan
Hi Wolfram: On 01/24/18 14:28, Wolfram Sang wrote: > On Mon, Nov 20, 2017 at 10:54:12PM +0800, Yixun Lan wrote: >> 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

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

2018-01-23 Thread Yixun Lan
Hi Wolfram: On 01/24/18 14:28, Wolfram Sang wrote: > On Mon, Nov 20, 2017 at 10:54:12PM +0800, Yixun Lan wrote: >> 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 int

[PATCH] clk: meson: axg: fix the od shift of the sys_pll

2018-01-18 Thread Yixun Lan
According to datasheet, the od shift of sys_pll is 16, fix the typo which introduced at previous commit. Fixes: 78b4af312f91 ('clk: meson-axg: add clock controller drivers') Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/clk/meson/axg.c | 2 +- 1 file changed, 1 insertion

[PATCH] clk: meson: axg: fix the od shift of the sys_pll

2018-01-18 Thread Yixun Lan
According to datasheet, the od shift of sys_pll is 16, fix the typo which introduced at previous commit. Fixes: 78b4af312f91 ('clk: meson-axg: add clock controller drivers') Signed-off-by: Yixun Lan --- drivers/clk/meson/axg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 3/9] clk: meson: remove unnecessary rounding in the pll clock

2018-01-18 Thread Yixun Lan
On 01/19/18 02:45, Jerome Brunet wrote: > The pll driver perform the rate calculation in Mhz, which adds an > unnecessary rounding down to the Mhz of the rate. Use 64bits long > integer to perform this calculation safely on meson8b and perform the > calculation in Hz instead > > Fixes:

Re: [PATCH 3/9] clk: meson: remove unnecessary rounding in the pll clock

2018-01-18 Thread Yixun Lan
On 01/19/18 02:45, Jerome Brunet wrote: > The pll driver perform the rate calculation in Mhz, which adds an > unnecessary rounding down to the Mhz of the rate. Use 64bits long > integer to perform this calculation safely on meson8b and perform the > calculation in Hz instead > > Fixes:

[PATCH] pinctrl: meson-axg: adjust uart_ao_b pin group naming

2018-01-18 Thread Yixun Lan
Simply adjust the pin group to _x _y _z style, as to keep the consistency in DT with previous naming scheme. Fixes: 83c566806a68 ("pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC") Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Hi Linus, Please also

[PATCH] pinctrl: meson-axg: adjust uart_ao_b pin group naming

2018-01-18 Thread Yixun Lan
Simply adjust the pin group to _x _y _z style, as to keep the consistency in DT with previous naming scheme. Fixes: 83c566806a68 ("pinctrl: meson-axg: Add new pinctrl driver for Meson AXG SoC") Signed-off-by: Yixun Lan --- Hi Linus, Please also consider merging this patch into

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-18 Thread Yixun Lan
On 01/17/2018 08:14 AM, Kevin Hilman wrote: > Yixun Lan <yixun@amlogic.com> writes: > >> Hi Jerome: >> >> On 01/10/2018 03:28 PM, Jerome Brunet wrote: >>> On Wed, 2018-01-10 at 10:12 +0800, Yixun Lan wrote: >>>> >>>> On 01/08/1

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-18 Thread Yixun Lan
On 01/17/2018 08:14 AM, Kevin Hilman wrote: > Yixun Lan writes: > >> Hi Jerome: >> >> On 01/10/2018 03:28 PM, Jerome Brunet wrote: >>> On Wed, 2018-01-10 at 10:12 +0800, Yixun Lan wrote: >>>> >>>> On 01/08/18 16:52, Jerome Brunet wrote:

Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller

2018-01-11 Thread Yixun Lan
Hi Jerome: On 01/11/18 16:37, Jerome Brunet wrote: > On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote: >> Comparing to RGMII interface, the RMII interface require few pins. >> So it's worth describing them here. >> >> Signed-off-by: Yixun Lan <yixun@amlogic.c

Re: [PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller

2018-01-11 Thread Yixun Lan
Hi Jerome: On 01/11/18 16:37, Jerome Brunet wrote: > On Thu, 2018-01-11 at 11:04 +0800, Yixun Lan wrote: >> Comparing to RGMII interface, the RMII interface require few pins. >> So it's worth describing them here. >> >> Signed-off-by: Yixun Lan > > The o

[PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller

2018-01-10 Thread Yixun Lan
Comparing to RGMII interface, the RMII interface require few pins. So it's worth describing them here. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch

[PATCH] ARM64: dts: meson-axg: add RMII pins for ethernet controller

2018-01-10 Thread Yixun Lan
Comparing to RGMII interface, the RMII interface require few pins. So it's worth describing them here. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson

[PATCH v3 1/5] ARM64: dts: meson: uart: fix address space range

2018-01-10 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Reviewed-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 +- 2 file

[PATCH v3 5/5] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-10 Thread Yixun Lan
The UART_A is connected to a BT module on the S400 board. Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot

[PATCH v3 1/5] ARM64: dts: meson: uart: fix address space range

2018-01-10 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Reviewed-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch

[PATCH v3 5/5] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-10 Thread Yixun Lan
The UART_A is connected to a BT module on the S400 board. Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic

[PATCH v3 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-10 Thread Yixun Lan
ogic.com [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com Yixun Lan (5): ARM64: dts: meson: uart: fix address space range ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART ARM64: dts: meson-axg: uart: Add the pinctrl info description ARM64: dt

[PATCH v3 2/5] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-10 Thread Yixun Lan
result in not requesting the 'pclk' clock, thus break the driver in the end. Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff

[PATCH v3 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-10 Thread Yixun Lan
Describe the pinctrl info for the UART controller which is found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 96 ++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/a

[PATCH v3 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-10 Thread Yixun Lan
ogic.com [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com Yixun Lan (5): ARM64: dts: meson: uart: fix address space range ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART ARM64: dts: meson-axg: uart: Add the pinctrl info description ARM64: dt

[PATCH v3 2/5] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-10 Thread Yixun Lan
result in not requesting the 'pclk' clock, thus break the driver in the end. Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch

[PATCH v3 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-10 Thread Yixun Lan
Describe the pinctrl info for the UART controller which is found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 96 ++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch

[PATCH v3 4/5] ARM64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-10 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we may need to rely on bootloader for the initialization. Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts |

[PATCH v3 4/5] ARM64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-10 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we may need to rely on bootloader for the initialization. Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-10 Thread Yixun Lan
Hi Jerome: On 01/10/2018 03:28 PM, Jerome Brunet wrote: > On Wed, 2018-01-10 at 10:12 +0800, Yixun Lan wrote: >> >> On 01/08/18 16:52, Jerome Brunet wrote: >>> On Mon, 2018-01-08 at 15:33 +0800, Yixun Lan wrote: >>>> These two patches are general improvement fo

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-10 Thread Yixun Lan
Hi Jerome: On 01/10/2018 03:28 PM, Jerome Brunet wrote: > On Wed, 2018-01-10 at 10:12 +0800, Yixun Lan wrote: >> >> On 01/08/18 16:52, Jerome Brunet wrote: >>> On Mon, 2018-01-08 at 15:33 +0800, Yixun Lan wrote: >>>> These two patches are general improvement fo

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-09 Thread Yixun Lan
On 01/08/18 16:52, Jerome Brunet wrote: > On Mon, 2018-01-08 at 15:33 +0800, Yixun Lan wrote: >> These two patches are general improvement for meson pinctrl driver. >> It make the two pinctrl trees (ee/ao) to share one uniform 'function' name >> for >> one hardwar

Re: [PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-09 Thread Yixun Lan
On 01/08/18 16:52, Jerome Brunet wrote: > On Mon, 2018-01-08 at 15:33 +0800, Yixun Lan wrote: >> These two patches are general improvement for meson pinctrl driver. >> It make the two pinctrl trees (ee/ao) to share one uniform 'function' name >> for >> one hardwar

[PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-07 Thread Yixun Lan
by Martin's question at [1] [1] http://lkml.kernel.org/r/CAFBinCCuQ-NK747+GHDkhZty_UMMgzCYOYFcNTrRDJgU8OM=g...@mail.gmail.com Yixun Lan (2): pinctrl: meson: introduce a macro to have name/groups seperated pinctrl: meson-axg: correct the pin expansion of UART_AO_B drivers/pinctrl/meson/pinctrl

[PATCH 0/2] pinctrl: meson: use one uniform 'function' name

2018-01-07 Thread Yixun Lan
by Martin's question at [1] [1] http://lkml.kernel.org/r/CAFBinCCuQ-NK747+GHDkhZty_UMMgzCYOYFcNTrRDJgU8OM=g...@mail.gmail.com Yixun Lan (2): pinctrl: meson: introduce a macro to have name/groups seperated pinctrl: meson-axg: correct the pin expansion of UART_AO_B drivers/pinctrl/meson/pinctrl

[PATCH 1/2] pinctrl: meson: introduce a macro to have name/groups seperated

2018-01-07 Thread Yixun Lan
but with different pin 'groups', as we face the sitiuation that two pin groups may live inside different hardware domain (EE vs AO domain), which mean we couldn't put them in one single group. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/pinctrl/meson/pinctrl-meson.h | 8 +

[PATCH 1/2] pinctrl: meson: introduce a macro to have name/groups seperated

2018-01-07 Thread Yixun Lan
but with different pin 'groups', as we face the sitiuation that two pin groups may live inside different hardware domain (EE vs AO domain), which mean we couldn't put them in one single group. Signed-off-by: Yixun Lan --- drivers/pinctrl/meson/pinctrl-meson.h | 8 +--- 1 file changed, 5 insertions

[PATCH 2/2] pinctrl: meson-axg: correct the pin expansion of UART_AO_B

2018-01-07 Thread Yixun Lan
it short and more consistent. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- drivers/pinctrl/meson/pinctrl-meson-axg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-axg.c b/drivers/pinctrl/meson/pinctrl-meson-axg.c

[PATCH 2/2] pinctrl: meson-axg: correct the pin expansion of UART_AO_B

2018-01-07 Thread Yixun Lan
it short and more consistent. Signed-off-by: Yixun Lan --- drivers/pinctrl/meson/pinctrl-meson-axg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/meson/pinctrl-meson-axg.c b/drivers/pinctrl/meson/pinctrl-meson-axg.c index 1fda9d6c7ea3..308e5433bd04

Re: [PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-07 Thread Yixun Lan
HI Martin: On 01/08/18 14:07, Yixun Lan wrote: > Hi Martin > > On 01/08/18 04:19, Martin Blumenstingl wrote: >> Hi Yixun, >> >> On Sat, Jan 6, 2018 at 1:10 AM, Yixun Lan <yixun@amlogic.com> wrote: >>> Describe the pinctrl info for the UART controlle

Re: [PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-07 Thread Yixun Lan
HI Martin: On 01/08/18 14:07, Yixun Lan wrote: > Hi Martin > > On 01/08/18 04:19, Martin Blumenstingl wrote: >> Hi Yixun, >> >> On Sat, Jan 6, 2018 at 1:10 AM, Yixun Lan wrote: >>> Describe the pinctrl info for the UART controller which is found >>&

Re: [PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-07 Thread Yixun Lan
Hi Martin On 01/08/18 04:19, Martin Blumenstingl wrote: > Hi Yixun, > > On Sat, Jan 6, 2018 at 1:10 AM, Yixun Lan <yixun@amlogic.com> wrote: >> Describe the pinctrl info for the UART controller which is found >> in the Meson-AXG SoCs. >> >> Signed-o

Re: [PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-07 Thread Yixun Lan
Hi Martin On 01/08/18 04:19, Martin Blumenstingl wrote: > Hi Yixun, > > On Sat, Jan 6, 2018 at 1:10 AM, Yixun Lan wrote: >> Describe the pinctrl info for the UART controller which is found >> in the Meson-AXG SoCs. >> >> Signed-off-by: Yixun Lan >> --

[PATCH v2 1/5] ARM64: dts: meson: uart: fix address space range

2018-01-05 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch

[PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
Describe the pinctrl info for the UART controller which is found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 97 ++ 1 file changed, 97 insertions(+) diff --git a/arch/arm64/boot/dts/a

[PATCH v2 5/5] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-05 Thread Yixun Lan
The UART_A is connected to a BT module on the S400 board. Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot

[PATCH v2 5/5] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-05 Thread Yixun Lan
The UART_A is connected to a BT module on the S400 board. Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic

[PATCH v2 1/5] ARM64: dts: meson: uart: fix address space range

2018-01-05 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson

[PATCH v2 3/5] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
Describe the pinctrl info for the UART controller which is found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 97 ++ 1 file changed, 97 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch

[PATCH v2 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-05 Thread Yixun Lan
Jerome's Ack [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com [2] http://lkml.kernel.org/r/20180105095621.196472-1-yixun@amlogic.com Yixun Lan (5): ARM64: dts: meson: uart: fix address space range ARM64: dts: meson-axg: uart: drop legacy compatible name from

[PATCH v2 0/5] ARM64: dts: meson-axg: UART DT updates

2018-01-05 Thread Yixun Lan
Jerome's Ack [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com [2] http://lkml.kernel.org/r/20180105095621.196472-1-yixun@amlogic.com Yixun Lan (5): ARM64: dts: meson: uart: fix address space range ARM64: dts: meson-axg: uart: drop legacy compatible name from

[PATCH v2 4/5] ARM64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-05 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we may need to rely on bootloader for the initialization. Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts |

[PATCH v2 2/5] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
ret = meson_uart_probe_clocks_legacy(pdev, port); else ret = meson_uart_probe_clocks(pdev, port); Acked-by: Jerome Brunet <jbru...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 8 ++-- 1 file ch

[PATCH v2 4/5] ARM64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-05 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we may need to rely on bootloader for the initialization. Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH v2 2/5] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
ret = meson_uart_probe_clocks_legacy(pdev, port); else ret = meson_uart_probe_clocks(pdev, port); Acked-by: Jerome Brunet Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ar

Re: [PATCH 4/6] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:28 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> Describe the pinctrl info for the UART controller which . >> +uart_a_cts_rts_pins: uart_a_cts_rts { >> +

Re: [PATCH 4/6] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:28 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> Describe the pinctrl info for the UART controller which . >> +uart_a_cts_rts_pins: uart_a_cts_rts { >> +

Re: [PATCH 2/6] ARM64: dts: meson-axg: uart: fix address space range

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:30 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> The address space range is actually 0x18, fixed here. > > Isn't it the same for other meson SoC ? If they are compatible, it should. > Could you please re-submit this cha

Re: [PATCH 2/6] ARM64: dts: meson-axg: uart: fix address space range

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:30 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> The address space range is actually 0x18, fixed here. > > Isn't it the same for other meson SoC ? If they are compatible, it should. > Could you please re-submit this cha

Re: [PATCH 1/6] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:30 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> For the UART controller in EE domain, they require 'pclk' to work. > > they ? "the driver" maybe ? > >> Current logic of the code will force to go for legacy

Re: [PATCH 1/6] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
On 01/05/2018 06:30 PM, Jerome Brunet wrote: > On Fri, 2018-01-05 at 17:56 +0800, Yixun Lan wrote: >> For the UART controller in EE domain, they require 'pclk' to work. > > they ? "the driver" maybe ? > >> Current logic of the code will force to go for legacy

[PATCH 2/6] ARM64: dts: meson-axg: uart: fix address space range

2018-01-05 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/a

[PATCH 2/6] ARM64: dts: meson-axg: uart: fix address space range

2018-01-05 Thread Yixun Lan
The address space range is actually 0x18, fixed here. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index

[PATCH 1/6] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
For the UART controller in EE domain, they require 'pclk' to work. Current logic of the code will force to go for legacy clock probe if it found current compatible string match to 'amlogic,meson-ao-uart'. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic

[PATCH 1/6] ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART

2018-01-05 Thread Yixun Lan
For the UART controller in EE domain, they require 'pclk' to work. Current logic of the code will force to go for legacy clock probe if it found current compatible string match to 'amlogic,meson-ao-uart'. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 ++-- 1 file

[PATCH 6/6] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-05 Thread Yixun Lan
The UART_A is connect to a BT module in the S400 board. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/a

[PATCH 6/6] ARM64: dts: meson-axg: enable the UART_A controller

2018-01-05 Thread Yixun Lan
The UART_A is connect to a BT module in the S400 board. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index

[PATCH 5/6] arm64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-05 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we my rely on bootloader for the initialization. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm6

[PATCH 5/6] arm64: dts: meson-axg: complete the pinctrl info for UART_AO_A

2018-01-05 Thread Yixun Lan
Explictly request the pinctrl info for the UART_AO_A controller, otherwise we my rely on bootloader for the initialization. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg

[PATCH 3/6] ARM64: dts: meson-axg: uart: Add the clock info description

2018-01-05 Thread Yixun Lan
Add the clock info description for the EE UART controller. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic

[PATCH 3/6] ARM64: dts: meson-axg: uart: Add the clock info description

2018-01-05 Thread Yixun Lan
Add the clock info description for the EE UART controller. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index 9636a7c5f6ed

[PATCH 0/6] ARM64: dts: meson-axg: UART DT updates

2018-01-05 Thread Yixun Lan
T_AO clock switch patch[1] also, these patch request clocks, so they need the tag:meson-clk-for-v4.16-2 from clk-meson's tree in order to compile. [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com Yixun Lan (6): ARM64: dts: meson-axg: uart: drop legacy compatible name fro

[PATCH 0/6] ARM64: dts: meson-axg: UART DT updates

2018-01-05 Thread Yixun Lan
T_AO clock switch patch[1] also, these patch request clocks, so they need the tag:meson-clk-for-v4.16-2 from clk-meson's tree in order to compile. [1] http://lkml.kernel.org/r/20171215141741.175985-1-yixun@amlogic.com Yixun Lan (6): ARM64: dts: meson-axg: uart: drop legacy compatible name fro

[PATCH 4/6] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
Describe the pinctrl info for the UART controller which found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 96 ++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/a

[PATCH 4/6] ARM64: dts: meson-axg: uart: Add the pinctrl info description

2018-01-05 Thread Yixun Lan
Describe the pinctrl info for the UART controller which found in the Meson-AXG SoCs. Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 96 ++ 1 file changed, 96 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch

[PATCH v4 1/2] ARM64: dts: meson-axg: add ethernet mac controller

2017-12-15 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. Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogi

[PATCH v4 1/2] ARM64: dts: meson-axg: add ethernet mac controller

2017-12-15 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. Reviewed-by: Neil Armstrong Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 54 ++ 1

[PATCH v4 2/2] ARM64: dts: meson-axg: enable ethernet for A113D S400 board

2017-12-15 Thread Yixun Lan
This is tested in the S400 dev board which use a RTL8211F PHY, and the pins connect to the 'eth_rgmii_y_pins' group. Reviewed-by: Neil Armstrong <narmstr...@baylibre.com> Signed-off-by: Yixun Lan <yixun@amlogic.com> --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++

[PATCH v4 2/2] ARM64: dts: meson-axg: enable ethernet for A113D S400 board

2017-12-15 Thread Yixun Lan
This is tested in the S400 dev board which use a RTL8211F PHY, and the pins connect to the 'eth_rgmii_y_pins' group. Reviewed-by: Neil Armstrong Signed-off-by: Yixun Lan --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64

[PATCH v4 0/2] Add ethernet support for Meson-AXG SoC

2017-12-15 Thread Yixun Lan
r/005735.html http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005694.html [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005738.html [6] git://github.com/BayLibre/clk-meson.git Yixun Lan (2): ARM64: dts: meson-axg: add ethernet mac controller ARM64: dts:

[PATCH v4 0/2] Add ethernet support for Meson-AXG SoC

2017-12-15 Thread Yixun Lan
r/005735.html http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005694.html [3] http://lists.infradead.org/pipermail/linux-amlogic/2017-December/005738.html [6] git://github.com/BayLibre/clk-meson.git Yixun Lan (2): ARM64: dts: meson-axg: add ethernet mac controller ARM64: dts:

Re: [PATCH v3 1/2] ARM64: dts: meson-axg: add ethernet mac controller

2017-12-15 Thread Yixun Lan
HI Kevin On 12/16/2017 03:29 AM, Kevin Hilman wrote: > Yixun Lan <yixun@amlogic.com> writes: > >> 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. >>

Re: [PATCH v3 1/2] ARM64: dts: meson-axg: add ethernet mac controller

2017-12-15 Thread Yixun Lan
HI Kevin On 12/16/2017 03:29 AM, Kevin Hilman wrote: > Yixun Lan writes: > >> 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. >> >> Reviewed-by: Nei

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

2017-12-15 Thread Yixun Lan
On 12/16/2017 03:48 AM, Kevin Hilman wrote: > Yixun Lan <yixun@amlogic.com> writes: > >> This is DT part patchset for adding pinctrl support for >> the Amlogic's Meson-AXG SoC. >> >> Changes since v3 at [3] >> -- rebase to khilman's v4.16/dt6

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

2017-12-15 Thread Yixun Lan
On 12/16/2017 03:48 AM, Kevin Hilman wrote: > Yixun Lan writes: > >> This is DT part patchset for adding pinctrl support for >> the Amlogic's Meson-AXG SoC. >> >> Changes since v3 at [3] >> -- rebase to khilman's v4.16/dt64 branch and re-send >>

Re: [PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Yixun Lan
Hi Jerome On 12/15/2017 11:01 PM, Jerome Brunet wrote: > On Fri, 2017-12-15 at 22:59 +0800, Yixun Lan wrote: >> Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. >> >> Signed-off-by: Yixun Lan <yixun@amlogic.com> >> >> --- >

Re: [PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Yixun Lan
Hi Jerome On 12/15/2017 11:01 PM, Jerome Brunet wrote: > On Fri, 2017-12-15 at 22:59 +0800, Yixun Lan wrote: >> Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. >> >> Signed-off-by: Yixun Lan >> >> --- >> >> Changes since v2 at

[PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Yixun Lan
Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. Signed-off-by: Yixun Lan <yixun@amlogic.com> --- Changes since v2 at [2] - rebase to Kevin's v4.16/dt64 branch - this patch depend on pinctrl DT driver Changes since v1 at [1]: - drop the compatbile 'amlogic,me

[PATCH v3] ARM64: dts: meson-axg: enable IR controller

2017-12-15 Thread Yixun Lan
Enable IR remote controller which found in Amlogic's Meson-AXG SoCs. Signed-off-by: Yixun Lan --- Changes since v2 at [2] - rebase to Kevin's v4.16/dt64 branch - this patch depend on pinctrl DT driver Changes since v1 at [1]: - drop the compatbile 'amlogic,meson-gx-ir' [2] http

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

2017-12-15 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> --- Changes int v2 since [1] - rebase to Kevin's tree,

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

2017-12-15 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 --- Changes int v2 since [1] - rebase to Kevin's tree, branch v4.16/dt64 - this patch depend on clock & pinctrl DT patch [1]

<    1   2   3   4   5   6   7   8   >