xref: /openbmc/linux/Documentation/devicetree/bindings/leds/leds-cpcap.txt (revision a976c2951d8f376112361830aa7762beff83a205)
1*cd3b0b05SSebastian ReichelMotorola CPCAP PMIC LEDs
2*cd3b0b05SSebastian Reichel------------------------
3*cd3b0b05SSebastian Reichel
4*cd3b0b05SSebastian ReichelThis module is part of the CPCAP. For more details about the whole
5*cd3b0b05SSebastian Reichelchip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
6*cd3b0b05SSebastian Reichel
7*cd3b0b05SSebastian ReichelRequires node properties:
8*cd3b0b05SSebastian Reichel- compatible: should be one of
9*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-mdl"		(Main Display Lighting)
10*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-kl"		(Keyboard Lighting)
11*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-adl"		(Aux Display Lighting)
12*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-red"		(Red Triode)
13*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-green"		(Green Triode)
14*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-blue"		(Blue Triode)
15*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-cf"		(Camera Flash)
16*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-bt"		(Bluetooth)
17*cd3b0b05SSebastian Reichel   * "motorola,cpcap-led-cp"		(Camera Privacy LED)
18*cd3b0b05SSebastian Reichel- label: see Documentation/devicetree/bindings/leds/common.txt
19*cd3b0b05SSebastian Reichel- vdd-supply: A phandle to the regulator powering the LED
20*cd3b0b05SSebastian Reichel
21*cd3b0b05SSebastian ReichelExample:
22*cd3b0b05SSebastian Reichel
23*cd3b0b05SSebastian Reichel&cpcap {
24*cd3b0b05SSebastian Reichel	cpcap_led_red: red-led {
25*cd3b0b05SSebastian Reichel		compatible = "motorola,cpcap-led-red";
26*cd3b0b05SSebastian Reichel		label = "cpcap:red";
27*cd3b0b05SSebastian Reichel		vdd-supply = <&sw5>;
28*cd3b0b05SSebastian Reichel	};
29*cd3b0b05SSebastian Reichel};
30