Re: [PATCH 4/6] Regulator: Modifying Kconfig to choose from the available PMICs

Mark Brown
2010-01-11T11:22:20Z

On Fri, Jan 08, 2010 at 11:28:06PM +0530, Anuj Aggarwal wrote:

> +config PMIC_TWL4030
> + bool "TWL4030/TPS65950 Power Module"
> + default y
> + depends on TWL4030_CORE && MACH_OMAP3EVM
> + select REGULATOR_TWL4030 if REGULATOR
> + help
> + Say yes here if you are using the TWL4030/TPS65950 based power module
> + for the EVM boards.
> +

Perhaps this should select the TWL4030 driver rather than depending on
it? Configuration variables that require selection over different menus
can be a bit obscure for users since (in this case) they need to know to
go to the MFD menu, enable the TWL4030 then go back down into the OMAP
menu to enable the board-specific support.