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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/ti.lm36922.yaml

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/leds/ti.lm36922.yaml (Architecture mips) and /Documentation/devicetree/bindings/leds/ti.lm36922.yaml (Architecture i386)


  1 # SPDX-License-Identifier: (GPL-2.0-only OR BS      1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/leds/ti.lm3      4 $id: http://devicetree.org/schemas/leds/ti.lm36922.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Texas Instruments - LM3692x Highly Effi      7 title: Texas Instruments - LM3692x Highly Efficient White LED Driver
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Dan Murphy <dmurphy@ti.com>                     10   - Dan Murphy <dmurphy@ti.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   The LM3692x is an ultra-compact, highly effi     13   The LM3692x is an ultra-compact, highly efficient,
 14   white-LED driver designed for LCD display ba     14   white-LED driver designed for LCD display backlighting.
 15                                                    15 
 16   The main difference between the LM36922 and      16   The main difference between the LM36922 and LM36923 is the number of
 17   LED strings it supports. The LM36922 support     17   LED strings it supports. The LM36922 supports two strings while the LM36923
 18   supports three strings.                          18   supports three strings.
 19                                                    19 
 20   For more product information please see the      20   For more product information please see the link below:
 21   https://www.ti.com/lit/ds/snvsa29/snvsa29.pd     21   https://www.ti.com/lit/ds/snvsa29/snvsa29.pdf
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     enum:                                          25     enum:
 26       - ti,lm36922                                 26       - ti,lm36922
 27       - ti,lm36923                                 27       - ti,lm36923
 28                                                    28 
 29   reg:                                             29   reg:
 30     maxItems: 1                                    30     maxItems: 1
 31                                                    31 
 32   "#address-cells":                                32   "#address-cells":
 33     const: 1                                       33     const: 1
 34                                                    34 
 35   "#size-cells":                                   35   "#size-cells":
 36     const: 0                                       36     const: 0
 37                                                    37 
 38   enable-gpios:                                    38   enable-gpios:
 39     description: gpio pin to enable/disable th     39     description: gpio pin to enable/disable the device.
 40                                                    40 
 41   vled-supply:                                     41   vled-supply:
 42     description: LED supply                        42     description: LED supply
 43                                                    43 
 44   ti,ovp-microvolt:                                44   ti,ovp-microvolt:
 45     description: Overvoltage protection.           45     description: Overvoltage protection.
 46     default: 29000000                              46     default: 29000000
 47     enum: [17000000, 21000000, 25000000, 29000     47     enum: [17000000, 21000000, 25000000, 29000000]
 48                                                    48 
 49 patternProperties:                                 49 patternProperties:
 50   '^led@[0-3]$':                                   50   '^led@[0-3]$':
 51     type: object                                   51     type: object
 52     $ref: common.yaml                              52     $ref: common.yaml
 53     properties:                                    53     properties:
 54       reg:                                         54       reg:
 55         enum: [0, 1, 2, 3]                         55         enum: [0, 1, 2, 3]
 56         description: |                             56         description: |
 57           0 - Will enable all LED sync paths       57           0 - Will enable all LED sync paths
 58           1 - Will enable the LED1 sync            58           1 - Will enable the LED1 sync
 59           2 - Will enable the LED2 sync            59           2 - Will enable the LED2 sync
 60           3 - Will enable the LED3 sync (LM369     60           3 - Will enable the LED3 sync (LM36923 only)
 61                                                    61 
 62     unevaluatedProperties: false                   62     unevaluatedProperties: false
 63                                                    63 
 64 required:                                          64 required:
 65   - compatible                                     65   - compatible
 66   - reg                                            66   - reg
 67   - "#address-cells"                               67   - "#address-cells"
 68   - "#size-cells"                                  68   - "#size-cells"
 69                                                    69 
 70 allOf:                                             70 allOf:
 71   - if:                                            71   - if:
 72       properties:                                  72       properties:
 73         compatible:                                73         compatible:
 74           contains:                                74           contains:
 75             const: ti,lm36922                      75             const: ti,lm36922
 76     then:                                          76     then:
 77       properties:                                  77       properties:
 78         led@3: false                               78         led@3: false
 79                                                    79 
 80 additionalProperties: false                        80 additionalProperties: false
 81                                                    81 
 82 examples:                                          82 examples:
 83   - |                                              83   - |
 84     #include <dt-bindings/gpio/gpio.h>             84     #include <dt-bindings/gpio/gpio.h>
 85     #include <dt-bindings/leds/common.h>           85     #include <dt-bindings/leds/common.h>
 86                                                    86 
 87     i2c {                                          87     i2c {
 88         #address-cells = <1>;                      88         #address-cells = <1>;
 89         #size-cells = <0>;                         89         #size-cells = <0>;
 90                                                    90 
 91         led-controller@36 {                        91         led-controller@36 {
 92             compatible = "ti,lm36922";             92             compatible = "ti,lm36922";
 93             reg = <0x36>;                          93             reg = <0x36>;
 94             #address-cells = <1>;                  94             #address-cells = <1>;
 95             #size-cells = <0>;                     95             #size-cells = <0>;
 96                                                    96 
 97             enable-gpios = <&gpio1 28 GPIO_ACT     97             enable-gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>;
 98             vled-supply = <&vbatt>;                98             vled-supply = <&vbatt>;
 99             ti,ovp-microvolt = <29000000>;         99             ti,ovp-microvolt = <29000000>;
100                                                   100 
101             led@0 {                               101             led@0 {
102                 reg = <0>;                        102                 reg = <0>;
103                 function = LED_FUNCTION_BACKLI    103                 function = LED_FUNCTION_BACKLIGHT;
104                 color = <LED_COLOR_ID_WHITE>;     104                 color = <LED_COLOR_ID_WHITE>;
105                 linux,default-trigger = "backl    105                 linux,default-trigger = "backlight";
106                 led-max-microamp = <20000>;       106                 led-max-microamp = <20000>;
107             };                                    107             };
108         };                                        108         };
109     };                                            109     };
110                                                   110 
                                                      

~ [ 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