2017-08-10 02:37:43

by Guodong Xu

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

This patchset enables config items in arm64/defconfig for HiKey960. All
of them correspond to real functions on HiKey960.

Including:
- Kirin PCIe
- PMIC support, hi6421v530
- syscon reboot mode
- serdev bus
- OP-TEE
- K3 DMA

HiKey960 is one of 96boards. For details information about it, 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: defconfig: enable support for serial port connected device

Victor Chong (1):
arm64: defconfig: enable OP-TEE

Wang Ruyi (1):
arm64: defconfig: enable DMA driver for hi3660

Xiaowei Song (1):
arm64: defconfig: enable Kirin PCIe

arch/arm64/configs/defconfig | 9 +++++++++
1 file changed, 9 insertions(+)

--
2.10.2


2017-08-10 02:37:51

by Guodong Xu

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

From: Xiaowei Song <[email protected]>

Enable HiSilicon Kirin series SoCs PCIe controllers

Signed-off-by: Guodong Xu <[email protected]>
Signed-off-by: Xiaowei Song <[email protected]>
---
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 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -68,6 +68,7 @@ CONFIG_HOTPLUG_PCI_ACPI=y
CONFIG_PCI_LAYERSCAPE=y
CONFIG_PCI_HISI=y
CONFIG_PCIE_QCOM=y
+CONFIG_PCIE_KIRIN=y
CONFIG_PCIE_ARMADA_8K=y
CONFIG_PCI_AARDVARK=y
CONFIG_PCIE_RCAR=y
--
2.10.2

2017-08-10 02:37:57

by Guodong Xu

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

Enable configs for hi6421v530 mfd and regulator driver
+ CONFIG_MFD_HI6421_PMIC=y
+ CONFIG_REGULATOR_HI6421V530=y

Signed-off-by: Guodong Xu <[email protected]>
---
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 4e14c6d..d752beb 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -317,6 +317,7 @@ CONFIG_MFD_CROS_EC=y
CONFIG_MFD_CROS_EC_I2C=y
CONFIG_MFD_CROS_EC_SPI=y
CONFIG_MFD_EXYNOS_LPASS=m
+CONFIG_MFD_HI6421_PMIC=y
CONFIG_MFD_HI655X_PMIC=y
CONFIG_MFD_MAX77620=y
CONFIG_MFD_SPMI_PMIC=y
@@ -325,6 +326,7 @@ CONFIG_MFD_SEC_CORE=y
CONFIG_REGULATOR_FAN53555=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
CONFIG_REGULATOR_GPIO=y
+CONFIG_REGULATOR_HI6421V530=y
CONFIG_REGULATOR_HI655X=y
CONFIG_REGULATOR_MAX77620=y
CONFIG_REGULATOR_PWM=y
--
2.10.2

2017-08-10 02:38:03

by Guodong Xu

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

Enable CONFIG_SYSCON_REBOOT_MODE

Signed-off-by: Guodong Xu <[email protected]>
---
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/defconfig
@@ -298,6 +298,7 @@ CONFIG_GPIO_MAX77620=y
CONFIG_POWER_RESET_MSM=y
CONFIG_POWER_RESET_XGENE=y
CONFIG_POWER_RESET_SYSCON=y
+CONFIG_SYSCON_REBOOT_MODE=y
CONFIG_BATTERY_BQ27XXX=y
CONFIG_SENSORS_ARM_SCPI=y
CONFIG_SENSORS_LM90=m
--
2.10.2

2017-08-10 02:38:09

by Guodong Xu

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

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 <[email protected]>
---
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f7081056..99f7e06 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -251,6 +251,8 @@ CONFIG_SERIAL_MSM_CONSOLE=y
CONFIG_SERIAL_XILINX_PS_UART=y
CONFIG_SERIAL_XILINX_PS_UART_CONSOLE=y
CONFIG_SERIAL_MVEBU_UART=y
+CONFIG_SERIAL_DEV_BUS=y
+CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
CONFIG_VIRTIO_CONSOLE=y
CONFIG_I2C_CHARDEV=y
CONFIG_I2C_MUX=y
--
2.10.2

2017-08-10 02:38:14

by Guodong Xu

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

From: Victor Chong <[email protected]>

This patch enables configs for Trusted Execution Environment (TEE) and
OP-TEE.

+CONFIG_TEE=y
+CONFIG_OPTEE=y

Signed-off-by: Victor Chong <[email protected]>
Signed-off-by: Guodong Xu <[email protected]>
---
arch/arm64/configs/defconfig | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 99f7e06..81008e1 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -521,6 +521,8 @@ CONFIG_PHY_XGENE=y
CONFIG_PHY_TEGRA_XUSB=y
CONFIG_QCOM_L2_PMU=y
CONFIG_QCOM_L3_PMU=y
+CONFIG_TEE=y
+CONFIG_OPTEE=y
CONFIG_ARM_SCPI_PROTOCOL=y
CONFIG_RASPBERRYPI_FIRMWARE=y
CONFIG_EFI_CAPSULE_LOADER=y
--
2.10.2

2017-08-10 02:38:20

by Guodong Xu

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

From: Wang Ruyi <[email protected]>

enable DMA driver for hi3660.

Signed-off-by: Wang Ruyi <[email protected]>
---
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/arm64/configs/defconfig
@@ -457,6 +457,7 @@ CONFIG_RTC_DRV_TEGRA=y
CONFIG_RTC_DRV_XGENE=y
CONFIG_DMADEVICES=y
CONFIG_DMA_BCM2835=m
+CONFIG_K3_DMA=y
CONFIG_MV_XOR_V2=y
CONFIG_PL330_DMA=y
CONFIG_TEGRA20_APB_DMA=y
--
2.10.2

2017-08-15 13:34:25

by Wei Xu

[permalink] [raw]
Subject: Re: [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960

Hi Guodong,

On 2017/8/10 3:37, Guodong Xu wrote:
> This patchset enables config items in arm64/defconfig for HiKey960. All
> of them correspond to real functions on HiKey960.
>
> Including:
> - Kirin PCIe
> - PMIC support, hi6421v530
> - syscon reboot mode
> - serdev bus
> - OP-TEE
> - K3 DMA
>
> HiKey960 is one of 96boards. For details information about it, 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: defconfig: enable support for serial port connected device
>
> Victor Chong (1):
> arm64: defconfig: enable OP-TEE
>
> Wang Ruyi (1):
> arm64: defconfig: enable DMA driver for hi3660
>
> Xiaowei Song (1):
> arm64: defconfig: enable Kirin PCIe
>
> arch/arm64/configs/defconfig | 9 +++++++++
> 1 file changed, 9 insertions(+)
>

Thanks!
Series applied to the hisilicon defconfig tree.

BR,
Wei