2016-04-02 11:48:18

by Guodong Xu

[permalink] [raw]
Subject: [PATCH v3 0/4] Enable configs for 96boards HiKey and general arm64

This patch enables a number of devices currently supported by the Hi6220
and 96boards HiKey. These include
a) Hi655x PMIC and regulator
b) Hi6220 I2C, USB, MMC, mailbox, and hisi-reset
c) CONFIG_PINCTRL_SINGLE, and CONFIG_LEDS_GPIO
d) WLAN, TI WL1835

Also added general features (built as modules) in arm64:
- SPIDEV
- USB network adapters

v3:
- rebase to next-20160401
- Enabled configs for WLAN and TI WL1835.

v2:
- rebase to next-20160310, CONFIG_MMC_BLOCK_MINORS=16 is already in.
- set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module
- Enable general features (as modules) in arm64

Akira Tsukamoto (1):
arm64: defconfig: enable several common USB network adapters

Guodong Xu (3):
arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey
arm64: defconfig: add CONFIG_SPI_SPIDEV as module
arm64: defconfig: enable configs for WLAN and TI WL1835 as modules

arch/arm64/configs/defconfig | 30 ++++++++++++++++++++++++++++--
1 file changed, 28 insertions(+), 2 deletions(-)

--
1.9.1


2016-04-02 11:48:27

by Guodong Xu

[permalink] [raw]
Subject: [PATCH v3 1/4] arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey

This patch enables a number of devices currently supported by the Hi6220
and 96boards HiKey. These include
a) Hi655x PMIC and regulator
b) Hi6220 I2C, USB, MMC, mailbox, and reset
c) CONFIG_PINCTRL_SINGLE, and CONFIG_LEDS_GPIO

v2:
- rebase to next-20160310, CONFIG_MMC_BLOCK_MINORS=16 is already in.
- set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module

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

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f705051..32b4f2d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -146,6 +146,7 @@ CONFIG_VIRTIO_CONSOLE=y
# CONFIG_HW_RANDOM is not set
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_DESIGNWARE_PLATFORM=m
CONFIG_I2C_MV64XXX=y
CONFIG_I2C_QUP=y
CONFIG_I2C_UNIPHIER_F=y
@@ -154,6 +155,7 @@ CONFIG_SPI=y
CONFIG_SPI_PL022=y
CONFIG_SPI_QUP=y
CONFIG_SPMI=y
+CONFIG_PINCTRL_SINGLE=y
CONFIG_PINCTRL_MSM8916=y
CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
CONFIG_GPIO_SYSFS=y
@@ -170,8 +172,10 @@ CONFIG_THERMAL_EMULATION=y
CONFIG_EXYNOS_THERMAL=y
CONFIG_MFD_SPMI_PMIC=y
CONFIG_MFD_SEC_CORE=y
+CONFIG_MFD_HI655X_PMIC=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_REGULATOR_HI655X=y
CONFIG_REGULATOR_QCOM_SMD_RPM=y
CONFIG_REGULATOR_QCOM_SPMI=y
CONFIG_REGULATOR_S2MPS11=y
@@ -196,6 +200,7 @@ CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_PLATFORM=y
CONFIG_USB_STORAGE=y
+CONFIG_USB_DWC2=y
CONFIG_USB_CHIPIDEA=y
CONFIG_USB_CHIPIDEA_UDC=y
CONFIG_USB_CHIPIDEA_HOST=y
@@ -215,9 +220,11 @@ CONFIG_MMC_SPI=y
CONFIG_MMC_SUNXI=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_EXYNOS=y
+CONFIG_MMC_DW_K3=y
CONFIG_MMC_BLOCK_MINORS=16
CONFIG_NEW_LEDS=y
CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_GPIO=y
CONFIG_LEDS_SYSCON=y
CONFIG_LEDS_TRIGGERS=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
@@ -244,6 +251,8 @@ CONFIG_COMMON_CLK_QCOM=y
CONFIG_MSM_GCC_8916=y
CONFIG_HWSPINLOCK_QCOM=y
CONFIG_ARM_SMMU=y
+CONFIG_MAILBOX=y
+CONFIG_HI6220_MBOX=y
CONFIG_QCOM_SMEM=y
CONFIG_QCOM_SMD=y
CONFIG_QCOM_SMD_RPM=y
@@ -252,6 +261,8 @@ CONFIG_ARCH_TEGRA_210_SOC=y
CONFIG_HISILICON_IRQ_MBIGEN=y
CONFIG_EXTCON_USB_GPIO=y
CONFIG_PHY_RCAR_GEN3_USB2=y
+CONFIG_COMMON_RESET_HI6220=y
+CONFIG_PHY_HI6220_USB=y
CONFIG_PHY_XGENE=y
CONFIG_EXT2_FS=y
CONFIG_EXT3_FS=y
--
1.9.1

2016-04-02 11:48:36

by Guodong Xu

[permalink] [raw]
Subject: [PATCH v3 2/4] arm64: defconfig: add CONFIG_SPI_SPIDEV as module

add CONFIG_SPI_SPIDEV as module, for arm64.

Signed-off-by: Guodong Xu <[email protected]>
Reviewed-by: Arnd Bergmann <[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 32b4f2d..e4952c5 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -154,6 +154,7 @@ CONFIG_I2C_RCAR=y
CONFIG_SPI=y
CONFIG_SPI_PL022=y
CONFIG_SPI_QUP=y
+CONFIG_SPI_SPIDEV=m
CONFIG_SPMI=y
CONFIG_PINCTRL_SINGLE=y
CONFIG_PINCTRL_MSM8916=y
--
1.9.1

2016-04-02 11:48:44

by Guodong Xu

[permalink] [raw]
Subject: [PATCH v3 3/4] arm64: defconfig: enable several common USB network adapters

From: Akira Tsukamoto <[email protected]>

The arm64 system is likely to be used as a host computer instead of
embedded devices and adding USB-Ethernet dongles to make it behave as
host PC is mandatory.

Changelog:
v2: Changed drivers to be as modules instead of built-in.

Signed-off-by: Akira Tsukamoto <[email protected]>
Signed-off-by: Guodong Xu <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
---
arch/arm64/configs/defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index e4952c5..f31a44f 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -117,6 +117,16 @@ CONFIG_RAVB=y
CONFIG_SMC91X=y
CONFIG_SMSC911X=y
CONFIG_MICREL_PHY=y
+CONFIG_USB_PEGASUS=m
+CONFIG_USB_RTL8150=m
+CONFIG_USB_RTL8152=m
+CONFIG_USB_USBNET=m
+CONFIG_USB_NET_DM9601=m
+CONFIG_USB_NET_SR9800=m
+CONFIG_USB_NET_SMSC75XX=m
+CONFIG_USB_NET_SMSC95XX=m
+CONFIG_USB_NET_PLUSB=m
+CONFIG_USB_NET_MCS7830=m
# CONFIG_WLAN is not set
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_GPIO=y
--
1.9.1

2016-04-02 11:48:52

by Guodong Xu

[permalink] [raw]
Subject: [PATCH v3 4/4] arm64: defconfig: enable configs for WLAN and TI WL1835 as modules

This patch enables TI WL1835 and builds as module. It also enables
CFG80211, MAC80211, RFKILL and several CRYPTOs which are required
by WLAN.

96boards HiKey uses TI WLAN/BT combo module WL1835MOD.

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

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index f31a44f..aa1909d 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -83,7 +83,10 @@ CONFIG_IP_PNP_BOOTP=y
# CONFIG_INET_LRO is not set
# CONFIG_IPV6 is not set
CONFIG_BPF_JIT=y
-# CONFIG_WIRELESS is not set
+CONFIG_CFG80211=m
+CONFIG_MAC80211=m
+CONFIG_MAC80211_LEDS=y
+CONFIG_RFKILL=m
CONFIG_NET_9P=y
CONFIG_NET_9P_VIRTIO=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
@@ -127,7 +130,8 @@ CONFIG_USB_NET_SMSC75XX=m
CONFIG_USB_NET_SMSC95XX=m
CONFIG_USB_NET_PLUSB=m
CONFIG_USB_NET_MCS7830=m
-# CONFIG_WLAN is not set
+CONFIG_WL18XX=m
+CONFIG_WLCORE_SDIO=m
CONFIG_INPUT_EVDEV=y
CONFIG_KEYBOARD_GPIO=y
# CONFIG_SERIO_SERPORT is not set
--
1.9.1

2016-04-26 10:10:30

by Wei Xu

[permalink] [raw]
Subject: Re: [PATCH v3 0/4] Enable configs for 96boards HiKey and general arm64

Hi Guodong,

On 02/04/2016 12:47, Guodong Xu wrote:
> This patch enables a number of devices currently supported by the Hi6220
> and 96boards HiKey. These include
> a) Hi655x PMIC and regulator
> b) Hi6220 I2C, USB, MMC, mailbox, and hisi-reset
> c) CONFIG_PINCTRL_SINGLE, and CONFIG_LEDS_GPIO
> d) WLAN, TI WL1835
>
> Also added general features (built as modules) in arm64:
> - SPIDEV
> - USB network adapters
>
> v3:
> - rebase to next-20160401
> - Enabled configs for WLAN and TI WL1835.

Thanks!
Applied series to the hisilicon soc tree.
And the b) and c) are already in the mainline, so I just kept a) and d) there.

Best Regards,
Wei

>
> v2:
> - rebase to next-20160310, CONFIG_MMC_BLOCK_MINORS=16 is already in.
> - set CONFIG_I2C_DESIGNWARE_PLATFORM to be build as module
> - Enable general features (as modules) in arm64
>
> Akira Tsukamoto (1):
> arm64: defconfig: enable several common USB network adapters
>
> Guodong Xu (3):
> arm64: defconfig: Enable devices for Hi6220 and 96boards HiKey
> arm64: defconfig: add CONFIG_SPI_SPIDEV as module
> arm64: defconfig: enable configs for WLAN and TI WL1835 as modules
>
> arch/arm64/configs/defconfig | 30 ++++++++++++++++++++++++++++--
> 1 file changed, 28 insertions(+), 2 deletions(-)
>