xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/sky81452.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotSKY81452 bindings
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotRequired properties:
4*c66ec88fSEmmanuel Vadot- compatible	: Must be "skyworks,sky81452"
5*c66ec88fSEmmanuel Vadot- reg		: I2C slave address
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired child nodes:
8*c66ec88fSEmmanuel Vadot- backlight	: container node for backlight following the binding
9*c66ec88fSEmmanuel Vadot		in leds/backlight/sky81452-backlight.txt
10*c66ec88fSEmmanuel Vadot- regulator	: container node for regulators following the binding
11*c66ec88fSEmmanuel Vadot		in regulator/sky81452-regulator.txt
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel VadotExample:
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot	sky81452@2c {
16*c66ec88fSEmmanuel Vadot		compatible = "skyworks,sky81452";
17*c66ec88fSEmmanuel Vadot		reg = <0x2c>;
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot		backlight {
20*c66ec88fSEmmanuel Vadot			compatible = "skyworks,sky81452-backlight";
21*c66ec88fSEmmanuel Vadot			name = "pwm-backlight";
22*c66ec88fSEmmanuel Vadot			led-sources = <0 1 2 3 6>;
23*c66ec88fSEmmanuel Vadot			skyworks,ignore-pwm;
24*c66ec88fSEmmanuel Vadot			skyworks,phase-shift;
25*c66ec88fSEmmanuel Vadot			skyworks,current-limit = <2300>;
26*c66ec88fSEmmanuel Vadot		};
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadot		regulator {
29*c66ec88fSEmmanuel Vadot			lout {
30*c66ec88fSEmmanuel Vadot				regulator-name = "sky81452-lout";
31*c66ec88fSEmmanuel Vadot				regulator-min-microvolt = <4500000>;
32*c66ec88fSEmmanuel Vadot				regulator-max-microvolt = <8000000>;
33*c66ec88fSEmmanuel Vadot			};
34*c66ec88fSEmmanuel Vadot		};
35*c66ec88fSEmmanuel Vadot	};
36