Skip to contentSkip to conversation

Defconfig updates for RK3399

PATCH New Ezequiel Garcia 2 participants 9 messages Apr 16, 2018 – Apr 28, 2018 Arm Rockchip

lore
Share & tools
lore
#0 lore raw

cover Defconfig updates for RK3399

This series collects some pending defconfig patches from Enric, namely:

https://patchwork.kernel.org/patch/10302033/
https://patchwork.kernel.org/patch/10247583/
https://patchwork.kernel.org/patch/10269255/

And adds some more defconfig changes, required to
support other peripherals:

* Touchscreen, touchpad and stylus
* WiFi and Bluetooth

Series tested on RK3399 Kevin Chromebook.

Enric Balletbo i Serra (3):
arm64: defconfig: Enable typec-phy and extcon-usbc-cros-ec for rk3399
arm64: defconfig: Enable Rockchip io-domain driver
arm64: defconfig: Enable ChromeOS EC drivers for supported
Chromebooks.

Ezequiel Garcia (4):
arm64: defconfig: Enable HID over I2C drivers
arm64: defconfig: Enable Atmel Maxtouch driver
arm64: defconfig: Enable Marvell WiFi-Ex PCIe driver
arm64: defconfig: Enable bluetooth USB support

 arch/arm64/configs/defconfig | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Signature · 1 line
2.16.3
#1 lore raw

PATCH 1/7 arm64: defconfig: Enable typec-phy and extcon-usbc-cros-ec for rk3399

From: Enric Balletbo i Serra <[email protected]>

Enables typec phyter and extcon driver for cable detection that is used by USB 3.0 controller for Rockchip rk3399 SoCs.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index ecf613761e78..bdd594387232 100644
@@ -568,6 +568,7 @@ CONFIG_ARCH_TEGRA_210_SOC=y
 CONFIG_ARCH_TEGRA_186_SOC=y
 CONFIG_ARCH_TEGRA_194_SOC=y
 CONFIG_EXTCON_USB_GPIO=y
+CONFIG_EXTCON_USBC_CROS_EC=y
 CONFIG_MEMORY=y
 CONFIG_TEGRA_MC=y
 CONFIG_IIO=y
@@ -590,6 +591,7 @@ CONFIG_PHY_MVEBU_CP110_COMPHY=y
 CONFIG_PHY_ROCKCHIP_INNO_USB2=y
 CONFIG_PHY_ROCKCHIP_EMMC=y
 CONFIG_PHY_ROCKCHIP_PCIE=m
+CONFIG_PHY_ROCKCHIP_TYPEC=y
 CONFIG_PHY_XGENE=y
 CONFIG_PHY_TEGRA_XUSB=y
 CONFIG_QCOM_L2_PMU=y
Signature · 1 line
2.16.3
#2 lore raw

PATCH 2/7 arm64: defconfig: Enable Rockchip io-domain driver

In reply to Ezequiel Garcia

From: Enric Balletbo i Serra <[email protected]>

Heiko St?bner justified pretty well the change in commit e330eb86ba0b ("ARM: multi_v7_defconfig: enable Rockchip io-domain driver"). This change is also needed for arm64 rockchip boards, so, do the same for arm64.

The io-domain driver is necessary to notify the soc about voltages changes happening on supplying regulators. Probably the most important user right now is the mmc tuning code, where the soc needs to get notified when the voltage is dropped to the 1.8V point.

As this option is necessary to successfully tune UHS cards etc, it should get built in. Otherwise, tuning will fail with,

dwmmc_rockchip fe320000.dwmmc: All phases bad!
mmc0: tuning execution failed: -5

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index bdd594387232..7e3b3f0484b9 100644
@@ -332,6 +332,8 @@ CONFIG_GPIO_XGENE_SB=y
 CONFIG_GPIO_PCA953X=y
 CONFIG_GPIO_PCA953X_IRQ=y
 CONFIG_GPIO_MAX77620=y
+CONFIG_POWER_AVS=y
+CONFIG_ROCKCHIP_IODOMAIN=y
 CONFIG_POWER_RESET_MSM=y
 CONFIG_POWER_RESET_XGENE=y
 CONFIG_POWER_RESET_SYSCON=y
Signature · 1 line
2.16.3
#3 lore raw

PATCH 3/7 arm64: defconfig: Enable ChromeOS EC drivers for supported Chromebooks.

In reply to Ezequiel Garcia

From: Enric Balletbo i Serra <[email protected]>

Enable following drivers for merged devices:
- ChromeOS EC RTC driver.
- ChromeOS EC userspace interface.
- ChromeOS EC light and proximity sensors.
- ChromeOS EC Barometer Sensor driver.

---
 arch/arm64/configs/defconfig | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm64/configs/defconfig +6 -0
index 7e3b3f0484b9..397bc0b42a86 100644
@@ -363,6 +363,7 @@ CONFIG_MFD_AXP20X_RSB=y
 CONFIG_MFD_CROS_EC=y
 CONFIG_MFD_CROS_EC_I2C=y
 CONFIG_MFD_CROS_EC_SPI=y
+CONFIG_MFD_CROS_EC_CHARDEV=m
 CONFIG_MFD_EXYNOS_LPASS=m
 CONFIG_MFD_HI6421_PMIC=y
 CONFIG_MFD_HI655X_PMIC=y
@@ -516,6 +517,7 @@ CONFIG_RTC_DRV_SUN6I=y
 CONFIG_RTC_DRV_ARMADA38X=y
 CONFIG_RTC_DRV_TEGRA=y
 CONFIG_RTC_DRV_XGENE=y
+CONFIG_RTC_DRV_CROS_EC=y
 CONFIG_DMADEVICES=y
 CONFIG_DMA_BCM2835=m
 CONFIG_K3_DMA=y
@@ -576,6 +578,10 @@ CONFIG_TEGRA_MC=y
 CONFIG_IIO=y
 CONFIG_EXYNOS_ADC=y
 CONFIG_ROCKCHIP_SARADC=m
+CONFIG_IIO_CROS_EC_SENSORS_CORE=m
+CONFIG_IIO_CROS_EC_SENSORS=m
+CONFIG_IIO_CROS_EC_LIGHT_PROX=m
+CONFIG_IIO_CROS_EC_BARO=m
 CONFIG_PWM=y
 CONFIG_PWM_BCM2835=m
 CONFIG_PWM_CROS_EC=m
Signature · 1 line
2.16.3
#4 lore raw

PATCH 4/7 arm64: defconfig: Enable HID over I2C drivers

In reply to Ezequiel Garcia

Enable the HID-I2C driver to support the stylus
present in RK3399 Kevin Chromebooks.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 397bc0b42a86..9b12f0ea0e35 100644
@@ -443,6 +443,7 @@ CONFIG_SND_SOC_SAMSUNG=y
 CONFIG_SND_SOC_RCAR=m
 CONFIG_SND_SOC_AK4613=m
 CONFIG_SND_SIMPLE_CARD=y
+CONFIG_I2C_HID=m
 CONFIG_USB=y
 CONFIG_USB_OTG=y
 CONFIG_USB_XHCI_HCD=y
Signature · 1 line
2.16.3
#5 lore raw

PATCH 5/7 arm64: defconfig: Enable Atmel Maxtouch driver

In reply to Ezequiel Garcia

Enable the Atmel Maxtouch driver to support the touchscreen and touchpad present in RK3399 Kevin Chromebooks.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 9b12f0ea0e35..83856a047af9 100644
@@ -253,6 +253,8 @@ CONFIG_INPUT_EVDEV=y
 CONFIG_KEYBOARD_ADC=m
 CONFIG_KEYBOARD_CROS_EC=y
 CONFIG_KEYBOARD_GPIO=y
+CONFIG_INPUT_TOUCHSCREEN=y
+CONFIG_TOUCHSCREEN_ATMEL_MXT=m
 CONFIG_INPUT_MISC=y
 CONFIG_INPUT_PM8941_PWRKEY=y
 CONFIG_INPUT_HISI_POWERKEY=y
Signature · 1 line
2.16.3
#6 lore raw

PATCH 6/7 arm64: defconfig: Enable Marvell WiFi-Ex PCIe driver

In reply to Ezequiel Garcia

Enable the wireless network driver to support the WiFi adapter present in RK3399 Kevin Chromebooks. Note that this also enables Bluetooth via USB.

---
 arch/arm64/configs/defconfig | 2 ++
 1 file changed, 2 insertions(+)
arch/arm64/configs/defconfig +2 -0
index 83856a047af9..39ac42187f7f 100644
@@ -247,6 +247,8 @@ CONFIG_USB_NET_SMSC95XX=m
 CONFIG_USB_NET_PLUSB=m
 CONFIG_USB_NET_MCS7830=m
 CONFIG_BRCMFMAC=m
+CONFIG_MWIFIEX=m
+CONFIG_MWIFIEX_PCIE=m
 CONFIG_WL18XX=m
 CONFIG_WLCORE_SDIO=m
 CONFIG_INPUT_EVDEV=y
Signature · 1 line
2.16.3
#7 lore raw

PATCH 7/7 arm64: defconfig: Enable bluetooth USB support

In reply to Ezequiel Garcia

Enable the Bluetooth USB controller which is present in the RK3399 Kevin Chromebook.

---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index 39ac42187f7f..34037d24fbf4 100644
@@ -157,6 +157,7 @@ CONFIG_BT_HIDP=m
 # CONFIG_BT_LE is not set
 CONFIG_BT_LEDS=y
 # CONFIG_BT_DEBUGFS is not set
+CONFIG_BT_HCIBTUSB=m
 CONFIG_BT_HCIUART=m
 CONFIG_BT_HCIUART_LL=y
 CONFIG_CFG80211=m
Signature · 1 line
2.16.3
maintainer
#8 lore raw

cover Defconfig updates for RK3399

In reply to Ezequiel Garcia

Am Montag, 16. April 2018, 16:39:55 CEST schrieb Ezequiel Garcia:

Quoted 21 lines

This series collects some pending defconfig patches from Enric, namely:

https://patchwork.kernel.org/patch/10302033/
https://patchwork.kernel.org/patch/10247583/
https://patchwork.kernel.org/patch/10269255/

And adds some more defconfig changes, required to
support other peripherals:

* Touchscreen, touchpad and stylus
* WiFi and Bluetooth

Series tested on RK3399 Kevin Chromebook.

Enric Balletbo i Serra (3):
arm64: defconfig: Enable typec-phy and extcon-usbc-cros-ec for rk3399
arm64: defconfig: Enable Rockchip io-domain driver
arm64: defconfig: Enable ChromeOS EC drivers for supported
Chromebooks.

Quoted 5 lines

Ezequiel Garcia (4):
arm64: defconfig: Enable HID over I2C drivers
arm64: defconfig: Enable Atmel Maxtouch driver
arm64: defconfig: Enable Marvell WiFi-Ex PCIe driver
arm64: defconfig: Enable bluetooth USB support

applied all 7 for 4.18

Thanks
Heiko