brintos

brintos / linux-shallow public Read only

0
0
Text · 1.7 KiB · e95e046 Raw
74 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,rt5739.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT5739 Step-Down Buck Converter8 9maintainers:10  - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13  The RT5739 is a step-down switching buck converter that can deliver the14  programmable output voltage from 300mV to 1300mV with wide input voltage15  supply of 2.5V to 5.5V. It can provide up to 3.5A continuous current16  capability at over 80% high efficiency.17 18allOf:19  - $ref: regulator.yaml#20 21properties:22  compatible:23    enum:24      - richtek,rt573325      - richtek,rt573926 27  reg:28    maxItems: 129 30  enable-gpios:31    maxItems: 132 33  richtek,vsel-active-high:34    description: |35      If property is present, use the 'VSEL1' register group for buck control.36      Else, use the 'VSEL0' register group. This depends on external hardware37      'VSEL' pin connection.38    type: boolean39 40  regulator-allowed-modes:41    description: |42      buck allowed operating mode43        0: Auto PFM/PWM mode44        1: Forced PWM mode45    items:46      enum: [0, 1]47 48required:49  - compatible50  - reg51 52unevaluatedProperties: false53 54examples:55  - |56    #include <dt-bindings/gpio/gpio.h>57 58    i2c {59      #address-cells = <1>;60      #size-cells = <0>;61 62      regulator@50 {63        compatible = "richtek,rt5739";64        reg = <0x50>;65        enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>;66        richtek,vsel-active-high;67        regulator-name = "richtek,rt5739-buck";68        regulator-min-microvolt = <300000>;69        regulator-max-microvolt = <1300000>;70        regulator-allowed-modes = <0 1>;71        regulator-boot-on;72      };73    };74