[PATCH 05/32] boot: Add a Kconfig for SPL_QCOM_PMIC_GPIO

Simon Glass sjg at chromium.org
Tue Jan 31 16:26:35 CET 2023


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

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

 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.456.gfc5497dd1b-goog



More information about the U-Boot mailing list