From c363bb61236049f999d2383e4295e356c5d1d54a Mon Sep 17 00:00:00 2001 From: Kavya Nunna Date: Wed, 6 Jan 2021 14:21:37 +0530 Subject: [PATCH] defconfig: Enable SMB1351 and other drivers for sdxnightjar Enable smb1351, rtc and pwm drivers for sdxnightjar. Change-Id: I874210518faa4b1429b6d2c842bf9af2b05ee01e Signed-off-by: Kavya Nunna --- arch/arm/configs/vendor/sdxnightjar.config | 3 +++ drivers/power/supply/qcom/Kconfig | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/vendor/sdxnightjar.config b/arch/arm/configs/vendor/sdxnightjar.config index a6cf92b6e8cc..a10985d99ba8 100644 --- a/arch/arm/configs/vendor/sdxnightjar.config +++ b/arch/arm/configs/vendor/sdxnightjar.config @@ -866,3 +866,6 @@ CONFIG_QCOM_WDT_CORE=y CONFIG_QCOM_SOC_WATCHDOG=y CONFIG_QCOM_FORCE_WDOG_BITE_ON_PANIC=y CONFIG_QCOM_WDOG_BITE_EARLY_PANIC=y +CONFIG_RTC_DRV_PM8XXX=y +CONFIG_PWM_QTI_LPG=y +CONFIG_SMB1351_USB_CHARGER=y diff --git a/drivers/power/supply/qcom/Kconfig b/drivers/power/supply/qcom/Kconfig index c1e30fa23cef..6726c5349698 100644 --- a/drivers/power/supply/qcom/Kconfig +++ b/drivers/power/supply/qcom/Kconfig @@ -83,7 +83,7 @@ config SMB1390_CHARGE_PUMP_PSY config SMB1351_USB_CHARGER tristate "smb1351 usb charger (with VBUS detection)" - depends on MFD_I2C_PMIC + depends on I2C help Say Y to enable support for the SMB1351 switching mode based charger. The driver supports charging control (enable/disable) and