89 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,rt6245-regulator.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT6245 High Current Voltage Regulator8 9maintainers:10 - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13 The RT6245 is a high-performance, synchronous step-down converter14 that can deliver up to 14A output current with an input supply15 voltage range of 4.5V to 17V.16 17allOf:18 - $ref: regulator.yaml#19 20properties:21 compatible:22 enum:23 - richtek,rt624524 25 reg:26 maxItems: 127 28 enable-gpios:29 description: |30 A connection of the chip 'enable' gpio line. If not provided,31 it will be treat as a default-on power.32 maxItems: 133 34 richtek,oc-level-select:35 $ref: /schemas/types.yaml#/definitions/uint836 enum: [0, 1, 2, 3]37 description: |38 Over current level selection. Each respective value means the current39 limit 8A, 14A, 12A, 10A. If this property is missing then keep in40 in chip default.41 42 richtek,ot-level-select:43 $ref: /schemas/types.yaml#/definitions/uint844 enum: [0, 1, 2]45 description: |46 Over temperature level selection. Each respective value means the degree47 150'c, 130'c, 170'c. If this property is missing then keep in chip48 default.49 50 richtek,pgdly-time-select:51 $ref: /schemas/types.yaml#/definitions/uint852 enum: [0, 1, 2, 3]53 description: |54 Power good signal delay time selection. Each respective value means the55 delay time 0us, 10us, 20us, 40us. If this property is missing then keep56 in chip default.57 58 59 richtek,switch-freq-select:60 $ref: /schemas/types.yaml#/definitions/uint861 enum: [0, 1, 2]62 description: |63 Buck switch frequency selection. Each respective value means 400KHz,64 800KHz, 1200KHz. If this property is missing then keep in chip default.65 66required:67 - compatible68 - reg69 70unevaluatedProperties: false71 72examples:73 - |74 i2c {75 #address-cells = <1>;76 #size-cells = <0>;77 78 rt6245@34 {79 compatible = "richtek,rt6245";80 reg = <0x34>;81 enable-gpios = <&gpio26 2 0>;82 83 regulator-name = "rt6245-regulator";84 regulator-min-microvolt = <437500>;85 regulator-max-microvolt = <1387500>;86 regulator-boot-on;87 };88 };89