| 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 |
|
| 7 |
title: Richtek RT6245 High Current Voltage Regulator |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- ChiYuan Huang <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 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 |
|
| 17 |
allOf: |
| 18 |
- $ref: regulator.yaml# |
| 19 |
|
| 20 |
properties: |
| 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 |
richtek,switch-freq-select: |
| 59 |
$ref: /schemas/types.yaml#/definitions/uint8 |
| 60 |
enum: [0, 1, 2] |
| 61 |
description: | |
| 62 |
Buck switch frequency selection. Each respective value means 400KHz, |
| 63 |
800KHz, 1200KHz. If this property is missing then keep in chip default. |
| 64 |
|
| 65 |
required: |
| 66 |
- compatible |
| 67 |
- reg |
| 68 |
|
| 69 |
unevaluatedProperties: false |
| 70 |
|
| 71 |
examples: |
| 72 |
- | |
| 73 |
i2c { |
| 74 |
#address-cells = <1>; |
| 75 |
#size-cells = <0>; |
| 76 |
|
| 77 |
rt6245@34 { |
| 78 |
compatible = "richtek,rt6245"; |
| 79 |
reg = <0x34>; |
| 80 |
enable-gpios = <&gpio26 2 0>; |
| 81 |
|
| 82 |
regulator-name = "rt6245-regulator"; |
| 83 |
regulator-min-microvolt = <437500>; |
| 84 |
regulator-max-microvolt = <1387500>; |
| 85 |
regulator-boot-on; |
| 86 |
}; |
| 87 |
}; |