Skip to contentSkip to conversation

ARM: qcom_defconfig: add options for LG Nexus 5 phone

PATCH In review Brian Masney 3 participants 3 messages Feb 10, 2019 – Mar 6, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: qcom_defconfig: add options for LG Nexus 5 phone

Add wcn36xx wireless, msm vibrator, pm8941 power key, bq24190 charger, spmi-iadc, spmi-vadc, mpu6515 gyroscope / accelerometer, and tsl2772 proximity / light drivers as modules to support the LG Nexus 5 (hammerhead) phone.

CFG80211 is changed to be a module to match MAC80211 since this isn't required for initial bootup.

Device manager support is also added as a module since this is needed by postmarketOS.

---
 arch/arm/configs/qcom_defconfig | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
arch/arm/configs/qcom_defconfig +12 -1
index bd6440f23493..7dc91e822537 100644
@@ -50,7 +50,8 @@ CONFIG_IP_PNP_DHCP=y
 # CONFIG_INET_XFRM_MODE_TUNNEL is not set
 # CONFIG_INET_XFRM_MODE_BEET is not set
 # CONFIG_IPV6 is not set
-CONFIG_CFG80211=y
+CONFIG_CFG80211=m
+CONFIG_MAC80211=m
 CONFIG_RFKILL=y
 CONFIG_DEVTMPFS=y
 CONFIG_DEVTMPFS_MOUNT=y
@@ -72,6 +73,8 @@ CONFIG_SCSI_SCAN_ASYNC=y
 CONFIG_ATA=y
 CONFIG_SATA_AHCI=y
 CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_MD=y
+CONFIG_BLK_DEV_DM=m
 CONFIG_NETDEVICES=y
 CONFIG_DUMMY=y
 CONFIG_ATL1C=y
@@ -85,6 +88,7 @@ CONFIG_SLIP_MODE_SLIP6=y
 CONFIG_USB_USBNET=y
 # CONFIG_USB_NET_AX8817X is not set
 # CONFIG_USB_NET_ZAURUS is not set
+CONFIG_WCN36XX=m
 CONFIG_BRCMFMAC=m
 CONFIG_INPUT_EVDEV=y
 # CONFIG_KEYBOARD_ATKBD is not set
@@ -94,6 +98,8 @@ CONFIG_KEYBOARD_PMIC8XXX=y
 CONFIG_INPUT_JOYSTICK=y
 CONFIG_INPUT_TOUCHSCREEN=y
 CONFIG_INPUT_MISC=y
+CONFIG_INPUT_MSM_VIBRATOR=m
+CONFIG_INPUT_PM8941_PWRKEY=m
 CONFIG_INPUT_PM8XXX_VIBRATOR=y
 CONFIG_INPUT_PMIC8XXX_PWRKEY=y
 CONFIG_INPUT_UINPUT=y
@@ -127,6 +133,7 @@ CONFIG_GPIO_SYSFS=y
 CONFIG_POWER_RESET=y
 CONFIG_POWER_RESET_MSM=y
 CONFIG_CHARGER_QCOM_SMBB=y
+CONFIG_CHARGER_BQ24190=m
 CONFIG_THERMAL=y
 CONFIG_QCOM_TSENS=y
 CONFIG_MFD_PM8XXX=y
@@ -226,7 +233,11 @@ CONFIG_IIO=y
 CONFIG_IIO_BUFFER_CB=y
 CONFIG_IIO_SW_TRIGGER=y
 CONFIG_KXSD9=y
+CONFIG_QCOM_SPMI_IADC=m
+CONFIG_QCOM_SPMI_VADC=m
 CONFIG_MPU3050_I2C=y
+CONFIG_INV_MPU6050_I2C=m
+CONFIG_TSL2772=m
 CONFIG_AK8975=y
 CONFIG_IIO_HRTIMER_TRIGGER=y
 CONFIG_BMP280=y
Signature · 1 line
2.17.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Brian Masney

Add wcn36xx wireless, msm vibrator, pm8941 power key, bq24190 charger, spmi-iadc, spmi-vadc, mpu6515 gyroscope / accelerometer, and tsl2772 proximity / light drivers as modules to support the LG Nexus 5 (hammerhead) phone.

Quoted 7 lines

CFG80211 is changed to be a module to match MAC80211 since this isn't required for initial bootup.

Device manager support is also added as a module since this is needed by postmarketOS.

Brian if this doesn't get applied because of the occasional maintainer overload just send it directly to the ARM SoC maintainers [email protected] that's what I do.

Yours,
Linus Walleij

#2 lore raw
In reply to Brian Masney
Quoted 5 lines · Brian Masney

Add wcn36xx wireless, msm vibrator, pm8941 power key, bq24190 charger, spmi-iadc, spmi-vadc, mpu6515 gyroscope / accelerometer, and tsl2772 proximity / light drivers as modules to support the LG Nexus 5 (hammerhead) phone.

Quoted 7 lines

CFG80211 is changed to be a module to match MAC80211 since this isn't required for initial bootup.

Device manager support is also added as a module since this is needed by postmarketOS.

I'll queue this up for the next set of PRs.

Thanks,

Andy