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