[PATCH v3 28/81] boot: Add a Kconfig for SPL_QCOM_PMIC_GPIO

Simon Glass sjg at chromium.org
Mon Feb 6 20:04:56 CET 2023


This is implicitly used in the source and seems useful, so add it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 drivers/gpio/Kconfig | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
index 365615a53f7..8a4787f4195 100644
--- a/drivers/gpio/Kconfig
+++ b/drivers/gpio/Kconfig
@@ -316,6 +316,10 @@ config QCOM_PMIC_GPIO
 	  Power and reset buttons are placed in "pwkey_qcom" bank and
           have gpio numbers 0 and 1 respectively.
 
+config SPL_QCOM_PMIC_GPIO
+	def_bool n  # Qualcomm generic PMIC GPIO/keypad driver (SPL)
+	depends on SPL_DM_GPIO && SPL_PMIC_QCOM
+
 config PCF8575_GPIO
 	bool "PCF8575 I2C GPIO Expander driver"
 	depends on DM_GPIO && DM_I2C
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list