pinctrl: qcom: organize audio drivers in menuconfig
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 1 Jun 2023 15:20:26 +0000 (17:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 9 Jun 2023 07:11:32 +0000 (09:11 +0200)
The audio pin controller drivers depend on PINCTRL_LPASS_LPI, but since
PINCTRL_LPASS_LPI is not the first entry, they are not displayed in
menuconfig as dependent of PINCTRL_LPASS_LPI.  Re-order the entries to
fix this.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230601152026.1182648-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/qcom/Kconfig

index f1c23a6..634c753 100644 (file)
@@ -47,6 +47,18 @@ config PINCTRL_QCOM_SSBI_PMIC
         which are using SSBI for communication with SoC. Example PMIC's
         devices are pm8058 and pm8921.
 
+config PINCTRL_LPASS_LPI
+       tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
+       select PINMUX
+       select PINCONF
+       select GENERIC_PINCONF
+       select GENERIC_PINCTRL_GROUPS
+       depends on GPIOLIB
+       help
+         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
+         Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
+         (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
+
 config PINCTRL_SC7280_LPASS_LPI
        tristate "Qualcomm Technologies Inc SC7280 LPASS LPI pin controller driver"
        depends on ARM64 || COMPILE_TEST
@@ -93,16 +105,4 @@ config PINCTRL_SM8550_LPASS_LPI
          (Low Power Island) found on the Qualcomm Technologies Inc SM8550
          platform.
 
-config PINCTRL_LPASS_LPI
-       tristate "Qualcomm Technologies Inc LPASS LPI pin controller driver"
-       select PINMUX
-       select PINCONF
-       select GENERIC_PINCONF
-       select GENERIC_PINCTRL_GROUPS
-       depends on GPIOLIB
-       help
-         This is the pinctrl, pinmux, pinconf and gpiolib driver for the
-         Qualcomm Technologies Inc LPASS (Low Power Audio SubSystem) LPI
-         (Low Power Island) found on the Qualcomm Technologies Inc SoCs.
-
 endif