Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/ti,lp87524-q1.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: TI LP87524-Q1 four 1-phase output buck converter
0008 
0009 maintainers:
0010   - Keerthy <j-keerthy@ti.com>
0011 
0012 properties:
0013   compatible:
0014     const: ti,lp87524-q1
0015 
0016   reg:
0017     description: I2C slave address
0018     const: 0x60
0019 
0020   reset-gpios:
0021     description: GPIO connected to NRST pin (active low reset, pin 20)
0022     maxItems: 1
0023 
0024   gpio-controller: true
0025 
0026   '#gpio-cells':
0027     description:
0028       The first cell is the pin number.
0029       The second cell is is used to specify flags.
0030       See ../gpio/gpio.txt for more information.
0031     const: 2
0032 
0033   regulators:
0034     type: object
0035 
0036     patternProperties:
0037       "^buck[0123]$":
0038         type: object
0039         $ref: /schemas/regulator/regulator.yaml#
0040 
0041     required:
0042       - buck0
0043       - buck1
0044       - buck2
0045       - buck3
0046 
0047     additionalProperties: false
0048 
0049 patternProperties:
0050   "^buck[0123]-in-supply$":
0051     description: Voltage regulator supply for each BUCK converter
0052 
0053 required:
0054   - compatible
0055   - reg
0056   - gpio-controller
0057   - '#gpio-cells'
0058   - buck0-in-supply
0059   - buck1-in-supply
0060   - buck2-in-supply
0061   - buck3-in-supply
0062   - regulators
0063 
0064 additionalProperties: false
0065 
0066 examples:
0067   - |
0068     i2c@0 {
0069         reg = <0x0 0x100>;
0070         #address-cells = <1>;
0071         #size-cells = <0>;
0072 
0073         pmic@60 {
0074             compatible = "ti,lp87524-q1";
0075             reg = <0x60>;
0076             gpio-controller;
0077             #gpio-cells = <2>;
0078 
0079             buck0-in-supply = <&vdd_5v0>;
0080             buck1-in-supply = <&vdd_5v0>;
0081             buck2-in-supply = <&vdd_5v0>;
0082             buck3-in-supply = <&vdd_5v0>;
0083 
0084             regulators {
0085                 buck0_reg: buck0 {
0086                     regulator-name = "buck0";
0087                     regulator-min-microvolt = <3300000>;
0088                     regulator-max-microvolt = <3300000>;
0089                     regulator-always-on;
0090                 };
0091 
0092                 buck1_reg: buck1 {
0093                     regulator-name = "buck1";
0094                     regulator-min-microvolt = <1350000>;
0095                     regulator-max-microvolt = <1350000>;
0096                     regulator-always-on;
0097                 };
0098 
0099                 buck2_reg: buck2 {
0100                     regulator-name = "buck2";
0101                     regulator-min-microvolt = <950000>;
0102                     regulator-max-microvolt = <950000>;
0103                     regulator-always-on;
0104                 };
0105 
0106                 buck3_reg: buck3 {
0107                     regulator-name = "buck3";
0108                     regulator-min-microvolt = <1800000>;
0109                     regulator-max-microvolt = <1800000>;
0110                     regulator-always-on;
0111                 };
0112             };
0113         };
0114     };
0115 
0116 ...