1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 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 Regulator 8 9maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 11 12description: | 13 The RT6245 is a high-performance, synchronous step-down converter 14 that can deliver up to 14A output current with an input supply 15 voltage range of 4.5V to 17V. 16 17allOf: 18 - $ref: regulator.yaml# 19 20properties: 21 compatible: 22 enum: 23 - richtek,rt6245 24 25 reg: 26 maxItems: 1 27 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: 1 33 34 richtek,oc-level-select: 35 $ref: /schemas/types.yaml#/definitions/uint8 36 enum: [0, 1, 2, 3] 37 description: | 38 Over current level selection. Each respective value means the current 39 limit 8A, 14A, 12A, 10A. If this property is missing then keep in 40 in chip default. 41 42 richtek,ot-level-select: 43 $ref: /schemas/types.yaml#/definitions/uint8 44 enum: [0, 1, 2] 45 description: | 46 Over temperature level selection. Each respective value means the degree 47 150'c, 130'c, 170'c. If this property is missing then keep in chip 48 default. 49 50 richtek,pgdly-time-select: 51 $ref: /schemas/types.yaml#/definitions/uint8 52 enum: [0, 1, 2, 3] 53 description: | 54 Power good signal delay time selection. Each respective value means the 55 delay time 0us, 10us, 20us, 40us. If this property is missing then keep 56 in chip default. 57 58 59 richtek,switch-freq-select: 60 $ref: /schemas/types.yaml#/definitions/uint8 61 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 - compatible 68 - reg 69 70unevaluatedProperties: false 71 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