~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/ti-lmu.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mfd/ti-lmu.txt (Architecture alpha) and /Documentation/devicetree/bindings/mfd/ti-lmu.txt (Architecture sparc64)


  1 TI LMU (Lighting Management Unit) device tree       1 TI LMU (Lighting Management Unit) device tree bindings
  2                                                     2 
  3 TI LMU driver supports lighting devices below.      3 TI LMU driver supports lighting devices below.
  4                                                     4 
  5    Name                  Child nodes                5    Name                  Child nodes
  6   ------      --------------------------------      6   ------      ---------------------------------
  7   LM3631       Backlight and regulator              7   LM3631       Backlight and regulator
  8   LM3632       Backlight and regulator              8   LM3632       Backlight and regulator
  9   LM3633       Backlight, LED and fault monito      9   LM3633       Backlight, LED and fault monitor
 10   LM3695       Backlight                           10   LM3695       Backlight
 11   LM36274      Backlight and regulator             11   LM36274      Backlight and regulator
 12                                                    12 
 13 Required properties:                               13 Required properties:
 14   - compatible: Should be one of:                  14   - compatible: Should be one of:
 15                 "ti,lm3631"                        15                 "ti,lm3631"
 16                 "ti,lm3632"                        16                 "ti,lm3632"
 17                 "ti,lm3633"                        17                 "ti,lm3633"
 18                 "ti,lm3695"                        18                 "ti,lm3695"
 19                 "ti,lm36274"                       19                 "ti,lm36274"
 20   - reg: I2C slave address.                        20   - reg: I2C slave address.
 21          0x11 for LM3632                           21          0x11 for LM3632
 22          0x29 for LM3631                           22          0x29 for LM3631
 23          0x36 for LM3633                           23          0x36 for LM3633
 24          0x63 for LM3695                           24          0x63 for LM3695
 25          0x11 for LM36274                          25          0x11 for LM36274
 26                                                    26 
 27 Optional properties:                               27 Optional properties:
 28   - enable-gpios: A GPIO specifier for hardwar     28   - enable-gpios: A GPIO specifier for hardware enable pin.
 29   - ramp-up-us: Current ramping from one brigh     29   - ramp-up-us: Current ramping from one brightness level to
 30                 the a higher brightness level.     30                 the a higher brightness level.
 31                 Range from 2048 us - 117.44 s      31                 Range from 2048 us - 117.44 s
 32   - ramp-down-us: Current ramping from one bri     32   - ramp-down-us: Current ramping from one brightness level to
 33                   the a lower brightness level     33                   the a lower brightness level.
 34                   Range from 2048 us - 117.44      34                   Range from 2048 us - 117.44 s
 35   - ti,brightness-resolution - This determines     35   - ti,brightness-resolution - This determines whether to use 8 bit brightness
 36                                mode or 11 bit      36                                mode or 11 bit brightness mode.  If this value is
 37                                not set the dev     37                                not set the device is defaulted to the preferred
 38                                8bit brightness     38                                8bit brightness mode per 7.3.4.1 of the data
 39                                sheet.  This se     39                                sheet.  This setting can either be in the parent
 40                                node or as part     40                                node or as part of the LED child nodes.  This
 41                                is determined b     41                                is determined by the part itself if the strings
 42                                have a common b     42                                have a common brightness register or individual
 43                                brightness regi     43                                brightness registers.
 44                                The values are      44                                The values are 255 (8bit) or 2047 (11bit).
 45                                                    45 
 46 Required node:                                     46 Required node:
 47   - backlight: All LMU devices have backlight      47   - backlight: All LMU devices have backlight child nodes.
 48                For the properties, please refe     48                For the properties, please refer to [1].
 49                                                    49 
 50 Optional nodes:                                    50 Optional nodes:
 51   - fault-monitor: Hardware fault monitoring d     51   - fault-monitor: Hardware fault monitoring driver for LM3633 and LM3697.
 52     Required properties:                           52     Required properties:
 53       - compatible: Should be one of:              53       - compatible: Should be one of:
 54                     "ti,lm3633-fault-monitor"      54                     "ti,lm3633-fault-monitor"
 55   - leds: LED properties for LM3633. Please re     55   - leds: LED properties for LM3633. Please refer to [2].
 56           LED properties for LM36274. Please r     56           LED properties for LM36274. Please refer to [4].
 57   - regulators: Regulator properties for LM363     57   - regulators: Regulator properties for LM3631 and LM3632.
 58                 Please refer to [3].               58                 Please refer to [3].
 59                                                    59 
 60 [1] ../leds/backlight/ti-lmu-backlight.txt         60 [1] ../leds/backlight/ti-lmu-backlight.txt
 61 [2] ../leds/leds-lm3633.txt                        61 [2] ../leds/leds-lm3633.txt
 62 [3] ../regulator/lm363x-regulator.txt              62 [3] ../regulator/lm363x-regulator.txt
 63 [4] ../leds/leds-lm36274.txt                       63 [4] ../leds/leds-lm36274.txt
 64                                                    64 
 65 lm3631@29 {                                        65 lm3631@29 {
 66         compatible = "ti,lm3631";                  66         compatible = "ti,lm3631";
 67         reg = <0x29>;                              67         reg = <0x29>;
 68                                                    68 
 69         regulators {                               69         regulators {
 70                 compatible = "ti,lm363x-regula     70                 compatible = "ti,lm363x-regulator";
 71                                                    71 
 72                 vboost {                           72                 vboost {
 73                         regulator-name = "lcd_     73                         regulator-name = "lcd_boost";
 74                         regulator-min-microvol     74                         regulator-min-microvolt = <4500000>;
 75                         regulator-max-microvol     75                         regulator-max-microvolt = <6350000>;
 76                         regulator-always-on;       76                         regulator-always-on;
 77                 };                                 77                 };
 78                                                    78 
 79                 vcont {                            79                 vcont {
 80                         regulator-name = "lcd_     80                         regulator-name = "lcd_vcont";
 81                         regulator-min-microvol     81                         regulator-min-microvolt = <1800000>;
 82                         regulator-max-microvol     82                         regulator-max-microvolt = <3300000>;
 83                 };                                 83                 };
 84                                                    84 
 85                 voref {                            85                 voref {
 86                         regulator-name = "lcd_     86                         regulator-name = "lcd_voref";
 87                         regulator-min-microvol     87                         regulator-min-microvolt = <4000000>;
 88                         regulator-max-microvol     88                         regulator-max-microvolt = <6000000>;
 89                 };                                 89                 };
 90                                                    90 
 91                 vpos {                             91                 vpos {
 92                         regulator-name = "lcd_     92                         regulator-name = "lcd_vpos";
 93                         regulator-min-microvol     93                         regulator-min-microvolt = <4000000>;
 94                         regulator-max-microvol     94                         regulator-max-microvolt = <6000000>;
 95                         regulator-boot-on;         95                         regulator-boot-on;
 96                 };                                 96                 };
 97                                                    97 
 98                 vneg {                             98                 vneg {
 99                         regulator-name = "lcd_     99                         regulator-name = "lcd_vneg";
100                         regulator-min-microvol    100                         regulator-min-microvolt = <4000000>;
101                         regulator-max-microvol    101                         regulator-max-microvolt = <6000000>;
102                         regulator-boot-on;        102                         regulator-boot-on;
103                 };                                103                 };
104         };                                        104         };
105                                                   105 
106         backlight {                               106         backlight {
107                 compatible = "ti,lm3631-backli    107                 compatible = "ti,lm3631-backlight";
108                                                   108 
109                 lcd_bl {                          109                 lcd_bl {
110                         led-sources = <0 1>;      110                         led-sources = <0 1>;
111                         ramp-up-us = <300000>;    111                         ramp-up-us = <300000>;
112                 };                                112                 };
113         };                                        113         };
114 };                                                114 };
115                                                   115 
116 lm3632@11 {                                       116 lm3632@11 {
117         compatible = "ti,lm3632";                 117         compatible = "ti,lm3632";
118         reg = <0x11>;                             118         reg = <0x11>;
119                                                   119 
120         enable-gpios = <&pioC 2 GPIO_ACTIVE_HI    120         enable-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>; /* PC2 */
121                                                   121 
122         regulators {                              122         regulators {
123                 compatible = "ti,lm363x-regula    123                 compatible = "ti,lm363x-regulator";
124                                                   124 
125                 enable-gpios = <&pioC 0 GPIO_A    125                 enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
126                                <&pioC 1 GPIO_A    126                                <&pioC 1 GPIO_ACTIVE_HIGH>;
127                                                   127 
128                 vboost {                          128                 vboost {
129                         regulator-name = "lcd_    129                         regulator-name = "lcd_boost";
130                         regulator-min-microvol    130                         regulator-min-microvolt = <4500000>;
131                         regulator-max-microvol    131                         regulator-max-microvolt = <6400000>;
132                         regulator-always-on;      132                         regulator-always-on;
133                 };                                133                 };
134                                                   134 
135                 vpos {                            135                 vpos {
136                         regulator-name = "lcd_    136                         regulator-name = "lcd_vpos";
137                         regulator-min-microvol    137                         regulator-min-microvolt = <4000000>;
138                         regulator-max-microvol    138                         regulator-max-microvolt = <6000000>;
139                 };                                139                 };
140                                                   140 
141                 vneg {                            141                 vneg {
142                         regulator-name = "lcd_    142                         regulator-name = "lcd_vneg";
143                         regulator-min-microvol    143                         regulator-min-microvolt = <4000000>;
144                         regulator-max-microvol    144                         regulator-max-microvolt = <6000000>;
145                 };                                145                 };
146         };                                        146         };
147                                                   147 
148         backlight {                               148         backlight {
149                 compatible = "ti,lm3632-backli    149                 compatible = "ti,lm3632-backlight";
150                                                   150 
151                 pwms = <&pwm0 0 10000 0>; /* p    151                 pwms = <&pwm0 0 10000 0>; /* pwm number, period, polarity */
152                 pwm-names = "lmu-backlight";      152                 pwm-names = "lmu-backlight";
153                                                   153 
154                 lcd {                             154                 lcd {
155                         led-sources = <0 1>;      155                         led-sources = <0 1>;
156                         pwm-period = <10000>;     156                         pwm-period = <10000>;
157                 };                                157                 };
158         };                                        158         };
159 };                                                159 };
160                                                   160 
161 lm3633@36 {                                       161 lm3633@36 {
162         compatible = "ti,lm3633";                 162         compatible = "ti,lm3633";
163         reg = <0x36>;                             163         reg = <0x36>;
164                                                   164 
165         enable-gpios = <&pioC 2 GPIO_ACTIVE_HI    165         enable-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
166                                                   166 
167         backlight {                               167         backlight {
168                 compatible = "ti,lm3633-backli    168                 compatible = "ti,lm3633-backlight";
169                                                   169 
170                 main {                            170                 main {
171                         label = "main_lcd";       171                         label = "main_lcd";
172                         led-sources = <1 2>;      172                         led-sources = <1 2>;
173                         ramp-up-us = <500000>;    173                         ramp-up-us = <500000>;
174                         ramp-down-us = <500000    174                         ramp-down-us = <500000>;
175                 };                                175                 };
176                                                   176 
177                 front {                           177                 front {
178                         label = "front_lcd";      178                         label = "front_lcd";
179                         led-sources = <0>;        179                         led-sources = <0>;
180                         ramp-up-us = <1000000>    180                         ramp-up-us = <1000000>;
181                         ramp-down-us = <0>;       181                         ramp-down-us = <0>;
182                 };                                182                 };
183         };                                        183         };
184                                                   184 
185         leds {                                    185         leds {
186                 compatible = "ti,lm3633-leds";    186                 compatible = "ti,lm3633-leds";
187                                                   187 
188                 chan1 {                           188                 chan1 {
189                         label = "status";         189                         label = "status";
190                         led-sources = <1>;        190                         led-sources = <1>;
191                         led-max-microamp = <60    191                         led-max-microamp = <6000>;
192                 };                                192                 };
193                                                   193 
194                 chan345 {                         194                 chan345 {
195                         label = "rgb";            195                         label = "rgb";
196                         led-sources = <3 4 5>;    196                         led-sources = <3 4 5>;
197                         led-max-microamp = <10    197                         led-max-microamp = <10000>;
198                 };                                198                 };
199         };                                        199         };
200                                                   200 
201         fault-monitor {                           201         fault-monitor {
202                 compatible = "ti,lm3633-fault-    202                 compatible = "ti,lm3633-fault-monitor";
203         };                                        203         };
204 };                                                204 };
205                                                   205 
206 lm3695@63 {                                       206 lm3695@63 {
207         compatible = "ti,lm3695";                 207         compatible = "ti,lm3695";
208         reg = <0x63>;                             208         reg = <0x63>;
209                                                   209 
210         enable-gpios = <&pioC 2 GPIO_ACTIVE_HI    210         enable-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
211                                                   211 
212         backlight {                               212         backlight {
213                 compatible = "ti,lm3695-backli    213                 compatible = "ti,lm3695-backlight";
214                                                   214 
215                 lcd {                             215                 lcd {
216                         label = "bl";             216                         label = "bl";
217                         led-sources = <0 1>;      217                         led-sources = <0 1>;
218                 };                                218                 };
219         };                                        219         };
220 };                                                220 };
221                                                   221 
222 lm36274@11 {                                      222 lm36274@11 {
223         compatible = "ti,lm36274";                223         compatible = "ti,lm36274";
224         #address-cells = <1>;                     224         #address-cells = <1>;
225         #size-cells = <0>;                        225         #size-cells = <0>;
226         reg = <0x11>;                             226         reg = <0x11>;
227                                                   227 
228         enable-gpios = <&pioC 2 GPIO_ACTIVE_HI    228         enable-gpios = <&pioC 2 GPIO_ACTIVE_HIGH>;
229         regulators {                              229         regulators {
230                 #address-cells = <1>;             230                 #address-cells = <1>;
231                 #size-cells = <0>;                231                 #size-cells = <0>;
232                 compatible = "ti,lm363x-regula    232                 compatible = "ti,lm363x-regulator";
233                                                   233 
234                 enable-gpios = <&pioC 0 GPIO_A    234                 enable-gpios = <&pioC 0 GPIO_ACTIVE_HIGH>,
235                                <&pioC 1 GPIO_A    235                                <&pioC 1 GPIO_ACTIVE_HIGH>;
236                                                   236 
237                 vboost {                          237                 vboost {
238                         regulator-name = "lcd_    238                         regulator-name = "lcd_boost";
239                         regulator-min-microvol    239                         regulator-min-microvolt = <4000000>;
240                         regulator-max-microvol    240                         regulator-max-microvolt = <7150000>;
241                         regulator-always-on;      241                         regulator-always-on;
242                 };                                242                 };
243                                                   243 
244                 vpos {                            244                 vpos {
245                         regulator-name = "lcd_    245                         regulator-name = "lcd_vpos";
246                         regulator-min-microvol    246                         regulator-min-microvolt = <4000000>;
247                         regulator-max-microvol    247                         regulator-max-microvolt = <6500000>;
248                 };                                248                 };
249                                                   249 
250                 vneg {                            250                 vneg {
251                         regulator-name = "lcd_    251                         regulator-name = "lcd_vneg";
252                         regulator-min-microvol    252                         regulator-min-microvolt = <4000000>;
253                         regulator-max-microvol    253                         regulator-max-microvolt = <6500000>;
254                 };                                254                 };
255         };                                        255         };
256                                                   256 
257         backlight {                               257         backlight {
258                 #address-cells = <1>;             258                 #address-cells = <1>;
259                 #size-cells = <0>;                259                 #size-cells = <0>;
260                 compatible = "ti,lm36274-backl    260                 compatible = "ti,lm36274-backlight";
261                                                   261 
262                 led@0 {                           262                 led@0 {
263                         reg = <0>;                263                         reg = <0>;
264                         led-sources = <0 2>;      264                         led-sources = <0 2>;
265                         label = "white:backlig    265                         label = "white:backlight_cluster";
266                         linux,default-trigger     266                         linux,default-trigger = "backlight";
267                 };                                267                 };
268         };                                        268         };
269 };                                                269 };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php