]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: Kconfig: Change dependency for CMD_ADC
authorMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2020 08:44:17 +0000 (10:44 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 27 Aug 2020 15:26:39 +0000 (11:26 -0400)
CMD_ADC selected DM_REGULATOR unconditionally without enabling DM.
That's why change select to depends on to cover it.

Kconfig is showing this issue as:
WARNING: unmet direct dependencies detected for REGMAP
  Depends on [n]: DM [=n]
  Selected by [y]:
  - DM_REGULATOR_PBIAS [=y] && DM_REGULATOR [=y]

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
[trini: Update CMD_ADC=y configs to enable DM_REGULATOR now]
Signed-off-by: Tom Rini <trini@konsulko.com>
12 files changed:
cmd/Kconfig
configs/khadas-vim2_defconfig
configs/khadas-vim_defconfig
configs/libretech-ac_defconfig
configs/libretech-cc_defconfig
configs/libretech-s905d-pc_defconfig
configs/libretech-s912-pc_defconfig
configs/odroid-c2_defconfig
configs/stm32mp15_basic_defconfig
configs/stm32mp15_dhcom_basic_defconfig
configs/stm32mp15_dhcor_basic_defconfig
configs/stm32mp15_trusted_defconfig

index 30c26b5d2bcac8cc504a2f4d7e5ef7810494d29d..0761dbb746060b7fdb372f24815e01f7e7b540d0 100644 (file)
@@ -860,7 +860,7 @@ config CMD_ARMFLASH
 config CMD_ADC
        bool "adc - Access Analog to Digital Converters info and data"
        select ADC
-       select DM_REGULATOR
+       depends on DM_REGULATOR
        help
          Shows ADC device info and permit printing one-shot analog converted
          data from a named Analog to Digital Converter.
index b6d5dbdd2ee875240952045b0e461a9efe64bd4d..1435781f59ae08aef967a5afebd8c34a98d95bb8 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_PHY=y
 CONFIG_MESON_GXL_USB_PHY=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index 2a57cfb400b72fd521a09646ea2f92fd27777256..d075dd134cca30d6ac3bdf600abdbf0da44a80c1 100644 (file)
@@ -39,6 +39,7 @@ CONFIG_PHY=y
 CONFIG_MESON_GXL_USB_PHY=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index d5a812c3d81b56f465304d65d8f2b42ecb0e24f8..e898fb147f842ec6e184595c7dc305fc0c840e88 100644 (file)
@@ -53,6 +53,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index dce861b8aa16f6a92a6f0c3c074e215d57cabf45..65ad7f5de4a43f5d82807286b3f9bba855092e41 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index 225a21f0ff482dfa8a6fb339afdc734594789432..c99a6c59715d41fbc877345eecade5ae8870e603 100644 (file)
@@ -48,6 +48,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index 005dc0b25e9804399f598d623daf2e26c1d67c6d..7975c590b6302d5e8a40ea29fd63fd5cfbaf05ad 100644 (file)
@@ -47,6 +47,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXL=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_RESET=y
 CONFIG_DEBUG_UART_ANNOUNCE=y
index 3c53233dcce78ccddcf8eea588f6d4b0dcbec5fa..82bae79d3dbf1bdc02b29cd49825af755966aa90 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_PINCTRL=y
 CONFIG_PINCTRL_MESON_GXBB=y
 CONFIG_POWER_DOMAIN=y
 CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_RESET=y
index 2094183295c5b2ce65305b12121c8f3ea85ca5fe..a8c4112dbe1809657251e0a0048b8a88569b0c7d 100644 (file)
@@ -116,6 +116,7 @@ CONFIG_PINCTRL_STMFX=y
 CONFIG_DM_PMIC=y
 # CONFIG_SPL_PMIC_CHILDREN is not set
 CONFIG_PMIC_STPMIC1=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_STM32_VREFBUF=y
index c70414e23b24336b2dc2c71660a5509456bf102d..7668fd01cd70ffaa70cbed1529301e2106c8e72a 100644 (file)
@@ -114,6 +114,7 @@ CONFIG_PINCTRL_STMFX=y
 CONFIG_DM_PMIC=y
 # CONFIG_SPL_PMIC_CHILDREN is not set
 CONFIG_PMIC_STPMIC1=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_STM32_VREFBUF=y
index 1e1aa86426ee45b1921e860effc8df91339ca25e..aa384517c3cc6aab1c73248c442bbfd219aaf43c 100644 (file)
@@ -108,6 +108,7 @@ CONFIG_PINCTRL_STMFX=y
 CONFIG_DM_PMIC=y
 # CONFIG_SPL_PMIC_CHILDREN is not set
 CONFIG_PMIC_STPMIC1=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_STM32_VREFBUF=y
index 8d59d841842816acd4ee42cad5ede2e772e5d6fa..0792884a9d8b42b54b5eb46f78f18e9a3b9156a7 100644 (file)
@@ -94,6 +94,7 @@ CONFIG_PINCONF=y
 CONFIG_PINCTRL_STMFX=y
 CONFIG_DM_PMIC=y
 CONFIG_PMIC_STPMIC1=y
+CONFIG_DM_REGULATOR=y
 CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_DM_REGULATOR_STM32_VREFBUF=y