brintos

brintos / linux-shallow public Read only

0
0
Text · 2.4 KiB · eca430e Raw
107 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/ti,lp87565-q1.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: TI LP87565-Q1 / LP87565 dual 2-phase output buck converter8 9maintainers:10  - Keerthy <j-keerthy@ti.com>11 12properties:13  compatible:14    enum:15      - ti,lp8756516      - ti,lp87565-q117 18  reg:19    description: I2C slave address20    const: 0x6021 22  reset-gpios:23    description: GPIO connected to NRST pin (active low reset, pin 20)24    maxItems: 125 26  gpio-controller: true27 28  '#gpio-cells':29    description:30      The first cell is the pin number.31      The second cell is is used to specify flags.32      See ../gpio/gpio.txt for more information.33    const: 234 35  buck10-in-supply:36    description:37      Voltage regulator supply for BUCK0 and BUCK1 converters.38 39  buck23-in-supply:40    description:41      Voltage regulator supply for BUCK2 and BUCK3 converters.42 43  regulators:44    type: object45 46    patternProperties:47      "^buck(10|23)$":48        type: object49        $ref: /schemas/regulator/regulator.yaml#50        unevaluatedProperties: false51 52    required:53      - buck1054      - buck2355 56    additionalProperties: false57 58required:59  - compatible60  - reg61  - gpio-controller62  - '#gpio-cells'63  - buck10-in-supply64  - buck23-in-supply65 66additionalProperties: false67 68examples:69  - |70    i2c@0 {71        reg = <0x0 0x100>;72        #address-cells = <1>;73        #size-cells = <0>;74 75        pmic@60 {76            compatible = "ti,lp87565-q1";77            reg = <0x60>;78            gpio-controller;79            #gpio-cells = <2>;80 81            buck10-in-supply = <&vsys_3v3>;82            buck23-in-supply = <&vsys_3v3>;83 84            regulators {85                buck10_reg: buck10 {86                    /* VDD_MPU */87                    regulator-name = "buck10";88                    regulator-min-microvolt = <850000>;89                    regulator-max-microvolt = <1250000>;90                    regulator-always-on;91                    regulator-boot-on;92                };93 94                buck23_reg: buck23 {95                    /* VDD_GPU */96                    regulator-name = "buck23";97                    regulator-min-microvolt = <850000>;98                    regulator-max-microvolt = <1250000>;99                    regulator-boot-on;100                    regulator-always-on;101                };102            };103        };104    };105 106...107