From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH v2 4/4] mfd: rn5t618: document device tree bindings Date: Mon, 1 Sep 2014 09:27:12 +0100 Message-ID: <20140901082712.GB7374@lee--X1> References: <1409403026-28818-1-git-send-email-b.galvani@gmail.com> <1409403026-28818-5-git-send-email-b.galvani@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1409403026-28818-5-git-send-email-b.galvani@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Beniamino Galvani Cc: linux-kernel@vger.kernel.org, Samuel Ortiz , Mark Brown , Liam Girdwood , Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Grant Likely , Carlo Caione List-Id: devicetree@vger.kernel.org On Sat, 30 Aug 2014, Beniamino Galvani wrote: > This adds the device tree bindings documentation for Ricoh RN5T618. >=20 > Signed-off-by: Beniamino Galvani > Reviewed-by: Mark Brown > --- > Documentation/devicetree/bindings/mfd/rn5t618.txt | 36 +++++++++++= ++++++++++ > 1 file changed, 36 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mfd/rn5t618.txt Whoops, should have replied to this one instead of the other one twice. Applied, thanks. > diff --git a/Documentation/devicetree/bindings/mfd/rn5t618.txt b/Docu= mentation/devicetree/bindings/mfd/rn5t618.txt > new file mode 100644 > index 0000000..937785a > --- /dev/null > +++ b/Documentation/devicetree/bindings/mfd/rn5t618.txt > @@ -0,0 +1,36 @@ > +* Ricoh RN5T618 PMIC > + > +Ricoh RN5T618 is a power management IC which integrates 3 step-down > +DCDC converters, 7 low-dropout regulators, a Li-ion battery charger, > +fuel gauge, ADC, GPIOs and a watchdog timer. It can be controlled > +through a I2C interface. > + > +Required properties: > + - compatible: should be "ricoh,rn5t618" > + - reg: the I2C slave address of the device > + > +Sub-nodes: > + - regulators: the node is required if the regulator functionality i= s > + needed. The valid regulator names are: DCDC1, DCDC2, DCDC3, LDO1, > + LDO2, LDO3, LDO4, LDO5, LDORTC1 and LDORTC2. > + The common bindings for each individual regulator can be found in= : > + Documentation/devicetree/bindings/regulator/regulator.txt > + > +Example: > + > + pmic@32 { > + compatible =3D "ricoh,rn5t618"; > + reg =3D <0x32>; > + > + regulators { > + DCDC1 { > + regulator-min-microvolt =3D <1050000>; > + regulator-max-microvolt =3D <1050000>; > + }; > + > + DCDC2 { > + regulator-min-microvolt =3D <1175000>; > + regulator-max-microvolt =3D <1175000>; > + }; > + }; > + }; --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog