About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / leds / pca963x.txt




Custom Search

Based on kernel version 4.1. Page generated on 2015-06-28 12:09 EST.

1	LEDs connected to pca9632, pca9633 or pca9634
2	
3	Required properties:
4	- compatible : should be : "nxp,pca9632", "nxp,pca9633", "nxp,pca9634" or "nxp,pca9635"
5	
6	Optional properties:
7	- nxp,totem-pole : use totem pole (push-pull) instead of open-drain (pca9632 defaults
8	  to open-drain, newer chips to totem pole)
9	- nxp,hw-blink : use hardware blinking instead of software blinking
10	
11	Each led is represented as a sub-node of the nxp,pca963x device.
12	
13	LED sub-node properties:
14	- label : (optional) see Documentation/devicetree/bindings/leds/common.txt
15	- reg : number of LED line (could be from 0 to 3 in pca9632 or pca9633,
16			0 to 7 in pca9634, or 0 to 15 in pca9635)
17	- linux,default-trigger : (optional)
18	   see Documentation/devicetree/bindings/leds/common.txt
19	
20	Examples:
21	
22	pca9632: pca9632 {
23		compatible = "nxp,pca9632";
24		#address-cells = <1>;
25		#size-cells = <0>;
26		reg = <0x62>;
27	
28		red@0 {
29			label = "red";
30			reg = <0>;
31			linux,default-trigger = "none";
32		};
33		green@1 {
34			label = "green";
35			reg = <1>;
36			linux,default-trigger = "none";
37		};
38		blue@2 {
39			label = "blue";
40			reg = <2>;
41			linux,default-trigger = "none";
42		};
43		unused@3 {
44			label = "unused";
45			reg = <3>;
46			linux,default-trigger = "none";
47		};
48	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.