ARM: qcom_defconfig: add options for LG Nexus 5 phone
diff mbox series

Message ID 20190210121657.4200-1-masneyb@onstation.org
State New, archived
Headers show
Series
  • ARM: qcom_defconfig: add options for LG Nexus 5 phone
Related show

Commit Message

Brian Masney Feb. 10, 2019, 12:16 p.m. UTC
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.

Signed-off-by: Brian Masney <masneyb@onstation.org>
---
 arch/arm/configs/qcom_defconfig | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

Comments

Linus Walleij March 5, 2019, 7:50 a.m. UTC | #1
On Sun, Feb 10, 2019 at 1:17 PM Brian Masney <masneyb@onstation.org> wrote:

> 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.
>
> Signed-off-by: Brian Masney <masneyb@onstation.org>

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Brian if this doesn't get applied because of the occasional maintainer overload
just send it directly to the ARM SoC maintainers arm@kernel.org that's
what I do.

Yours,
Linus Walleij
Andy Gross March 6, 2019, 8:21 a.m. UTC | #2
On Sun, Feb 10, 2019 at 07:16:57AM -0500, Brian Masney wrote:
> 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.
> 
> Signed-off-by: Brian Masney <masneyb@onstation.org>

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

Thanks,

Andy

Patch
diff mbox series

diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
index bd6440f23493..7dc91e822537 100644
--- a/arch/arm/configs/qcom_defconfig
+++ b/arch/arm/configs/qcom_defconfig
@@ -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