File Index
Files and directories
Sign in
FILE

ti,lp87524-q1.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/mfd/ti,lp87524-q1.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/mfd/ti,lp87524-q1.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: TI LP87524-Q1 four 1-phase output buck converter
  8
  9maintainers:
 10  - Keerthy <j-keerthy@ti.com>
 11
 12properties:
 13  compatible:
 14    const: ti,lp87524-q1
 15
 16  reg:
 17    description: I2C slave address
 18    const: 0x60
 19
 20  reset-gpios:
 21    description: GPIO connected to NRST pin (active low reset, pin 20)
 22    maxItems: 1
 23
 24  gpio-controller: true
 25
 26  '#gpio-cells':
 27    description:
 28      The first cell is the pin number.
 29      The second cell is used to specify flags.
 30      See ../gpio/gpio.txt for more information.
 31    const: 2
 32
 33  regulators:
 34    type: object
 35
 36    patternProperties:
 37      "^buck[0123]$":
 38        type: object
 39        $ref: /schemas/regulator/regulator.yaml#
 40        unevaluatedProperties: false
 41
 42    required:
 43      - buck0
 44      - buck1
 45      - buck2
 46      - buck3
 47
 48    additionalProperties: false
 49
 50patternProperties:
 51  "^buck[0123]-in-supply$":
 52    description: Voltage regulator supply for each BUCK converter
 53
 54required:
 55  - compatible
 56  - reg
 57  - gpio-controller
 58  - '#gpio-cells'
 59  - buck0-in-supply
 60  - buck1-in-supply
 61  - buck2-in-supply
 62  - buck3-in-supply
 63  - regulators
 64
 65additionalProperties: false
 66
 67examples:
 68  - |
 69    i2c@0 {
 70        reg = <0x0 0x100>;
 71        #address-cells = <1>;
 72        #size-cells = <0>;
 73
 74        pmic@60 {
 75            compatible = "ti,lp87524-q1";
 76            reg = <0x60>;
 77            gpio-controller;
 78            #gpio-cells = <2>;
 79
 80            buck0-in-supply = <&vdd_5v0>;
 81            buck1-in-supply = <&vdd_5v0>;
 82            buck2-in-supply = <&vdd_5v0>;
 83            buck3-in-supply = <&vdd_5v0>;
 84
 85            regulators {
 86                buck0_reg: buck0 {
 87                    regulator-name = "buck0";
 88                    regulator-min-microvolt = <3300000>;
 89                    regulator-max-microvolt = <3300000>;
 90                    regulator-always-on;
 91                };
 92
 93                buck1_reg: buck1 {
 94                    regulator-name = "buck1";
 95                    regulator-min-microvolt = <1350000>;
 96                    regulator-max-microvolt = <1350000>;
 97                    regulator-always-on;
 98                };
 99
100                buck2_reg: buck2 {
101                    regulator-name = "buck2";
102                    regulator-min-microvolt = <950000>;
103                    regulator-max-microvolt = <950000>;
104                    regulator-always-on;
105                };
106
107                buck3_reg: buck3 {
108                    regulator-name = "buck3";
109                    regulator-min-microvolt = <1800000>;
110                    regulator-max-microvolt = <1800000>;
111                    regulator-always-on;
112                };
113            };
114        };
115    };
116
117...
~/ Read-only file preview.