[U-Boot] [PATCH v3 05/11] sunxi: Add PMIC_AXP kconfig entry

Maxime Ripard maxime.ripard at bootlin.com
Wed Mar 14 13:26:07 UTC 2018


On Wed, Mar 14, 2018 at 06:29:48PM +0530, Jagan Teki wrote:
> Add simple and meaningful kconfig option for pmic_bus.c
> instead of using MACH type on Makefile.
> 
> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> ---
>  arch/arm/mach-sunxi/Kconfig  | 6 ++++++
>  arch/arm/mach-sunxi/Makefile | 7 +------
>  drivers/power/Kconfig        | 5 +++++
>  3 files changed, 12 insertions(+), 6 deletions(-)
> 
> diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
> index 601036c67f..4776337aaf 100644
> --- a/arch/arm/mach-sunxi/Kconfig
> +++ b/arch/arm/mach-sunxi/Kconfig
> @@ -23,6 +23,12 @@ config MFD_SUN6I_PRCM
>  	  Support for the PRCM (Power/Reset/Clock Management) unit available
>  	  in A31 SoC.
>  
> +config PMIC_AXP
> +	bool "Sunxi AXP PMIC bus access helpers"
> +	help
> +	  Select this PMIC bus access helpers for Sunxi platform PRCM or other
> +	  AXP family PMIC devices.
> +

What about something like AXP_PMIC_BUS. It would make it clear that
it's about the bus itself, and not the PMIC.

Maxime

-- 
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180314/a52ab6ad/attachment.sig>


More information about the U-Boot mailing list