blob: b73762e151bbd62f0c04aaffa9a10e4ce35fc5df [file] [log] [blame]
ChiYuan Huang1623d762021-06-03 13:57:23 +08001# 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:
Rob Herringcff5c892023-03-17 18:36:14 -050035 $ref: /schemas/types.yaml#/definitions/uint8
ChiYuan Huang1623d762021-06-03 13:57:23 +080036 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:
Rob Herringcff5c892023-03-17 18:36:14 -050043 $ref: /schemas/types.yaml#/definitions/uint8
ChiYuan Huang1623d762021-06-03 13:57:23 +080044 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:
Rob Herringcff5c892023-03-17 18:36:14 -050051 $ref: /schemas/types.yaml#/definitions/uint8
ChiYuan Huang1623d762021-06-03 13:57:23 +080052 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:
Rob Herringcff5c892023-03-17 18:36:14 -050060 $ref: /schemas/types.yaml#/definitions/uint8
ChiYuan Huang1623d762021-06-03 13:57:23 +080061 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";
ChiYuan Huang1623d762021-06-03 13:57:23 +080080 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 };