| 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,rt6190.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Richtek RT6190 4-Switch BuckBoost controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- ChiYuan Huang <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The RT6190 is 4-Switch BuckBoost controller designed for converting input |
| 14 |
voltage to output voltage that can be equal to, higher or lower than input |
| 15 |
voltage. It operates with wide input voltage range from 4.5V to 36V, and |
| 16 |
the output voltage can be set from 3V to 36V by external FB pin. It's commonly |
| 17 |
used for the application like as BuckBoost bus supply, docking station and USB |
| 18 |
power delivery product. |
| 19 |
|
| 20 |
Datasheet is available at |
| 21 |
https://www.richtek.com/assets/product_file/RT6190/DS6190-02.pdf |
| 22 |
|
| 23 |
allOf: |
| 24 |
- $ref: regulator.yaml# |
| 25 |
|
| 26 |
properties: |
| 27 |
compatible: |
| 28 |
enum: |
| 29 |
- richtek,rt6190 |
| 30 |
|
| 31 |
reg: |
| 32 |
maxItems: 1 |
| 33 |
|
| 34 |
enable-gpios: |
| 35 |
maxItems: 1 |
| 36 |
|
| 37 |
wakeup-source: true |
| 38 |
|
| 39 |
interrupts: |
| 40 |
maxItems: 1 |
| 41 |
|
| 42 |
regulator-allowed-modes: |
| 43 |
description: | |
| 44 |
buck allowed operating mode |
| 45 |
0: PSM mode (light load Power Saving Mode) |
| 46 |
1: FCCM mode (Forced-CCM mode) |
| 47 |
maxItems: 2 |
| 48 |
items: |
| 49 |
enum: [0, 1] |
| 50 |
|
| 51 |
required: |
| 52 |
- compatible |
| 53 |
- reg |
| 54 |
|
| 55 |
unevaluatedProperties: false |
| 56 |
|
| 57 |
examples: |
| 58 |
- | |
| 59 |
#include <dt-bindings/gpio/gpio.h> |
| 60 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 61 |
|
| 62 |
i2c { |
| 63 |
#address-cells = <1>; |
| 64 |
#size-cells = <0>; |
| 65 |
|
| 66 |
regulator@2c { |
| 67 |
compatible = "richtek,rt6190"; |
| 68 |
reg = <0x2c>; |
| 69 |
wakeup-source; |
| 70 |
interrupts-extended = <&gpio26 0 IRQ_TYPE_LEVEL_LOW>; |
| 71 |
enable-gpios = <&gpio26 1 GPIO_ACTIVE_HIGH>; |
| 72 |
regulator-name = "richtek,rt6190-buckboost"; |
| 73 |
regulator-min-microvolt = <3000000>; |
| 74 |
regulator-max-microvolt = <32000000>; |
| 75 |
regulator-min-microamp = <306000>; |
| 76 |
regulator-max-microamp = <12114000>; |
| 77 |
regulator-allowed-modes = <0 1>; |
| 78 |
}; |
| 79 |
}; |