From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Tue, 6 Feb 2018 16:50:44 +0100 Subject: [U-Boot] [PATCH 05/11] sunxi: Add PMIC_SUNXI kconfig entry In-Reply-To: <1517930128-26181-6-git-send-email-jagan@amarulasolutions.com> References: <1517930128-26181-1-git-send-email-jagan@amarulasolutions.com> <1517930128-26181-6-git-send-email-jagan@amarulasolutions.com> Message-ID: <20180206155044.ruoz6kdvutdkkgad@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Feb 06, 2018 at 08:45:22PM +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 > --- > 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 7ab1990..470ef92 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_SUNXI > + bool "Sunxi PMIC bus access helpers" > + help > + Select this PMIC bus access helpers for Sunxi platform PRCM or other > + AXP family PMIC devices. > + This is only meant for AXP* PMIC, which Allwinner boards might or might not have. AXP_PMIC or some variation of it would be a better choice. Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering http://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: