Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regulator: add binding for the SY8106A voltage regulator

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

Add its device tree binding.

Signed-off-by: Ondrej Jirman <megous@megous.com>
[Icenowy: Change commit message and slight fixes]
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Ondrej Jirman and committed by
Mark Brown
32aba834 08813e0e

+23
+23
Documentation/devicetree/bindings/regulator/sy8106a-regulator.txt
··· 1 + SY8106A Voltage regulator 2 + 3 + Required properties: 4 + - compatible: Must be "silergy,sy8106a" 5 + - reg: I2C slave address - must be <0x65> 6 + - silergy,fixed-microvolt - the voltage when I2C regulating is disabled (set 7 + by external resistor like a fixed voltage) 8 + 9 + Any property defined as part of the core regulator binding, defined in 10 + ./regulator.txt, can also be used. 11 + 12 + Example: 13 + 14 + sy8106a { 15 + compatible = "silergy,sy8106a"; 16 + reg = <0x65>; 17 + regulator-name = "sy8106a-vdd"; 18 + silergy,fixed-microvolt = <1200000>; 19 + regulator-min-microvolt = <1000000>; 20 + regulator-max-microvolt = <1400000>; 21 + regulator-boot-on; 22 + regulator-always-on; 23 + };