Back to home page

OSCL-LXR

 
 

    


0001 Motorola CPCAP PMIC LEDs
0002 ------------------------
0003 
0004 This module is part of the CPCAP. For more details about the whole
0005 chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt.
0006 
0007 Requires node properties:
0008 - compatible: should be one of
0009    * "motorola,cpcap-led-mdl"           (Main Display Lighting)
0010    * "motorola,cpcap-led-kl"            (Keyboard Lighting)
0011    * "motorola,cpcap-led-adl"           (Aux Display Lighting)
0012    * "motorola,cpcap-led-red"           (Red Triode)
0013    * "motorola,cpcap-led-green"         (Green Triode)
0014    * "motorola,cpcap-led-blue"          (Blue Triode)
0015    * "motorola,cpcap-led-cf"            (Camera Flash)
0016    * "motorola,cpcap-led-bt"            (Bluetooth)
0017    * "motorola,cpcap-led-cp"            (Camera Privacy LED)
0018 - label: see Documentation/devicetree/bindings/leds/common.txt
0019 - vdd-supply: A phandle to the regulator powering the LED
0020 
0021 Example:
0022 
0023 &cpcap {
0024         cpcap_led_red: red-led {
0025                 compatible = "motorola,cpcap-led-red";
0026                 label = "cpcap:red";
0027                 vdd-supply = <&sw5>;
0028         };
0029 };