From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jisheng Zhang Subject: [PATCH 1/8] regulator: add binding for the SY8824C voltage regulator Date: Tue, 27 Aug 2019 08:45:00 +0000 Message-ID: <20190827163341.61df63a7@xhacker.debian> References: <20190827163252.4982af95@xhacker.debian> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190827163252.4982af95@xhacker.debian> Content-Language: en-US Content-ID: Sender: linux-kernel-owner@vger.kernel.org To: Liam Girdwood , Mark Brown , Rob Herring , Mark Rutland Cc: "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" List-Id: devicetree@vger.kernel.org SY8824C is an I2C-controlled adjustable voltage regulator made by Silergy Corp. Add its device tree binding. Signed-off-by: Jisheng Zhang --- .../devicetree/bindings/regulator/sy8824x.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/sy8824x.txt diff --git a/Documentation/devicetree/bindings/regulator/sy8824x.txt b/Docu= mentation/devicetree/bindings/regulator/sy8824x.txt new file mode 100644 index 000000000000..ff8d1af04f7b --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/sy8824x.txt @@ -0,0 +1,20 @@ +SY8824C Voltage regulator + +Required properties: +- compatible: Must be "silergy,sy8824c" +- reg: I2C slave address + +Any property defined as part of the core regulator binding, defined in +./regulator.txt, can also be used. + +Example: + + vcore: regulator@00 { + compatible =3D "silergy,sy8824c"; + reg =3D <0x66>; + regulator-name =3D "vcore"; + regulator-min-microvolt =3D <800000>; + regulator-max-microvolt =3D <1150000>; + regulator-boot-on; + regulator-always-on; + }; --=20 2.23.0.rc1