[PATCH v2 1/4] dt-bindings: k3dma: add optional property hisilicon,dma-min-chan

2018-07-05 Thread Guodong Xu
From: Li Yu Add optional property hisilicon,dma-min-chan for k3dma. Signed-off-by: Li Yu Signed-off-by: Guodong Xu --- Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation

[PATCH v2 0/4] k3dma: add support to reserved channels

2018-07-05 Thread Guodong Xu
secure/non-secure access permission but is actually set in early stage by bootloader. Guodong Xu (1): arm64: dts: hi3660: update property name hisilicon,dma-min-chan Li Yu (3): dt-bindings: k3dma: add optional property hisilicon,dma-min-chan k3dma: add support to reserved minimum channels

[PATCH v2 2/4] k3dma: add support to reserved minimum channels

2018-07-05 Thread Guodong Xu
umentation/devicetree/bindings/dma/k3dma.txt for more information. Signed-off-by: Li Yu Signed-off-by: Guodong Xu --- drivers/dma/k3dma.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index fa31cccbe04f..33efb541acb2 10

[PATCH v2 3/4] arm64: dts: hi3660: update property name hisilicon,dma-min-chan

2018-07-05 Thread Guodong Xu
Update property name dma-min-chan to "hisilicon,dma-min-chan" Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.

[PATCH v2 4/4] k3dma: delete axi_config

2018-07-05 Thread Guodong Xu
From: Li Yu Axi_config controls whether DMA resources can be accessed in non-secure mode, such as linux kernel. The setting is actually done in bootloader stage. This patch removes axi_config from k3dma driver. Signed-off-by: Li Yu Signed-off-by: Guodong Xu --- drivers/dma/k3dma.c | 3

Re: [PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan

2018-07-05 Thread Guodong Xu
On Wed, Jul 4, 2018 at 9:14 AM Guodong Xu wrote: > > On Wed, Jul 4, 2018 at 2:54 AM Rob Herring wrote: > > > > On Fri, Jun 22, 2018 at 11:24:14AM +0800, Guodong Xu wrote: > > > From: Li Yu > > > > > > Add optional property dma_min_cha

Re: [PATCH 2/3] k3dma: add support to reserved minimum channels

2018-07-05 Thread Guodong Xu
On Thu, Jun 28, 2018 at 2:02 PM Vinod wrote: > > On 22-06-18, 11:24, Guodong Xu wrote: > > From: Li Yu > > > > On k3 series of SoC, DMA controller reserves some channels for > > other on-chip coprocessors. By adding support to dma_min_chan, kernel > > wi

Re: [PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan

2018-07-03 Thread Guodong Xu
On Wed, Jul 4, 2018 at 2:54 AM Rob Herring wrote: > > On Fri, Jun 22, 2018 at 11:24:14AM +0800, Guodong Xu wrote: > > From: Li Yu > > > > Add optional property dma_min_chan for k3dma. > > > > Signed-off-by: Li Yu > > --- > > Documentation/dev

[PATCH 0/3] k3dma: add support to reserved channels

2018-06-21 Thread Guodong Xu
This patchset fixes bug people found on hikey960 when allocating DMA channels to peripherals such as SPI. It fails because the channel is reserved, and is not accessible by kernel. Patch 1 and 2 add support to reserved channels for K3 DMA. Patch 3 includes a removal of axi_config who controls DMA

[PATCH 3/3] k3dma: delete axi_config

2018-06-21 Thread Guodong Xu
From: Li Yu Axi_config controls whether DMA resources can be accessed in non-secure mode, such as linux kernel. The setting is actually done in bootloader stage. This patch removes axi_config from k3dma driver. Signed-off-by: Li Yu Signed-off-by: Guodong Xu --- drivers/dma/k3dma.c | 3

[PATCH 2/3] k3dma: add support to reserved minimum channels

2018-06-21 Thread Guodong Xu
/devicetree/bindings/dma/k3dma.txt Signed-off-by: Li Yu Signed-off-by: Guodong Xu --- drivers/dma/k3dma.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/dma/k3dma.c b/drivers/dma/k3dma.c index fa31cccbe04f..13cec12742e3 100644 --- a/drivers/dma/k3dma.c

[PATCH 1/3] dt-bindings: k3dma: add optional property dma_min_chan

2018-06-21 Thread Guodong Xu
From: Li Yu Add optional property dma_min_chan for k3dma. Signed-off-by: Li Yu --- Documentation/devicetree/bindings/dma/k3dma.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/k3dma.txt b/Documentation/devicetree/bindings/dma/k3dma.txt index

Re: [PATCH 4/4] arm64: dts: hisilicon: hi3660-hikey960: Allow USR4 LED to notify kernel panic

2017-10-24 Thread Guodong Xu
On Mon, Oct 23, 2017 at 12:43 PM, Amit Kucheria wrote: > On Thu, Oct 19, 2017 at 5:30 PM, Guodong Xu wrote: >> >> >> On Thu, Oct 19, 2017 at 4:57 AM, Amit Kucheria >> wrote: >>> >>> Blink the LED on a kernel panic. >>> >>> Signed-of

[PATCH v3 10/10] arm64: dts: hi3660: enable watchdog

2017-08-14 Thread Guodong Xu
From: Leo Yan This patch is to add watchdog binding for Hi3660 on Hikey960 board. Cc: Guodong Xu Cc: Zhong Kaihua Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660

[PATCH v3 08/10] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps

2017-08-14 Thread Guodong Xu
Update bluetooth UART max-speed to 3Mbps Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts

[PATCH v3 09/10] arm64: dts: hi3660: add bindings for DMA

2017-08-14 Thread Guodong Xu
From: Wang Ruyi Add bindings for DMA. Signed-off-by: Wang Ruyi Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi

[PATCH v3 04/10] arm64: dts: hikey960: Add optee node

2017-08-14 Thread Guodong Xu
From: Victor Chong This patch adds op-tee node for hikey960 Signed-off-by: Victor Chong --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hik

[PATCH v3 05/10] arm64: dts: hikey960: Add support for syscon-reboot-mode

2017-08-14 Thread Guodong Xu
Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64

[PATCH v3 07/10] arm64: dts: hi3660: Reset the mmc hosts

2017-08-14 Thread Guodong Xu
Add reset-names = "reset" into mmc nodes. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 5fd5686..41841f7 100644

[PATCH v3 06/10] arm64: dts: hikey960: Add pstore support

2017-08-14 Thread Guodong Xu
This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey960. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64

[PATCH v3 01/10] arm64: dts: hi3660: enable idle states

2017-08-14 Thread Guodong Xu
From: Leo Yan There are two clusters on the Hi3660, the first one is Cortex-A53 based and the other one is Cortex-A73 based. These two clusters have different idle states. Thanks to Daniel Lezcano's recent changes, the generic ARM cpuidle driver can now support several clusters with different id

[PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology

2017-08-14 Thread Guodong Xu
From: Leo Yan This patch adds the L2 cache topology on 96boards Hikey960. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660

[PATCH v3 03/10] arm64: dts: hi3660: add pmu dt node for hi3660

2017-08-14 Thread Guodong Xu
From: YiPing Xu Add pmu dt node for hi3660 Signed-off-by: YiPing Xu Signed-off-by: Zhong Kaihua Signed-off-by: Leo Yan Tested-by: Jumana Mundichipparakkal --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/

[PATCH v3 00/10] arm64: dts: hi3660: add more device nodes

2017-08-14 Thread Guodong Xu
node. [1] https://github.com/96boards/documentation/tree/master/ConsumerEdition/HiKey960 Guodong Xu (4): arm64: dts: hikey960: Add support for syscon-reboot-mode arm64: dts: hikey960: Add pstore support arm64: dts: hi3660: Reset the mmc hosts arm64: dts: hikey960: change bluetooth uart ma

[PATCH v2 2/6] arm64: defconfig: enable support hi6421v530 PMIC

2017-08-09 Thread Guodong Xu
Enable configs for hi6421v530 mfd and regulator driver + CONFIG_MFD_HI6421_PMIC=y + CONFIG_REGULATOR_HI6421V530=y Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device

2017-08-09 Thread Guodong Xu
This patch enables these configs: +CONFIG_SERIAL_DEV_BUS=y +CONFIG_SERIAL_DEV_CTRL_TTYPORT=y As example, a bluetooth device connected to UART port can be supported by this. Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe

2017-08-09 Thread Guodong Xu
From: Xiaowei Song Enable HiSilicon Kirin series SoCs PCIe controllers Signed-off-by: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b4ca115..4e14c6d

[PATCH v2 6/6] arm64: defconfig: enable DMA driver for hi3660

2017-08-09 Thread Guodong Xu
From: Wang Ruyi enable DMA driver for hi3660. Signed-off-by: Wang Ruyi --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 81008e1..ab085d0 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/ar

[PATCH v2 5/6] arm64: defconfig: enable OP-TEE

2017-08-09 Thread Guodong Xu
From: Victor Chong This patch enables configs for Trusted Execution Environment (TEE) and OP-TEE. +CONFIG_TEE=y +CONFIG_OPTEE=y Signed-off-by: Victor Chong Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs

[PATCH v2 3/6] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE

2017-08-09 Thread Guodong Xu
Enable CONFIG_SYSCON_REBOOT_MODE Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d752beb..f7081056 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs

[PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960

2017-08-09 Thread Guodong Xu
, please refer to [1]. [1] https://github.com/96boards/documentation/tree/master/ConsumerEdition/HiKey960 === Major changes in v2: - Add patch 6 to enable K3 DMA Guodong Xu (3): arm64: defconfig: enable support hi6421v530 PMIC arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE arm64

[PATCH v2 3/9] arm64: dts: hi3660: add pmu dt node for hi3660

2017-08-09 Thread Guodong Xu
From: YiPing Xu Add pmu dt node for hi3660 Signed-off-by: YiPing Xu Signed-off-by: Zhong Kaihua Signed-off-by: Leo Yan Tested-by: Jumana Mundichipparakkal --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/

[PATCH v2 4/9] arm64: dts: hikey960: Add optee node

2017-08-09 Thread Guodong Xu
From: Victor Chong This patch adds op-tee node for hikey960 Signed-off-by: Victor Chong --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hik

[PATCH v2 9/9] arm64: dts: hi3660: add bindings for DMA

2017-08-09 Thread Guodong Xu
From: Wang Ruyi Add bindings for DMA. Signed-off-by: Wang Ruyi Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi

[PATCH v2 5/9] arm64: dts: hikey960: Add support for syscon-reboot-mode

2017-08-09 Thread Guodong Xu
Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64

[PATCH v2 8/9] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps

2017-08-09 Thread Guodong Xu
Update bluetooth UART max-speed to 3Mbps Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts

[PATCH v2 6/9] arm64: dts: hikey960: Add pstore support

2017-08-09 Thread Guodong Xu
This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey960. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64

[PATCH v2 7/9] arm64: dts: hi3660: Reset the mmc hosts

2017-08-09 Thread Guodong Xu
Add reset-names = "reset" into mmc nodes. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 5fd5686..41841f7 100644

[PATCH v2 2/9] arm64: dts: hi3660: add L2 cache topology

2017-08-09 Thread Guodong Xu
From: Leo Yan This patch adds the L2 cache topology on 96boards Hikey960. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660

[PATCH v2 1/9] arm64: dts: hi3660: enable idle states

2017-08-09 Thread Guodong Xu
From: Leo Yan On Hi3660 there have two clusters, one is CA53 cluster and another is CA73 cluster. This two clusters have different idle states separately. With Daniel Lezcano's patch (ARM: cpuidle: Support asymmetric idle definition), now ARM idle driver can support different clusters with differ

[PATCH v2 0/9] arm64: dts: hi3660: add more device nodes

2017-08-09 Thread Guodong Xu
or details information about it, please refer to [1]. === Major changes in v2: - add patch 8 to change bluetooth uart max-speed to 3Mbps - add patch 9 for DMA node. [1] https://github.com/96boards/documentation/tree/master/ConsumerEdition/HiKey960 Guodong Xu (4): arm64: dts: hikey960: Add s

[PATCH] clk: hi3660: fix incorrect uart3 clock freqency

2017-08-07 Thread Guodong Xu
clk_factor_uart3 to 1. Signed-off-by: Zhong Kaihua Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/hisilicon/clk-hi3660.c b/drivers/clk/hisilicon/clk-hi3660.c index a18258e..f404199 100644 --- a

[PATCH 5/5] arm64: defconfig: enable OP-TEE

2017-08-07 Thread Guodong Xu
From: Victor Chong This patch enables configs for Trusted Execution Environment (TEE) and OP-TEE. +CONFIG_TEE=y +CONFIG_OPTEE=y Signed-off-by: Victor Chong Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs

[PATCH 3/5] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE

2017-08-07 Thread Guodong Xu
Enable CONFIG_SYSCON_REBOOT_MODE Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index d752beb..f7081056 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs

[PATCH 4/5] arm64: defconfig: enable support for serial port connected device

2017-08-07 Thread Guodong Xu
This patch enables these configs: +CONFIG_SERIAL_DEV_BUS=y +CONFIG_SERIAL_DEV_CTRL_TTYPORT=y As example, a bluetooth device connected to UART port can be supported by this. Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH 2/5] arm64: defconfig: enable support hi6421v530 PMIC

2017-08-07 Thread Guodong Xu
Enable configs for hi6421v530 mfd and regulator driver + CONFIG_MFD_HI6421_PMIC=y + CONFIG_REGULATOR_HI6421V530=y Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH 1/5] arm64: defconfig: enable Kirin PCIe

2017-08-07 Thread Guodong Xu
From: Xiaowei Song Enable HiSilicon Kirin series SoCs PCIe controllers Signed-off-by: Guodong Xu Signed-off-by: Xiaowei Song --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index b4ca115..4e14c6d

[PATCH 0/5] arm64: defconfig: enable configs for HiKey960

2017-08-07 Thread Guodong Xu
to [1]. [1] https://github.com/96boards/documentation/tree/master/ConsumerEdition/HiKey960 Guodong Xu (3): arm64: defconfig: enable support hi6421v530 PMIC arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE arm64: defconfig: enable support for serial port connected device Victor Chong (1

[PATCH 2/7] arm64: dts: hi3660: add L2 cache topology

2017-08-07 Thread Guodong Xu
From: Leo Yan This patch adds the L2 cache topology on 96boards Hikey960. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660

[PATCH 6/7] arm64: dts: hikey960: Add pstore support

2017-08-07 Thread Guodong Xu
This patch reserves some memory in the DTS and sets up a pstore device tree node to enable pstore support on HiKey960. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64

[PATCH 5/7] arm64: dts: hikey960: Add support for syscon-reboot-mode

2017-08-07 Thread Guodong Xu
Add support to hikey960 dts for the syscon-reboot-mode driver. Cc: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64

[PATCH 3/7] arm64: dts: hi3660: add pmu dt node for hi3660

2017-08-07 Thread Guodong Xu
From: YiPing Xu Add pmu dt node for hi3660 Signed-off-by: YiPing Xu Signed-off-by: Zhong Kaihua Signed-off-by: Leo Yan Tested-by: Jumana Mundichipparakkal --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/

[PATCH 1/7] arm64: dts: hi3660: enable idle states

2017-08-07 Thread Guodong Xu
From: Leo Yan On Hi3660 there have two clusters, one is CA53 cluster and another is CA73 cluster. This two clusters have different idle states separately. With Daniel Lezcano's patch (ARM: cpuidle: Support asymmetric idle definition), now ARM idle driver can support different clusters with differ

[PATCH 7/7] arm64: dts: hi3660: Reset the mmc hosts

2017-08-07 Thread Guodong Xu
Add reset-names = "reset" into mmc nodes. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 5fd5686..41841f7 100644

[PATCH 4/7] arm64: dts: hikey960: Add optee node

2017-08-07 Thread Guodong Xu
From: Victor Chong This patch adds op-tee node for hikey960 Signed-off-by: Victor Chong --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilicon/hi3660-hik

[PATCH 0/7] arm64: dts: hi3660: add more device nodes

2017-08-07 Thread Guodong Xu
[1] https://github.com/96boards/documentation/tree/master/ConsumerEdition/HiKey960 Guodong Xu (3): arm64: dts: hikey960: Add support for syscon-reboot-mode arm64: dts: hikey960: Add pstore support arm64: dts: hi3660: Reset the mmc hosts Leo Yan (2): arm64: dts: hi3660: enable idle states

[PATCH v7 0/3] MFD: add driver for HiSilicon Hi6421v530 PMIC

2017-07-20 Thread Guodong Xu
Major changes in v2: - instead of writing a new driver, extend hi6421-pmic-core.c to support its v530 revision - update hi6421v530-regulator.c to use modern regulator driver design logics. *** BLURB HERE *** Guodong Xu (3): mfd: hi6421-pmic: cleanup: change license text to shorter for

[PATCH v7 1/3] mfd: hi6421-pmic: cleanup: change license text to shorter form

2017-07-20 Thread Guodong Xu
Change license text to a shorter form of GPLv2. Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/mfd/hi6421-pmic-core.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c index 3fd703f

[PATCH v7 2/3] mfd: hi6421-pmic: cleanup: update dev_err messages

2017-07-20 Thread Guodong Xu
Update dev_err messages to make them more readable. Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/mfd/hi6421-pmic-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/hi6421-pmic-core.c b/drivers/mfd/hi6421-pmic-core.c index ad9e3d8

[PATCH v7 3/3] mfd: hi6421-pmic: add support for HiSilicon Hi6421v530

2017-07-20 Thread Guodong Xu
regulator details, LDO voltage points. Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu Acked-by: Arnd Bergmann --- drivers/mfd/hi6421-pmic-core.c | 70 ++--- include/linux/mfd/hi6421-pmic.h | 5 +++ 2 files changed, 57 insertions(+), 18 deletions(-) diff

Re: [PATCH v5] mmc: dw_mmc-k3: add sd support for hi3660

2017-07-05 Thread Guodong Xu
On Thu, Jul 6, 2017 at 1:13 PM, Jaehoon Chung wrote: > Hi, > > To Guodong, if you can forward this to Li Wei, plz do it. Sorry. > Sure. Put Li Wei in cc. And add my response. > On 07/03/2017 10:06 AM, liwei wrote: >> >> Add sd card support for hi3660 soc > > Need the patch for adding "hi3660-dw-

Re: [PATCH v11 0/3]add PCIe driver for Kirin PCIe

2017-07-03 Thread Guodong Xu
On Mon, Jul 3, 2017 at 9:32 PM, Wei Xu wrote: > Hi Guodong, > > On 2017/7/3 14:04, Guodong Xu wrote: >> Hi, Xu Wei >> >> >> >> On Mon, Jul 3, 2017 at 6:47 PM, Will Deacon wrote: >>> On Sun, Jul 02, 2017 at 06:36:57PM -0500, Bjorn Helgaas

Re: [PATCH v11 0/3]add PCIe driver for Kirin PCIe

2017-07-03 Thread Guodong Xu
Hi, Xu Wei On Mon, Jul 3, 2017 at 6:47 PM, Will Deacon wrote: > On Sun, Jul 02, 2017 at 06:36:57PM -0500, Bjorn Helgaas wrote: >> [+cc Catalin, Will, linux-arm-kernel] >> >> Applied patches 2 & 3 to pci/host-kirin for v4.13. >> >> I would like a MAINTAINERS update, too. If you send me that, I'

Re: [PATCH v4] mmc: dw_mmc-k3: add sd support for hi3660

2017-06-30 Thread Guodong Xu
Hi, Li Wei I have some minor comments to your patch. > On Tue, Jun 13, 2017 at 3:25 PM, liwei wrote: First of all, please modify author part. It is recommended to use "Li Wei", instead of what you are using now "liwei". If you are using git format-patch, send-email, please modify your ~/.gitcon

Re: [PATCH v11 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-26 Thread Guodong Xu
see it in linux-next 0626. Best regards, Guodong Xu On Mon, Jun 19, 2017 at 6:23 PM, Xiaowei Song wrote: > Hisilicon PCIe Driver shares the common functions for PCIe dw-host > > The poweron functions is developed on hi3660 SoC, > while Others Functions are common for Kirin series S

Re: [PATCH v6 4/8] mfd: hi6421-pmic: add support for HiSilicon Hi6421v530

2017-06-26 Thread Guodong Xu
: https://lkml.org/lkml/2017/6/8/1077 Thank you. Best regards, Guodong On Fri, Jun 9, 2017 at 6:08 AM, Guodong Xu wrote: > Add support for HiSilicon Hi6421v530 PMIC. Hi6421v530 communicates with > main SoC via memory-mapped I/O. > > Hi6421v530 and Hi6421 are PMIC chips from the

Re: [PATCH v4] mmc: dw_mmc-k3: add sd support for hi3660

2017-06-26 Thread Guodong Xu
Hi, Ulf, Jaehoon Sorry to disturb. Would it be possible to get some of your bandwidth on this patch? Would you please give us your opinion? Thank you. -Guodong On Tue, Jun 13, 2017 at 3:25 PM, liwei wrote: > Add sd card support for hi3660 soc > > Signed-off-by: Li Wei > Signed-off-by: Chen J

Re: [PATCH v10 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-06-21 Thread Guodong Xu
On Mon, Jun 19, 2017 at 10:02 PM, kbuild test robot wrote: > Hi Xiaowei, > > [auto build test ERROR on pci/next] > [also build test ERROR on v4.12-rc5 next-20170619] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://githu

Re: [PATCH 3/3] arm64: dts: register Hi3660's thermal sensor

2017-06-20 Thread Guodong Xu
On Tue, Jun 20, 2017 at 4:32 PM, Wangtao (Kevin, Kirin) wrote: > > > 在 2017/6/20 15:38, Guodong Xu 写道: >> >> >> >> 2017年6月20日 上午11:49,"Tao Wang" > <mailto:kevin.wang...@hisilicon.com>>写道: >> >> Bind thermal sensor driver

Re: [PATCH v2 3/5] arm64: dts: Add ufs dts node

2017-06-18 Thread Guodong Xu
On Sun, Jun 18, 2017 at 8:31 AM, kbuild test robot wrote: > Hi Bu, > > [auto build test ERROR on mkp-scsi/for-next] > [also build test ERROR on v4.12-rc5 next-20170616] > [cannot apply to robh/for-next] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the

Re: [PATCH v9 2/4] arm64: dts: hisi: add kirin pcie node

2017-06-16 Thread Guodong Xu
Hi, Bjorn On Sat, Jun 17, 2017 at 5:11 AM, Bjorn Helgaas wrote: > On Tue, Jun 06, 2017 at 07:19:53PM +0800, Guodong Xu wrote: >> Hi, Arnd >> >> On Tue, Jun 6, 2017 at 5:23 PM, Arnd Bergmann wrote: >> > On Sun, Jun 4, 2017 at 2:03 AM, kbuild test robot wrote: >&

[PATCH v5 15/20] arm64: dts: hisi: add kirin pcie node

2017-06-16 Thread Guodong Xu
From: Xiaowei Song Add PCIe node for hi3660 Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Arnd Bergmann Changes in v5: * fix interrupt-map, to conform to gic's #address-cells = <0> * remove redundant status = "ok" --- arch/arm64/boot/dts/hisil

Re: [PATCH v6 7/8] arm64: dts: hikey960: add device node for pmic and regulators

2017-06-15 Thread Guodong Xu
Thanks, Wei. On Fri, Jun 16, 2017 at 3:55 AM, Wei Xu wrote: > Hi Guodong, > > On 2017/6/8 23:08, Guodong Xu wrote: >> From: Wang Xiaoyin >> >> add device node for hi6421 pmic core and hi6421v530 >> voltage regulator,include LDO(1,3,9,11,15,16) >> >>

[PATCH v4 09/20] arm64: dts: hi3660: Add pl031 rtc node

2017-06-14 Thread Guodong Xu
From: Chen Feng Add dts node to enable pl031 rtc. Signed-off-by: Chen Feng Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi ind

[PATCH v4 12/20] arm64: dts: hi3660: add spi device nodes

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin Add spi2 and spi3 device nodes for hi3660, and enable them for hikey960. On HiKey960: - SPI2 is wired out through low speed expansion connector. - SPI3 is wired out through high speed expansion connector. Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch

[PATCH v4 19/20] arm64: dts: hi3660: add sd/sdio device nodes

2017-06-14 Thread Guodong Xu
From: Li Wei Add sd/sdio device nodes for hi3660 soc Signed-off-by: Li Wei Signed-off-by: Chen Jun --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 8 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 58 +++ 2 files changed, 66 insertions(+) diff --git a/a

[PATCH v4 20/20] arm64: dts: hi3660-hikey960: add nodes for WiFi

2017-06-14 Thread Guodong Xu
Add nodes for WiFi. HiKey960 is using TI WL1837MOD module. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 33 +++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts

[PATCH v4 17/20] arm64: dts: hikey960: add device node for pmic and regulators

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 46 +++ 1 file changed, 46 insertions

[PATCH v4 18/20] dt-bindings: mmc: dw_mmc-k3: add document of hi3660 mmc

2017-06-14 Thread Guodong Xu
Add bindings for hi3660 mmc support Signed-off-by: Li Wei Signed-off-by: Guodong Xu --- Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/k3-dw

[PATCH v4 15/20] arm64: dts: hisi: add kirin pcie node

2017-06-14 Thread Guodong Xu
From: Xiaowei Song Add PCIe node for hi3660, and add binding documentation. Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Arnd Bergmann --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 32 +++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot

[PATCH v4 16/20] dt-bindings: mfd: hi6421: Add hi6421v530 compatible string

2017-06-14 Thread Guodong Xu
Add compatible string for HiSilicon Hi6421v530 PMIC. Signed-off-by: Guodong Xu Acked-for-mfd-by: Lee Jones Acked-by: Arnd Bergmann --- Documentation/devicetree/bindings/mfd/hi6421.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd

[PATCH v4 13/20] arm64: dts: hi3660: add sp804 timer node

2017-06-14 Thread Guodong Xu
From: Leo Yan The Hi3660 SoC comes with the sp804 timer in addition to the architecture timers. These ones are shutdown when reaching a deep idle states and a backup timer is needed. The sp804 belongs to another power domain and can fulfill the purpose of replacing temporarily an architecture tim

[PATCH v4 14/20] dt-bindings: PCI: hisi: Add document for PCIe of Kirin SoCs

2017-06-14 Thread Guodong Xu
From: Xiaowei Song This patch adds document for PCIe of Kirin SoC series. Signed-off-by: Xiaowei Song Acked-by: Rob Herring --- .../devicetree/bindings/pci/kirin-pcie.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v4 11/20] arm64: dts: hikey960: add LED nodes

2017-06-14 Thread Guodong Xu
HiKey960 has four user LEDs, and two special purpose LEDs: WiFi and BT respectively. All of them are implemented as GPIO. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot

[PATCH v4 06/20] arm64: dts: hi3660: add gpio dtsi file for Hisilicon Hi3660 SOC

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin This patch adds pl061 device nodes for Hi3660 SoC. Signed-off-by: Wang Xiaoyin --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 380 ++ 1 file changed, 380 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts

[PATCH v4 08/20] arm64: dts: hikey960: add WL1837 Bluetooth device node

2017-06-14 Thread Guodong Xu
This adds the serial slave device for the WL1837 Bluetooth interface. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts

[PATCH v4 07/20] arm64: dts: hi3660: Add uarts nodes

2017-06-14 Thread Guodong Xu
wired out through low speed expansion connector. - UART5 is not used in commercial launched boards. So disable it. - UART4 is connected to Bluetooth, WL1837. Signed-off-by: Chen Feng Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu Reviewed-by: Zhangfei Gao --- arch/arm64/boot/dts

[PATCH v4 10/20] arm64: dts: hi3660: add power key dts node

2017-06-14 Thread Guodong Xu
From: Chen Jun We use gpio_034 as power key on hikey960, and set gpio with pull-up state, when key press the voltage on the gpio will come to lower, and power key event will be reported. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts

[PATCH v4 05/20] arm64: dts: Add I2C nodes for Hi3660

2017-06-14 Thread Guodong Xu
From: Zhangfei Gao Add I2C nodes for Hi3660-hikey960. On HiKey960, I2C0, I2C7 are connected to Low Speed Expansion Connector. I2C1 is connected to ADV7535. I2C3 is connected to USB5734. Cc: Jarkko Nikula Signed-off-by: Zhangfei Gao Signed-off-by: Guodong Xu --- arch/arm64/boot/dts

[PATCH v4 03/20] arm64: dts: hikey960: pinctrl: add more pinmux and pinconfig

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin This commit adds more pinmux and pinctrl information for devices on HiKey960, including i2c, spi, cam, uart, ufs, pcie, csi, pwr_key, isp, sd/sdio, i2s, and usb. Signed-off-by: Wang Xiaoyin Signed-off-by: Chen Jun Signed-off-by: Guodong Xu Acked-by: Rob Herring

[PATCH v4 02/20] arm64: dts: hisilicon: update compatible string for hikey960

2017-06-14 Thread Guodong Xu
Update compatible string for hikey960. HiKey960 is a develpment board built with SoC Hi3660. Signed-off-by: Guodong Xu Signed-off-by: Chen Feng Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

[PATCH v4 04/20] arm64: dts: hi3660: add resources for clock and reset

2017-06-14 Thread Guodong Xu
From: Zhangfei Gao Add some resource nodes for clock and reset Signed-off-by: Zhangfei Gao Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 53 +++ 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3

[PATCH v4 01/20] dt-bindings: arm: hisilicon: add bindings for HiKey960 board

2017-06-14 Thread Guodong Xu
Add bindings for HiKey960 Board. Signed-off-by: Guodong Xu Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree

[PATCH v4 00/20] arm64: dts: hi3660: add device nodes

2017-06-14 Thread Guodong Xu
g586147.html [5] mmc: https://patchwork.kernel.org/patch/9783273/ Chen Feng (2): arm64: dts: hi3660: Add uarts nodes arm64: dts: hi3660: Add pl031 rtc node Chen Jun (1): arm64: dts: hi3660: add power key dts node Guodong Xu (7): dt-bindings: arm: hisilicon: add bindings for HiKey96

Re: [PATCH v3 14/21] arm64: dts: hi3660: enable idle states

2017-06-14 Thread Guodong Xu
On Thu, Jun 15, 2017 at 8:23 AM, Leo Yan wrote: > On Wed, Jun 14, 2017 at 04:23:31PM +0800, Guodong Xu wrote: >> From: Leo Yan >> >> On Hi3660 there have two clusters, one is CA53 cluster and another is >> CA73 cluster. This two clusters have different idle states

[PATCH] regulator: hi6421v530: Describe consumed platform device

2017-06-14 Thread Guodong Xu
The hi6421v530-regulator driver consumes a similarly named platform device. Adding that to the module device table, allows modprobe to locate this driver once the device is created. Signed-off-by: Guodong Xu --- drivers/regulator/hi6421v530-regulator.c | 7 +++ 1 file changed, 7 insertions

[PATCH v3 03/21] arm64: dts: hikey960: pinctrl: add more pinmux and pinconfig

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin This commit adds more pinmux and pinctrl information for devices on HiKey960, including i2c, spi, cam, uart, ufs, pcie, csi, pwr_key, isp, sd/sdio, i2s, and usb. Signed-off-by: Wang Xiaoyin Signed-off-by: Chen Jun Signed-off-by: Guodong Xu Acked-by: Rob Herring

[PATCH v3 07/21] arm64: dts: hi3660: Add uarts nodes

2017-06-14 Thread Guodong Xu
wired out through low speed expansion connector. - UART5 is not used in commercial launched boards. So disable it. - UART4 is connected to Bluetooth, WL1837. Signed-off-by: Chen Feng Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu Reviewed-by: Zhangfei Gao --- arch/arm64/boot/dts

[PATCH v3 05/21] arm64: dts: Add I2C nodes for Hi3660

2017-06-14 Thread Guodong Xu
From: Zhangfei Gao Add I2C nodes for Hi3660-hikey960. On HiKey960, I2C0, I2C7 are connected to Low Speed Expansion Connector. I2C1 is connected to ADV7535. I2C3 is connected to USB5734. Cc: Jarkko Nikula Signed-off-by: Zhangfei Gao Signed-off-by: Guodong Xu --- arch/arm64/boot/dts

[PATCH v3 08/21] arm64: dts: hikey960: add WL1837 Bluetooth device node

2017-06-14 Thread Guodong Xu
This adds the serial slave device for the WL1837 Bluetooth interface. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts

  1   2   3   4   >