xref: /openbmc/linux/Documentation/devicetree/bindings/mfd/tps6105x.txt (revision 8dd06ef34b6e2f41b29fbf5fc1663780f2524285)
18002c4e7SJavier Martinez Canillas* Device tree bindings for TI TPS61050/61052 Boost Converters
28002c4e7SJavier Martinez Canillas
38002c4e7SJavier Martinez CanillasThe TP61050/TPS61052 is a high-power "white LED driver". The
48002c4e7SJavier Martinez Canillasdevice provides LED, GPIO and regulator functionalities.
58002c4e7SJavier Martinez Canillas
68002c4e7SJavier Martinez CanillasRequired properties:
78002c4e7SJavier Martinez Canillas- compatible:		"ti,tps61050" or "ti,tps61052"
88002c4e7SJavier Martinez Canillas- reg:			Specifies the I2C slave address
98002c4e7SJavier Martinez Canillas
10*6bcf7631SSven Van AsbroeckOptional sub-node:
11*6bcf7631SSven Van Asbroeck
12*6bcf7631SSven Van AsbroeckThis subnode selects the chip's operational mode.
13*6bcf7631SSven Van AsbroeckThere can be at most one single available subnode.
14*6bcf7631SSven Van Asbroeck
15*6bcf7631SSven Van Asbroeck- regulator: presence of this sub-node puts the chip in regulator mode.
16*6bcf7631SSven Van Asbroeck	see ../regulator/regulator.yaml
17*6bcf7631SSven Van Asbroeck
18*6bcf7631SSven Van Asbroeck- led: presence of this sub-node puts the chip in led mode.
19*6bcf7631SSven Van Asbroeck	Optional properties:
20*6bcf7631SSven Van Asbroeck	- function : see ../leds/common.txt
21*6bcf7631SSven Van Asbroeck	- color    : see ../leds/common.txt
22*6bcf7631SSven Van Asbroeck	- label    : see ../leds/common.txt
23*6bcf7631SSven Van Asbroeck			(deprecated)
24*6bcf7631SSven Van Asbroeck
25*6bcf7631SSven Van AsbroeckExample (GPIO operation only):
268002c4e7SJavier Martinez Canillas
278002c4e7SJavier Martinez Canillasi2c0 {
288002c4e7SJavier Martinez Canillas	tps61052@33 {
298002c4e7SJavier Martinez Canillas		compatible = "ti,tps61052";
308002c4e7SJavier Martinez Canillas		reg = <0x33>;
318002c4e7SJavier Martinez Canillas	};
328002c4e7SJavier Martinez Canillas};
33*6bcf7631SSven Van Asbroeck
34*6bcf7631SSven Van AsbroeckExample (GPIO + regulator operation):
35*6bcf7631SSven Van Asbroeck
36*6bcf7631SSven Van Asbroecki2c0 {
37*6bcf7631SSven Van Asbroeck	tps61052@33 {
38*6bcf7631SSven Van Asbroeck		compatible = "ti,tps61052";
39*6bcf7631SSven Van Asbroeck		reg = <0x33>;
40*6bcf7631SSven Van Asbroeck
41*6bcf7631SSven Van Asbroeck		regulator {
42*6bcf7631SSven Van Asbroeck			regulator-min-microvolt = <5000000>;
43*6bcf7631SSven Van Asbroeck			regulator-max-microvolt = <5000000>;
44*6bcf7631SSven Van Asbroeck			regulator-always-on;
45*6bcf7631SSven Van Asbroeck		};
46*6bcf7631SSven Van Asbroeck	};
47*6bcf7631SSven Van Asbroeck};
48*6bcf7631SSven Van Asbroeck
49*6bcf7631SSven Van AsbroeckExample (GPIO + led operation):
50*6bcf7631SSven Van Asbroeck
51*6bcf7631SSven Van Asbroeck#include <dt-bindings/leds/common.h>
52*6bcf7631SSven Van Asbroeck
53*6bcf7631SSven Van Asbroecki2c0 {
54*6bcf7631SSven Van Asbroeck	tps61052@33 {
55*6bcf7631SSven Van Asbroeck		compatible = "ti,tps61052";
56*6bcf7631SSven Van Asbroeck		reg = <0x33>;
57*6bcf7631SSven Van Asbroeck
58*6bcf7631SSven Van Asbroeck		led {
59*6bcf7631SSven Van Asbroeck			color = <LED_COLOR_ID_WHITE>;
60*6bcf7631SSven Van Asbroeck		};
61*6bcf7631SSven Van Asbroeck	};
62*6bcf7631SSven Van Asbroeck};
63