diff mbox series

[v2,1/7] power: pmic: tps65941: Add DM_PMIC dependency

Message ID 20240528-b4-upstream-j721s2-avs-v2-1-df940f2309d0@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Add AVS support for J721S2 | expand

Commit Message

Manorit Chawdhry May 28, 2024, 8:13 a.m. UTC
This Kconfig depends on DM_PMIC but hadn't be explicitly stated which
could cause config related issues.

Adds the dependency in Kconfig for tps65941.

Fixes: 6b86dd0c1ead ("power: pmic: tps65941: Add support for tps65941 family of PMICs")
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 drivers/power/pmic/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Neha Malcom Francis May 28, 2024, 9:03 a.m. UTC | #1
Hi Manorit

On 28/05/24 13:43, Manorit Chawdhry wrote:
> This Kconfig depends on DM_PMIC but hadn't be explicitly stated which
> could cause config related issues.
> 
> Adds the dependency in Kconfig for tps65941.
> 
> Fixes: 6b86dd0c1ead ("power: pmic: tps65941: Add support for tps65941 family of PMICs")
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> ---
>   drivers/power/pmic/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
> index 562c1a3b122a..bbcbcee4c355 100644
> --- a/drivers/power/pmic/Kconfig
> +++ b/drivers/power/pmic/Kconfig
> @@ -394,6 +394,7 @@ config SPL_PMIC_LP87565
>   
>   config PMIC_TPS65941
>   	bool "Enable driver for Texas Instruments TPS65941 PMIC"
> +	depends on DM_PMIC
>   	help
>   	The TPS65941 is a PMIC containing a bunch of SMPS & LDOs.
>   	This driver binds the pmic children.
> 

Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
diff mbox series

Patch

diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index 562c1a3b122a..bbcbcee4c355 100644
--- a/drivers/power/pmic/Kconfig
+++ b/drivers/power/pmic/Kconfig
@@ -394,6 +394,7 @@  config SPL_PMIC_LP87565
 
 config PMIC_TPS65941
 	bool "Enable driver for Texas Instruments TPS65941 PMIC"
+	depends on DM_PMIC
 	help
 	The TPS65941 is a PMIC containing a bunch of SMPS & LDOs.
 	This driver binds the pmic children.