Add the SPL Kconfig variant for the Shikra pinctrl driver so
SPL can configure eMMC and console pins during early boot.

Signed-off-by: Abhilash V <[email protected]>
---
 drivers/pinctrl/qcom/Kconfig | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/drivers/pinctrl/qcom/Kconfig b/drivers/pinctrl/qcom/Kconfig
index ba866b5b6b2..0317489a3da 100644
--- a/drivers/pinctrl/qcom/Kconfig
+++ b/drivers/pinctrl/qcom/Kconfig
@@ -235,6 +235,14 @@ config PINCTRL_QCOM_SHIKRA
          Say Y here to enable support for pinctrl on the Snapdragon Shikra SoC,
          as well as the associated GPIO driver.
 
+config SPL_PINCTRL_QCOM_SHIKRA
+       bool "Qualcomm Shikra Pinctrl in SPL"
+       depends on SPL_PINCTRL_GENERIC
+       select SPL_PINCTRL_QCOM
+       help
+         SPL variant of PINCTRL_QCOM_SHIKRA.
+         See the help of PINCTRL_QCOM_SHIKRA for details.
+
 config PINCTRL_QCOM_SDM670
        bool "Qualcomm SDM670 Pinctrl"
        default y if PINCTRL_QCOM_GENERIC
@@ -421,4 +429,3 @@ config SPL_PINCTRL_QCOM_X1E80100
 endmenu
 
 endif
-
-- 
2.34.1

Reply via email to