|
|
Re: [PATCH v9] Regulator: Add Anatop regulator driver |
On 21:24 Wed 07 Mar , Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" <paul.liu@xxxxxxxxxx> > > Anatop is an integrated regulator inside i.MX6 SoC. > There are 3 digital regulators which controls PU, CORE (ARM), and SOC. > And 3 analog regulators which controls 1P1, 2P5, 3P0 (USB). > This patch adds the Anatop regulator driver. > > Signed-off-by: Nancy Chen <Nancy.Chen@xxxxxxxxxxxxx> > Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@xxxxxxxxxx> > Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx> > Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> > Cc: Liam Girdwood <lrg@xxxxxx> > Cc: Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> > --- > .../bindings/regulator/anatop-regulator.txt | 28 +++ > drivers/regulator/Kconfig | 8 + > drivers/regulator/Makefile | 1 + > drivers/regulator/anatop-regulator.c | 231 ++++++++++++++++++++ > 4 files changed, 268 insertions(+), 0 deletions(-) > create mode 100644 Documentation/devicetree/bindings/regulator/anatop-regulator.txt > create mode 100644 drivers/regulator/anatop-regulator.c > > diff --git a/Documentation/devicetree/bindings/regulator/anatop-regulator.txt b/Documentation/devicetree/bindings/regulator/anatop-regulator.txt > new file mode 100644 > index 0000000..500463e > --- /dev/null > +++ b/Documentation/devicetree/bindings/regulator/anatop-regulator.txt > @@ -0,0 +1,28 @@ > +Anatop Voltage regulators > + > +Required properties: > +- compatible: Must be "fsl,anatop-regulator" > +- vol-bit-shift: Bit shift for the register > +- vol-bit-width: Number of bits used in the register > +- min-bit-val: Minimum value of this register > +- min-voltage: Minimum voltage of this regulator > +- max-voltage: Maximum voltage of this regulator specific properites need to be prefix by the vendor Best Regards, J. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
[Linux ARM (vger)] [Linux ARM MSM] [Linux Omap] [Linux Arm] [Linux Tegra] [Fedora ARM] [eCos] [Linux Fastboot] [Gcc Help] [Git] [DCCP] [IETF Announce] [Security] [PDAs] [Linux] [Linux MIPS] [Yosemite Campsites] [Photos]
![]() |
![]() |