brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 0a4c957 Raw
91 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,rt5759-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT5759 High Performance DCDC Converter8 9maintainers:10  - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13  The RT5759 is a high-performance, synchronous step-down DC-DC converter that14  can deliver up to 9A output current from 3V to 6.5V input supply, The output15  voltage can be programmable with I2C controlled 7-Bit VID.16 17  Datasheet is available at18  https://www.richtek.com/assets/product_file/RT5759/DS5759-00.pdf19 20properties:21  compatible:22    enum:23      - richtek,rt575924      - richtek,rt5759a25 26  reg:27    maxItems: 128 29  regulator-allowed-modes:30    description: |31      buck allowed operating mode32        0: auto mode (PSKIP: pulse skipping)33        1: force pwm mode34    items:35      enum: [0, 1]36 37  richtek,watchdog-enable:38    description: enable the external watchdog reset pin listening39    type: boolean40 41allOf:42  - $ref: regulator.yaml#43 44  - if:45      properties:46        compatible:47          contains:48            const: richtek,rt575949    then:50      properties:51        richtek,watchdog-enable: false52 53required:54  - compatible55  - reg56 57unevaluatedProperties: false58 59examples:60  # example 1 for RT575961  - |62    i2c {63      #address-cells = <1>;64      #size-cells = <0>;65 66      regulator@62 {67        compatible = "richtek,rt5759";68        reg = <0x62>;69        regulator-name = "rt5759-buck";70        regulator-min-microvolt = <600000>;71        regulator-max-microvolt = <1500000>;72        regulator-boot-on;73      };74    };75  # example 2 for RT5759A76  - |77    i2c {78      #address-cells = <1>;79      #size-cells = <0>;80 81      regulator@62 {82        compatible = "richtek,rt5759a";83        reg = <0x62>;84        regulator-name = "rt5759a-buck";85        regulator-min-microvolt = <600000>;86        regulator-max-microvolt = <1725000>;87        regulator-boot-on;88        richtek,watchdog-enable;89      };90    };91