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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mfd/ams,as3711.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/ams,as3711.yaml (Architecture i386) and /Documentation/devicetree/bindings/mfd/ams,as3711.yaml (Architecture sparc64)


  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/mfd/ams,as3      4 $id: http://devicetree.org/schemas/mfd/ams,as3711.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Austria MicroSystems AS3711 Quad Buck H      7 title: Austria MicroSystems AS3711 Quad Buck High Current PMIC with Charger
  8                                                     8 
  9 maintainers:                                        9 maintainers:
 10   - Guennadi Liakhovetski <guennadi.liakhovetsk     10   - Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
 11                                                    11 
 12 description:                                       12 description:
 13   AS3711 is an I2C PMIC from Austria MicroSyst     13   AS3711 is an I2C PMIC from Austria MicroSystems with multiple DC/DC and LDO
 14   power supplies, a battery charger and an RTC     14   power supplies, a battery charger and an RTC.  So far only bindings for the
 15   two step-up DC/DC converters are defined.        15   two step-up DC/DC converters are defined.
 16                                                    16 
 17 properties:                                        17 properties:
 18   compatible:                                      18   compatible:
 19     const: ams,as3711                              19     const: ams,as3711
 20                                                    20 
 21   reg:                                             21   reg:
 22     maxItems: 1                                    22     maxItems: 1
 23                                                    23 
 24   backlight:                                       24   backlight:
 25     description:                                   25     description:
 26       Step-up converter configuration, to be u     26       Step-up converter configuration, to be used as a backlight source
 27     type: object                                   27     type: object
 28     additionalProperties: false                    28     additionalProperties: false
 29     properties:                                    29     properties:
 30       compatible:                                  30       compatible:
 31         const: ams,as3711-bl                       31         const: ams,as3711-bl
 32                                                    32 
 33       su1-dev:                                     33       su1-dev:
 34         description: Framebuffer phandle for t     34         description: Framebuffer phandle for the first step-up converter
 35         $ref: /schemas/types.yaml#/definitions     35         $ref: /schemas/types.yaml#/definitions/phandle
 36                                                    36 
 37       su1-max-uA:                                  37       su1-max-uA:
 38         description: Maximum current for the f     38         description: Maximum current for the first step-up converter
 39         $ref: /schemas/types.yaml#/definitions     39         $ref: /schemas/types.yaml#/definitions/uint32
 40                                                    40 
 41       su2-dev:                                     41       su2-dev:
 42         description: Framebuffer phandle for t     42         description: Framebuffer phandle for the second step-up converter
 43         $ref: /schemas/types.yaml#/definitions     43         $ref: /schemas/types.yaml#/definitions/phandle
 44                                                    44 
 45       su2-max-uA:                                  45       su2-max-uA:
 46         description: Maximum current for the s     46         description: Maximum current for the second step-up converter
 47         $ref: /schemas/types.yaml#/definitions     47         $ref: /schemas/types.yaml#/definitions/uint32
 48                                                    48 
 49       su2-feedback-voltage:                        49       su2-feedback-voltage:
 50         description: Second step-up converter      50         description: Second step-up converter uses voltage feedback
 51         type: boolean                              51         type: boolean
 52                                                    52 
 53       su2-feedback-curr1:                          53       su2-feedback-curr1:
 54         description:                               54         description:
 55           Second step-up converter uses CURR1      55           Second step-up converter uses CURR1 input for current feedback
 56         type: boolean                              56         type: boolean
 57                                                    57 
 58       su2-feedback-curr2:                          58       su2-feedback-curr2:
 59         description:                               59         description:
 60           Second step-up converter uses CURR2      60           Second step-up converter uses CURR2 input for current feedback
 61         type: boolean                              61         type: boolean
 62                                                    62 
 63       su2-feedback-curr3:                          63       su2-feedback-curr3:
 64         description:                               64         description:
 65           Second step-up converter uses CURR3      65           Second step-up converter uses CURR3 input for current feedback
 66         type: boolean                              66         type: boolean
 67                                                    67 
 68       su2-feedback-curr-auto:                      68       su2-feedback-curr-auto:
 69         description:                               69         description:
 70           Second step-up converter uses automa     70           Second step-up converter uses automatic current feedback selection
 71         type: boolean                              71         type: boolean
 72                                                    72 
 73       su2-fbprot-lx-sd4:                           73       su2-fbprot-lx-sd4:
 74         description:                               74         description:
 75           Second step-up converter uses LX_SD4     75           Second step-up converter uses LX_SD4 for over-voltage protection
 76         type: boolean                              76         type: boolean
 77                                                    77 
 78       su2-fbprot-gpio2:                            78       su2-fbprot-gpio2:
 79         description:                               79         description:
 80           Second step-up converter uses GPIO2      80           Second step-up converter uses GPIO2 for over-voltage protection
 81         type: boolean                              81         type: boolean
 82                                                    82 
 83       su2-fbprot-gpio3:                            83       su2-fbprot-gpio3:
 84         description:                               84         description:
 85           Second step-up converter uses GPIO3      85           Second step-up converter uses GPIO3 for over-voltage protection
 86         type: boolean                              86         type: boolean
 87                                                    87 
 88       su2-fbprot-gpio4:                            88       su2-fbprot-gpio4:
 89         description:                               89         description:
 90           Second step-up converter uses GPIO4      90           Second step-up converter uses GPIO4 for over-voltage protection
 91         type: boolean                              91         type: boolean
 92                                                    92 
 93       su2-auto-curr1:                              93       su2-auto-curr1:
 94         description:                               94         description:
 95           Second step-up converter uses CURR1      95           Second step-up converter uses CURR1 input for automatic current
 96           feedback                                 96           feedback
 97         type: boolean                              97         type: boolean
 98                                                    98 
 99       su2-auto-curr2:                              99       su2-auto-curr2:
100         description:                              100         description:
101           Second step-up converter uses CURR2     101           Second step-up converter uses CURR2 input for automatic current
102           feedback                                102           feedback
103         type: boolean                             103         type: boolean
104                                                   104 
105       su2-auto-curr3:                             105       su2-auto-curr3:
106         description:                              106         description:
107           Second step-up converter uses CURR3     107           Second step-up converter uses CURR3 input for automatic current
108           feedback                                108           feedback
109         type: boolean                             109         type: boolean
110                                                   110 
111     required:                                     111     required:
112       - compatible                                112       - compatible
113                                                   113 
114     dependentRequired:                            114     dependentRequired:
115       # To use the SU1 converter as a backligh    115       # To use the SU1 converter as a backlight source the following two
116       # properties must be provided:              116       # properties must be provided:
117       su1-dev: [ su1-max-uA ]                     117       su1-dev: [ su1-max-uA ]
118       su1-max-uA: [ su1-dev ]                     118       su1-max-uA: [ su1-dev ]
119                                                   119 
120       # To use the SU2 converter as a backligh    120       # To use the SU2 converter as a backlight source the following two
121       # properties must be provided:              121       # properties must be provided:
122       su2-dev: [ su2-max-uA ]                     122       su2-dev: [ su2-max-uA ]
123       su2-max-uA: [ su2-dev ]                     123       su2-max-uA: [ su2-dev ]
124                                                   124 
125       su2-feedback-voltage: [ su2-dev ]           125       su2-feedback-voltage: [ su2-dev ]
126       su2-feedback-curr1: [ su2-dev ]             126       su2-feedback-curr1: [ su2-dev ]
127       su2-feedback-curr2: [ su2-dev ]             127       su2-feedback-curr2: [ su2-dev ]
128       su2-feedback-curr3: [ su2-dev ]             128       su2-feedback-curr3: [ su2-dev ]
129       su2-feedback-curr-auto: [ su2-dev ]         129       su2-feedback-curr-auto: [ su2-dev ]
130       su2-fbprot-lx-sd4: [ su2-dev ]              130       su2-fbprot-lx-sd4: [ su2-dev ]
131       su2-fbprot-gpio2: [ su2-dev ]               131       su2-fbprot-gpio2: [ su2-dev ]
132       su2-fbprot-gpio3: [ su2-dev ]               132       su2-fbprot-gpio3: [ su2-dev ]
133       su2-fbprot-gpio4: [ su2-dev ]               133       su2-fbprot-gpio4: [ su2-dev ]
134       su2-auto-curr1: [ su2-feedback-curr-auto    134       su2-auto-curr1: [ su2-feedback-curr-auto ]
135       su2-auto-curr2: [ su2-feedback-curr-auto    135       su2-auto-curr2: [ su2-feedback-curr-auto ]
136       su2-auto-curr3: [ su2-feedback-curr-auto    136       su2-auto-curr3: [ su2-feedback-curr-auto ]
137                                                   137 
138     dependentSchemas:                             138     dependentSchemas:
139       su2-dev:                                    139       su2-dev:
140         allOf:                                    140         allOf:
141           - oneOf:                                141           - oneOf:
142               - required:                         142               - required:
143                   - su2-feedback-voltage          143                   - su2-feedback-voltage
144               - required:                         144               - required:
145                   - su2-feedback-curr1            145                   - su2-feedback-curr1
146               - required:                         146               - required:
147                   - su2-feedback-curr2            147                   - su2-feedback-curr2
148               - required:                         148               - required:
149                   - su2-feedback-curr3            149                   - su2-feedback-curr3
150               - required:                         150               - required:
151                   - su2-feedback-curr-auto        151                   - su2-feedback-curr-auto
152           - oneOf:                                152           - oneOf:
153               - required:                         153               - required:
154                   - su2-fbprot-lx-sd4             154                   - su2-fbprot-lx-sd4
155               - required:                         155               - required:
156                   - su2-fbprot-gpio2              156                   - su2-fbprot-gpio2
157               - required:                         157               - required:
158                   - su2-fbprot-gpio3              158                   - su2-fbprot-gpio3
159               - required:                         159               - required:
160                   - su2-fbprot-gpio4              160                   - su2-fbprot-gpio4
161                                                   161 
162       su2-feedback-curr-auto:                     162       su2-feedback-curr-auto:
163         anyOf:                                    163         anyOf:
164           - required:                             164           - required:
165               - su2-auto-curr1                    165               - su2-auto-curr1
166           - required:                             166           - required:
167               - su2-auto-curr2                    167               - su2-auto-curr2
168           - required:                             168           - required:
169               - su2-auto-curr3                    169               - su2-auto-curr3
170                                                   170 
171   regulators:                                     171   regulators:
172     description: Other DC/DC and LDO supplies     172     description: Other DC/DC and LDO supplies
173     type: object                                  173     type: object
174     unevaluatedProperties: false                  174     unevaluatedProperties: false
175     patternProperties:                            175     patternProperties:
176       "^(sd[1-4]|ldo[1-8])$":                     176       "^(sd[1-4]|ldo[1-8])$":
177         type: object                              177         type: object
178         $ref: /schemas/regulator/regulator.yam    178         $ref: /schemas/regulator/regulator.yaml#
179         unevaluatedProperties: false              179         unevaluatedProperties: false
180                                                   180 
181 required:                                         181 required:
182   - compatible                                    182   - compatible
183   - reg                                           183   - reg
184                                                   184 
185 additionalProperties: false                       185 additionalProperties: false
186                                                   186 
187 examples:                                         187 examples:
188   - |                                             188   - |
189     i2c {                                         189     i2c {
190         #address-cells = <1>;                     190         #address-cells = <1>;
191         #size-cells = <0>;                        191         #size-cells = <0>;
192                                                   192 
193         pmic@40 {                                 193         pmic@40 {
194             compatible = "ams,as3711";            194             compatible = "ams,as3711";
195             reg = <0x40>;                         195             reg = <0x40>;
196                                                   196 
197             regulators {                          197             regulators {
198                 sd4 {                             198                 sd4 {
199                     regulator-name = "1.215V";    199                     regulator-name = "1.215V";
200                     regulator-min-microvolt =     200                     regulator-min-microvolt = <1215000>;
201                     regulator-max-microvolt =     201                     regulator-max-microvolt = <1235000>;
202                 };                                202                 };
203                 ldo2 {                            203                 ldo2 {
204                     regulator-name = "2.8V CPU    204                     regulator-name = "2.8V CPU";
205                     regulator-min-microvolt =     205                     regulator-min-microvolt = <2800000>;
206                     regulator-max-microvolt =     206                     regulator-max-microvolt = <2800000>;
207                     regulator-always-on;          207                     regulator-always-on;
208                     regulator-boot-on;            208                     regulator-boot-on;
209                 };                                209                 };
210             };                                    210             };
211                                                   211 
212             backlight {                           212             backlight {
213                 compatible = "ams,as3711-bl";     213                 compatible = "ams,as3711-bl";
214                 su2-dev = <&lcdc>;                214                 su2-dev = <&lcdc>;
215                 su2-max-uA = <36000>;             215                 su2-max-uA = <36000>;
216                 su2-feedback-curr-auto;           216                 su2-feedback-curr-auto;
217                 su2-fbprot-gpio4;                 217                 su2-fbprot-gpio4;
218                 su2-auto-curr1;                   218                 su2-auto-curr1;
219                 su2-auto-curr2;                   219                 su2-auto-curr2;
220                 su2-auto-curr3;                   220                 su2-auto-curr3;
221             };                                    221             };
222         };                                        222         };
223     };                                            223     };
                                                      

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