Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit d3733bc8 authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Mark Brown
Browse files

regulator: add binding for the SY8824C voltage regulator



SY8824C is an I2C-controlled adjustable voltage regulator made by
Silergy Corp.

Add its device tree binding.

Signed-off-by: default avatarJisheng Zhang <Jisheng.Zhang@synaptics.com>
Link: https://lore.kernel.org/r/20190827163341.61df63a7@xhacker.debian


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 955741a5
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
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 = "silergy,sy8824c";
		reg = <0x66>;
		regulator-name = "vcore";
		regulator-min-microvolt = <800000>;
		regulator-max-microvolt = <1150000>;
		regulator-boot-on;
		regulator-always-on;
	};