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
106bcf7631SSven Van AsbroeckOptional sub-node:
116bcf7631SSven Van Asbroeck
126bcf7631SSven Van AsbroeckThis subnode selects the chip's operational mode.
136bcf7631SSven Van AsbroeckThere can be at most one single available subnode.
146bcf7631SSven Van Asbroeck
156bcf7631SSven Van Asbroeck- regulator: presence of this sub-node puts the chip in regulator mode.
166bcf7631SSven Van Asbroeck	see ../regulator/regulator.yaml
176bcf7631SSven Van Asbroeck
186bcf7631SSven Van Asbroeck- led: presence of this sub-node puts the chip in led mode.
196bcf7631SSven Van Asbroeck	Optional properties:
206bcf7631SSven Van Asbroeck	- function : see ../leds/common.txt
216bcf7631SSven Van Asbroeck	- color    : see ../leds/common.txt
226bcf7631SSven Van Asbroeck	- label    : see ../leds/common.txt
236bcf7631SSven Van Asbroeck			(deprecated)
246bcf7631SSven Van Asbroeck
256bcf7631SSven 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};
336bcf7631SSven Van Asbroeck
346bcf7631SSven Van AsbroeckExample (GPIO + regulator operation):
356bcf7631SSven Van Asbroeck
366bcf7631SSven Van Asbroecki2c0 {
376bcf7631SSven Van Asbroeck	tps61052@33 {
386bcf7631SSven Van Asbroeck		compatible = "ti,tps61052";
396bcf7631SSven Van Asbroeck		reg = <0x33>;
406bcf7631SSven Van Asbroeck
416bcf7631SSven Van Asbroeck		regulator {
426bcf7631SSven Van Asbroeck			regulator-min-microvolt = <5000000>;
436bcf7631SSven Van Asbroeck			regulator-max-microvolt = <5000000>;
446bcf7631SSven Van Asbroeck			regulator-always-on;
456bcf7631SSven Van Asbroeck		};
466bcf7631SSven Van Asbroeck	};
476bcf7631SSven Van Asbroeck};
486bcf7631SSven Van Asbroeck
496bcf7631SSven Van AsbroeckExample (GPIO + led operation):
506bcf7631SSven Van Asbroeck
516bcf7631SSven Van Asbroeck#include <dt-bindings/leds/common.h>
526bcf7631SSven Van Asbroeck
536bcf7631SSven Van Asbroecki2c0 {
546bcf7631SSven Van Asbroeck	tps61052@33 {
556bcf7631SSven Van Asbroeck		compatible = "ti,tps61052";
566bcf7631SSven Van Asbroeck		reg = <0x33>;
576bcf7631SSven Van Asbroeck
586bcf7631SSven Van Asbroeck		led {
596bcf7631SSven Van Asbroeck			color = <LED_COLOR_ID_WHITE>;
606bcf7631SSven Van Asbroeck		};
616bcf7631SSven Van Asbroeck	};
626bcf7631SSven Van Asbroeck};
63