linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] arm64: defconfig: enable configs for HiKey960
@ 2017-08-07 14:31 Guodong Xu
  2017-08-07 14:31 ` [PATCH 1/5] arm64: defconfig: enable Kirin PCIe Guodong Xu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:31 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, Guodong Xu

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

HiKey960 is one of 96boards. For details information about it, please
refer 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):
  arm64: defconfig: enable OP-TEE

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

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

-- 
2.10.2

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

* [PATCH 1/5] arm64: defconfig: enable Kirin PCIe
  2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
@ 2017-08-07 14:31 ` Guodong Xu
  2017-08-07 14:31 ` [PATCH 2/5] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:31 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, Xiaowei Song, Guodong Xu

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] 6+ messages in thread

* [PATCH 2/5] arm64: defconfig: enable support hi6421v530 PMIC
  2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
  2017-08-07 14:31 ` [PATCH 1/5] arm64: defconfig: enable Kirin PCIe Guodong Xu
@ 2017-08-07 14:31 ` Guodong Xu
  2017-08-07 14:31 ` [PATCH 3/5] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:31 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, Guodong Xu

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] 6+ messages in thread

* [PATCH 3/5] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE
  2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
  2017-08-07 14:31 ` [PATCH 1/5] arm64: defconfig: enable Kirin PCIe Guodong Xu
  2017-08-07 14:31 ` [PATCH 2/5] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
@ 2017-08-07 14:31 ` Guodong Xu
  2017-08-07 14:31 ` [PATCH 4/5] arm64: defconfig: enable support for serial port connected device Guodong Xu
  2017-08-07 14:32 ` [PATCH 5/5] arm64: defconfig: enable OP-TEE Guodong Xu
  4 siblings, 0 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:31 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, Guodong Xu

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] 6+ messages in thread

* [PATCH 4/5] arm64: defconfig: enable support for serial port connected device
  2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (2 preceding siblings ...)
  2017-08-07 14:31 ` [PATCH 3/5] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
@ 2017-08-07 14:31 ` Guodong Xu
  2017-08-07 14:32 ` [PATCH 5/5] arm64: defconfig: enable OP-TEE Guodong Xu
  4 siblings, 0 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:31 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, 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 <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] 6+ messages in thread

* [PATCH 5/5] arm64: defconfig: enable OP-TEE
  2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
                   ` (3 preceding siblings ...)
  2017-08-07 14:31 ` [PATCH 4/5] arm64: defconfig: enable support for serial port connected device Guodong Xu
@ 2017-08-07 14:32 ` Guodong Xu
  4 siblings, 0 replies; 6+ messages in thread
From: Guodong Xu @ 2017-08-07 14:32 UTC (permalink / raw)
  To: xuwei5, catalin.marinas, will.deacon, arnd, khilman, olof, timur,
	narmstrong, robh, riku.voipio, eric
  Cc: linux-kernel, linux-arm-kernel, Victor Chong, Guodong Xu

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] 6+ messages in thread

end of thread, other threads:[~2017-08-07 14:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-07 14:31 [PATCH 0/5] arm64: defconfig: enable configs for HiKey960 Guodong Xu
2017-08-07 14:31 ` [PATCH 1/5] arm64: defconfig: enable Kirin PCIe Guodong Xu
2017-08-07 14:31 ` [PATCH 2/5] arm64: defconfig: enable support hi6421v530 PMIC Guodong Xu
2017-08-07 14:31 ` [PATCH 3/5] arm64: defconfig: enable CONFIG_SYSCON_REBOOT_MODE Guodong Xu
2017-08-07 14:31 ` [PATCH 4/5] arm64: defconfig: enable support for serial port connected device Guodong Xu
2017-08-07 14:32 ` [PATCH 5/5] arm64: defconfig: enable OP-TEE Guodong 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).