80 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,rt6190.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Richtek RT6190 4-Switch BuckBoost controller8 9maintainers:10 - ChiYuan Huang <cy_huang@richtek.com>11 12description: |13 The RT6190 is 4-Switch BuckBoost controller designed for converting input14 voltage to output voltage that can be equal to, higher or lower than input15 voltage. It operates with wide input voltage range from 4.5V to 36V, and16 the output voltage can be set from 3V to 36V by external FB pin. It's commonly17 used for the application like as BuckBoost bus supply, docking station and USB18 power delivery product.19 20 Datasheet is available at21 https://www.richtek.com/assets/product_file/RT6190/DS6190-02.pdf22 23allOf:24 - $ref: regulator.yaml#25 26properties:27 compatible:28 enum:29 - richtek,rt619030 31 reg:32 maxItems: 133 34 enable-gpios:35 maxItems: 136 37 wakeup-source: true38 39 interrupts:40 maxItems: 141 42 regulator-allowed-modes:43 description: |44 buck allowed operating mode45 0: PSM mode (light load Power Saving Mode)46 1: FCCM mode (Forced-CCM mode)47 maxItems: 248 items:49 enum: [0, 1]50 51required:52 - compatible53 - reg54 55unevaluatedProperties: false56 57examples: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 };80