RE: [PATCHv3 2/4] Regulator: OMAP: Modifying Kconfig/Makefile to choose from available PMICs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Grazvydas Ignotas [mailto:notasas@xxxxxxxxx]
> Sent: Tuesday, March 02, 2010 10:54 PM
> To: Aggarwal, Anuj
> Cc: tony@xxxxxxxxxxx; linux-omap@xxxxxxxxxxxxxxx;
> broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx; lrg@xxxxxxxxxxxxxxx
> Subject: Re: [PATCHv3 2/4] Regulator: OMAP: Modifying Kconfig/Makefile to
> choose from available PMICs
> 
> On Tue, Mar 2, 2010 at 12:29 PM, Anuj Aggarwal <anuj.aggarwal@xxxxxx>
> wrote:
> > Kconfig is modified for OMAP3 EVM so that user can choose the
> appropriate
> > PMIC (currently only TWL4030). Config options for other PMICs will be
> > added later on.
> > Makefile is modified so that twl4030-pmic.c gets compiled for the
> > platforms having TWL4030 as the PMIC.
> >
> > Signed-off-by: Anuj Aggarwal <anuj.aggarwal@xxxxxx>
> > ---
> >  arch/arm/mach-omap2/Kconfig  |    9 +++++++++
> >  arch/arm/mach-omap2/Makefile |    1 +
> >  2 files changed, 10 insertions(+), 0 deletions(-)
> >
> > diff --git a/arch/arm/mach-omap2/Kconfig b/arch/arm/mach-omap2/Kconfig
> > index a8a3d1e..1974dda 100644
> > --- a/arch/arm/mach-omap2/Kconfig
> > +++ b/arch/arm/mach-omap2/Kconfig
> > @@ -77,6 +77,15 @@ config MACH_OMAP3EVM
> >        depends on ARCH_OMAP3
> >        select OMAP_PACKAGE_CBB
> >
> > +config PMIC_TWL4030
> > +       bool "TWL4030/TPS65950 Power Module"
> > +       default y
> > +       select TWL4030_CORE
> > +       select REGULATOR_TWL4030 if REGULATOR
> > +       help
> > +         Say yes here if you are using the TWL4030/TPS65950 based power
> module
> > +         for the EVM boards.
> > +
> 
> Any reason to have this user configurable? The boards that depend on
> it will always need it to be enabled to compile, and the ones that
> don't always want it disabled.
[Aggarwal, Anuj] OMAP3 EVM can have different PMICs like TWL4030,
TPS65023, TPS6507x etc; user can configure the kernel accordingly.
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux