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