linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960
@ 2017-08-10  2:37 Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe Guodong Xu
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 2/6] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

From: Xiaowei Song <songxiaowei@hisilicon.com>

Enable HiSilicon Kirin series SoCs PCIe controllers

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Xiaowei Song <songxiaowei@hisilicon.com>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 2/6] arm64: defconfig: enable support hi6421v530 PMIC
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 3/6] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 3/6] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 2/6] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device Guodong Xu
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

Enable CONFIG_SYSCON_REBOOT_MODE

Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (2 preceding siblings ...)
  2017-08-10  2:37 ` [PATCH v2 3/6] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 5/6] arm64: defconfig: enable OP-TEE Guodong Xu
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

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 <guodong.xu@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 5/6] arm64: defconfig: enable OP-TEE
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (3 preceding siblings ...)
  2017-08-10  2:37 ` [PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-10  2:37 ` [PATCH v2 6/6] arm64: defconfig: enable DMA driver for hi3660 Guodong Xu
  2017-08-15 13:33 ` [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Wei Xu
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

From: Victor Chong <victor.chong@linaro.org>

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

+CONFIG_TEE=y
+CONFIG_OPTEE=y

Signed-off-by: Victor Chong <victor.chong@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 6/6] arm64: defconfig: enable DMA driver for hi3660
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (4 preceding siblings ...)
  2017-08-10  2:37 ` [PATCH v2 5/6] arm64: defconfig: enable OP-TEE Guodong Xu
@ 2017-08-10  2:37 ` Guodong Xu
  2017-08-15 13:33 ` [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Wei Xu
  6 siblings, 0 replies; 8+ messages in thread
From: Guodong Xu @ 2017-08-10  2:37 UTC (permalink / raw)
  To: linux-arm-kernel

From: Wang Ruyi <wangruyi@huawei.com>

enable DMA driver for hi3660.

Signed-off-by: Wang Ruyi <wangruyi@huawei.com>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960
  2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (5 preceding siblings ...)
  2017-08-10  2:37 ` [PATCH v2 6/6] arm64: defconfig: enable DMA driver for hi3660 Guodong Xu
@ 2017-08-15 13:33 ` Wei Xu
  6 siblings, 0 replies; 8+ messages in thread
From: Wei Xu @ 2017-08-15 13:33 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-08-15 13:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-10  2:37 [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Guodong Xu
2017-08-10  2:37 ` [PATCH v2 1/6] arm64: defconfig: enable Kirin PCIe Guodong Xu
2017-08-10  2:37 ` [PATCH v2 2/6] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
2017-08-10  2:37 ` [PATCH v2 3/6] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
2017-08-10  2:37 ` [PATCH v2 4/6] arm64: defconfig: enable support for serial port connected device Guodong Xu
2017-08-10  2:37 ` [PATCH v2 5/6] arm64: defconfig: enable OP-TEE Guodong Xu
2017-08-10  2:37 ` [PATCH v2 6/6] arm64: defconfig: enable DMA driver for hi3660 Guodong Xu
2017-08-15 13:33 ` [PATCH v2 0/6] arm64: defconfig: enable configs for HiKey960 Wei Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).