brintos

brintos / linux-shallow public Read only

0
0
Text · 2.8 KiB · 3f47e8e Raw
107 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RTQ2134 SubPMIC Regulator8 9maintainers:10  - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13  The RTQ2134 is a multi-phase, programmable power management IC that14  integrates with four high efficient, synchronous step-down converter cores.15 16  Datasheet is available at17  https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf18 19properties:20  compatible:21    enum:22      - richtek,rtq213423 24  reg:25    maxItems: 126 27  regulators:28    type: object29 30    patternProperties:31      "^buck[1-3]$":32        type: object33        $ref: regulator.yaml#34        description: |35          regulator description for buck[1-3].36 37        properties:38          richtek,use-vsel-dvs:39            type: boolean40            description: |41              If specified, buck will listen to 'vsel' pin for dvs config.42              Else, use dvs0 voltage by default.43 44          richtek,uv-shutdown:45            type: boolean46            description: |47              If specified, use shutdown as UV action. Else, hiccup by default.48 49        unevaluatedProperties: false50 51    additionalProperties: false52 53required:54  - compatible55  - reg56  - regulators57 58additionalProperties: false59 60examples:61  - |62    i2c {63      #address-cells = <1>;64      #size-cells = <0>;65 66      rtq2134@18 {67        compatible = "richtek,rtq2134";68        reg = <0x18>;69 70        regulators {71          buck1 {72            regulator-name = "rtq2134-buck1";73            regulator-min-microvolt = <300000>;74            regulator-max-microvolt = <1850000>;75            regulator-always-on;76            richtek,use-vsel-dvs;77            regulator-state-mem {78              regulator-suspend-min-microvolt = <550000>;79              regulator-suspend-max-microvolt = <550000>;80            };81          };82          buck2 {83            regulator-name = "rtq2134-buck2";84            regulator-min-microvolt = <1120000>;85            regulator-max-microvolt = <1120000>;86            regulator-always-on;87            richtek,use-vsel-dvs;88            regulator-state-mem {89              regulator-suspend-min-microvolt = <1120000>;90              regulator-suspend-max-microvolt = <1120000>;91            };92          };93          buck3 {94            regulator-name = "rtq2134-buck3";95            regulator-min-microvolt = <600000>;96            regulator-max-microvolt = <600000>;97            regulator-always-on;98            richtek,use-vsel-dvs;99            regulator-state-mem {100              regulator-suspend-min-microvolt = <600000>;101              regulator-suspend-max-microvolt = <600000>;102            };103          };104        };105      };106    };107