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