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