brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · cd4aa27 Raw
75 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/mt6315-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Mediatek MT6315 Regulator8 9maintainers:10  - Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>11 12description: |13  The MT6315 is a power management IC (PMIC) configurable with SPMI.14  that contains 4 BUCKs output which can combine with each other15  by different efuse settings.16 17properties:18  compatible:19    oneOf:20      - items:21          - const: mediatek,mt6319-regulator22          - const: mediatek,mt6315-regulator23      - const: mediatek,mt6315-regulator24 25  reg:26    maxItems: 127 28  regulators:29    type: object30    description: List of regulators and its properties31 32    patternProperties:33      "^vbuck[1-4]$":34        type: object35        $ref: regulator.yaml#36        unevaluatedProperties: false37 38        properties:39          regulator-compatible:40            pattern: "^vbuck[1-4]$"41 42    additionalProperties: false43 44required:45  - compatible46  - reg47  - regulators48 49additionalProperties: false50 51examples:52  - |53    pmic@6 {54      compatible = "mediatek,mt6315-regulator";55      reg = <0x6 0>;56 57      regulators {58        vbuck1 {59          regulator-compatible = "vbuck1";60          regulator-min-microvolt = <300000>;61          regulator-max-microvolt = <1193750>;62          regulator-enable-ramp-delay = <256>;63          regulator-allowed-modes = <0 1 2>;64        };65 66        vbuck3 {67          regulator-compatible = "vbuck3";68          regulator-min-microvolt = <300000>;69          regulator-max-microvolt = <1193750>;70          regulator-enable-ramp-delay = <256>;71          regulator-allowed-modes = <0 1 2>;72        };73      };74    };75