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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-mt6323.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/leds/leds-mt6323.txt (Architecture sparc64) and /Documentation/devicetree/bindings/leds/leds-mt6323.txt (Architecture alpha)


  1 Device Tree Bindings for LED support on MT6323      1 Device Tree Bindings for LED support on MT6323 PMIC
  2                                                     2 
  3 MT6323 LED controller is subfunction provided       3 MT6323 LED controller is subfunction provided by MT6323 PMIC, so the LED
  4 controllers are defined as the subnode of the       4 controllers are defined as the subnode of the function node provided by MT6323
  5 PMIC controller that is being defined as one k      5 PMIC controller that is being defined as one kind of Muti-Function Device (MFD)
  6 using shared bus called PMIC wrapper for each       6 using shared bus called PMIC wrapper for each subfunction to access remote
  7 MT6323 PMIC hardware.                               7 MT6323 PMIC hardware.
  8                                                     8 
  9 For MT6323 MFD bindings see:                        9 For MT6323 MFD bindings see:
 10 Documentation/devicetree/bindings/mfd/mt6397.t     10 Documentation/devicetree/bindings/mfd/mt6397.txt
 11 For MediaTek PMIC wrapper bindings see:            11 For MediaTek PMIC wrapper bindings see:
 12 Documentation/devicetree/bindings/soc/mediatek     12 Documentation/devicetree/bindings/soc/mediatek/mediatek,pwrap.yaml
 13                                                    13 
 14 Required properties:                               14 Required properties:
 15 - compatible : Must be one of                      15 - compatible : Must be one of
 16   - "mediatek,mt6323-led"                          16   - "mediatek,mt6323-led"
 17   - "mediatek,mt6331-led"                          17   - "mediatek,mt6331-led"
 18   - "mediatek,mt6332-led"                          18   - "mediatek,mt6332-led"
 19 - address-cells : Must be 1                        19 - address-cells : Must be 1
 20 - size-cells : Must be 0                           20 - size-cells : Must be 0
 21                                                    21 
 22 Each led is represented as a child node of the     22 Each led is represented as a child node of the mediatek,mt6323-led that
 23 describes the initial behavior for each LED ph     23 describes the initial behavior for each LED physically and currently only four
 24 LED child nodes can be supported.                  24 LED child nodes can be supported.
 25                                                    25 
 26 Required properties for the LED child node:        26 Required properties for the LED child node:
 27 - reg : LED channel number (0..3)                  27 - reg : LED channel number (0..3)
 28                                                    28 
 29 Optional properties for the LED child node:        29 Optional properties for the LED child node:
 30 - label : See Documentation/devicetree/binding     30 - label : See Documentation/devicetree/bindings/leds/common.txt
 31 - linux,default-trigger : See Documentation/de     31 - linux,default-trigger : See Documentation/devicetree/bindings/leds/common.txt
 32 - default-state: See Documentation/devicetree/     32 - default-state: See Documentation/devicetree/bindings/leds/common.txt
 33                                                    33 
 34 Example:                                           34 Example:
 35                                                    35 
 36         mt6323: pmic {                             36         mt6323: pmic {
 37                 compatible = "mediatek,mt6323"     37                 compatible = "mediatek,mt6323";
 38                                                    38 
 39                 ...                                39                 ...
 40                                                    40 
 41                 mt6323led: leds {                  41                 mt6323led: leds {
 42                         compatible = "mediatek     42                         compatible = "mediatek,mt6323-led";
 43                         #address-cells = <1>;      43                         #address-cells = <1>;
 44                         #size-cells = <0>;         44                         #size-cells = <0>;
 45                                                    45 
 46                         led@0 {                    46                         led@0 {
 47                                 reg = <0>;         47                                 reg = <0>;
 48                                 label = "LED0"     48                                 label = "LED0";
 49                                 linux,default-     49                                 linux,default-trigger = "timer";
 50                                 default-state      50                                 default-state = "on";
 51                         };                         51                         };
 52                         led@1 {                    52                         led@1 {
 53                                 reg = <1>;         53                                 reg = <1>;
 54                                 label = "LED1"     54                                 label = "LED1";
 55                                 default-state      55                                 default-state = "off";
 56                         };                         56                         };
 57                         led@2 {                    57                         led@2 {
 58                                 reg = <2>;         58                                 reg = <2>;
 59                                 label = "LED2"     59                                 label = "LED2";
 60                                 default-state      60                                 default-state = "on";
 61                         };                         61                         };
 62                 };                                 62                 };
 63         };                                         63         };
                                                      

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