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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/max77650.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/mfd/max77650.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/mfd/max77650.yaml (Version linux-5.17.15)


  1 # SPDX-License-Identifier: GPL-2.0                  1 # SPDX-License-Identifier: GPL-2.0
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/mfd/max7765      4 $id: http://devicetree.org/schemas/mfd/max77650.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: MAX77650 ultra low-power PMIC from Maxi      7 title: MAX77650 ultra low-power PMIC from Maxim Integrated.
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Bartosz Golaszewski <bgolaszewski@baylibre.     10   - Bartosz Golaszewski <bgolaszewski@baylibre.com>
 11                                                    11 
 12 description: |                                     12 description: |
 13   MAX77650 is an ultra-low power PMIC providin     13   MAX77650 is an ultra-low power PMIC providing battery charging and power
 14   supply for low-power IoT and wearable applic     14   supply for low-power IoT and wearable applications.
 15                                                    15 
 16   The GPIO-controller module is represented as     16   The GPIO-controller module is represented as part of the top-level PMIC
 17   node. The device exposes a single GPIO line.     17   node. The device exposes a single GPIO line.
 18                                                    18 
 19   For device-tree bindings of other sub-module     19   For device-tree bindings of other sub-modules (regulator, power supply,
 20   LEDs and onkey) refer to the binding documen     20   LEDs and onkey) refer to the binding documents under the respective
 21   sub-system directories.                          21   sub-system directories.
 22                                                    22 
 23 properties:                                        23 properties:
 24   compatible:                                      24   compatible:
 25     const: maxim,max77650                          25     const: maxim,max77650
 26                                                    26 
 27   reg:                                             27   reg:
 28     description:                                   28     description:
 29       I2C device address.                          29       I2C device address.
 30     maxItems: 1                                    30     maxItems: 1
 31                                                    31 
 32   interrupts:                                      32   interrupts:
 33     maxItems: 1                                    33     maxItems: 1
 34                                                    34 
 35   interrupt-controller: true                       35   interrupt-controller: true
 36                                                    36 
 37   "#interrupt-cells":                              37   "#interrupt-cells":
 38     const: 2                                       38     const: 2
 39     description:                                   39     description:
 40       The first cell is the IRQ number, the se     40       The first cell is the IRQ number, the second cell is the trigger type.
 41                                                    41 
 42   gpio-controller: true                            42   gpio-controller: true
 43                                                    43 
 44   "#gpio-cells":                                   44   "#gpio-cells":
 45     const: 2                                       45     const: 2
 46     description:                                   46     description:
 47       The first cell is the pin number and the     47       The first cell is the pin number and the second cell is used to specify
 48       the gpio active state.                       48       the gpio active state.
 49                                                    49 
 50   gpio-line-names:                                 50   gpio-line-names:
 51     maxItems: 1                                    51     maxItems: 1
 52     description:                                   52     description:
 53       Single string containing the name of the     53       Single string containing the name of the GPIO line.
 54                                                    54 
 55   regulators:                                      55   regulators:
 56     $ref: /schemas/regulator/max77650-regulato !!  56     $ref: ../regulator/max77650-regulator.yaml
 57                                                    57 
 58   charger:                                         58   charger:
 59     $ref: /schemas/power/supply/max77650-charg !!  59     $ref: ../power/supply/max77650-charger.yaml
 60                                                    60 
 61   leds:                                            61   leds:
 62     $ref: /schemas/leds/leds-max77650.yaml     !!  62     $ref: ../leds/leds-max77650.yaml
 63                                                    63 
 64   onkey:                                           64   onkey:
 65     $ref: /schemas/input/max77650-onkey.yaml   !!  65     $ref: ../input/max77650-onkey.yaml
 66                                                    66 
 67 required:                                          67 required:
 68   - compatible                                     68   - compatible
 69   - reg                                            69   - reg
 70   - interrupts                                     70   - interrupts
 71   - interrupt-controller                           71   - interrupt-controller
 72   - "#interrupt-cells"                             72   - "#interrupt-cells"
 73   - gpio-controller                                73   - gpio-controller
 74   - "#gpio-cells"                                  74   - "#gpio-cells"
 75                                                    75 
 76 additionalProperties: false                        76 additionalProperties: false
 77                                                    77 
 78 examples:                                          78 examples:
 79   - |                                              79   - |
 80     #include <dt-bindings/interrupt-controller     80     #include <dt-bindings/interrupt-controller/irq.h>
 81     #include <dt-bindings/input/linux-event-co     81     #include <dt-bindings/input/linux-event-codes.h>
 82     i2c {                                          82     i2c {
 83         #address-cells = <1>;                      83         #address-cells = <1>;
 84         #size-cells = <0>;                         84         #size-cells = <0>;
 85                                                    85 
 86         pmic@48 {                                  86         pmic@48 {
 87             compatible = "maxim,max77650";         87             compatible = "maxim,max77650";
 88             reg = <0x48>;                          88             reg = <0x48>;
 89                                                    89 
 90             interrupt-controller;                  90             interrupt-controller;
 91             interrupt-parent = <&gpio2>;           91             interrupt-parent = <&gpio2>;
 92             #interrupt-cells = <2>;                92             #interrupt-cells = <2>;
 93             interrupts = <3 IRQ_TYPE_LEVEL_LOW     93             interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
 94                                                    94 
 95             gpio-controller;                       95             gpio-controller;
 96             #gpio-cells = <2>;                     96             #gpio-cells = <2>;
 97             gpio-line-names = "max77650-charge     97             gpio-line-names = "max77650-charger";
 98                                                    98 
 99             regulators {                           99             regulators {
100                 compatible = "maxim,max77650-r    100                 compatible = "maxim,max77650-regulator";
101                                                   101 
102                 max77650_ldo: regulator-ldo {     102                 max77650_ldo: regulator-ldo {
                                                   >> 103                     regulator-compatible = "ldo";
103                     regulator-name = "max77650    104                     regulator-name = "max77650-ldo";
104                     regulator-min-microvolt =     105                     regulator-min-microvolt = <1350000>;
105                     regulator-max-microvolt =     106                     regulator-max-microvolt = <2937500>;
106                 };                                107                 };
107                                                   108 
108                 max77650_sbb0: regulator-sbb0     109                 max77650_sbb0: regulator-sbb0 {
                                                   >> 110                     regulator-compatible = "sbb0";
109                     regulator-name = "max77650    111                     regulator-name = "max77650-sbb0";
110                     regulator-min-microvolt =     112                     regulator-min-microvolt = <800000>;
111                     regulator-max-microvolt =     113                     regulator-max-microvolt = <1587500>;
112                 };                                114                 };
113             };                                    115             };
114                                                   116 
115             charger {                             117             charger {
116                 compatible = "maxim,max77650-c    118                 compatible = "maxim,max77650-charger";
117                 input-voltage-min-microvolt =     119                 input-voltage-min-microvolt = <4200000>;
118                 input-current-limit-microamp =    120                 input-current-limit-microamp = <285000>;
119             };                                    121             };
120                                                   122 
121             leds {                                123             leds {
122                 compatible = "maxim,max77650-l    124                 compatible = "maxim,max77650-led";
123                 #address-cells = <1>;             125                 #address-cells = <1>;
124                 #size-cells = <0>;                126                 #size-cells = <0>;
125                                                   127 
126                 led@0 {                           128                 led@0 {
127                     reg = <0>;                    129                     reg = <0>;
128                     label = "blue:usr0";          130                     label = "blue:usr0";
129                 };                                131                 };
130                                                   132 
131                 led@1 {                           133                 led@1 {
132                     reg = <1>;                    134                     reg = <1>;
133                     label = "red:usr1";           135                     label = "red:usr1";
134                     linux,default-trigger = "h    136                     linux,default-trigger = "heartbeat";
135                 };                                137                 };
136                                                   138 
137                 led@2 {                           139                 led@2 {
138                     reg = <2>;                    140                     reg = <2>;
139                     label = "green:usr2";         141                     label = "green:usr2";
140                 };                                142                 };
141             };                                    143             };
142                                                   144 
143             onkey {                               145             onkey {
144                 compatible = "maxim,max77650-o    146                 compatible = "maxim,max77650-onkey";
145                 linux,code = <KEY_END>;           147                 linux,code = <KEY_END>;
146                 maxim,onkey-slide;                148                 maxim,onkey-slide;
147             };                                    149             };
148         };                                        150         };
149     };                                            151     };
                                                      

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