1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/regulator/r 4 $id: http://devicetree.org/schemas/regulator/richtek,rt4803.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Richtek RT4803 Boost Regulator 7 title: Richtek RT4803 Boost Regulator 8 8 9 maintainers: 9 maintainers: 10 - ChiYuan Huang <cy_huang@richtek.com> 10 - ChiYuan Huang <cy_huang@richtek.com> 11 11 12 description: | 12 description: | 13 RT4803 is a boost regulator that's designed 13 RT4803 is a boost regulator that's designed to provide the minimum output 14 voltage, even if the input voltage is lower 14 voltage, even if the input voltage is lower than the required voltage. It 15 supports boost and auto bypass mode that dep 15 supports boost and auto bypass mode that depends on the difference between the 16 input and output voltage. If the input is lo 16 input and output voltage. If the input is lower than the output, mode will 17 transform to boost mode. Otherwise, turn on 17 transform to boost mode. Otherwise, turn on bypass switch to enter bypass mode. 18 18 19 Datasheet is available at 19 Datasheet is available at 20 https://www.richtek.com/assets/product_file/ 20 https://www.richtek.com/assets/product_file/RT4803/DS4803-03.pdf 21 https://www.richtek.com/assets/product_file/ 21 https://www.richtek.com/assets/product_file/RT4803A/DS4803A-06.pdf 22 22 23 allOf: 23 allOf: 24 - $ref: regulator.yaml# 24 - $ref: regulator.yaml# 25 25 26 properties: 26 properties: 27 compatible: 27 compatible: 28 enum: 28 enum: 29 - richtek,rt4803 29 - richtek,rt4803 30 30 31 reg: 31 reg: 32 maxItems: 1 32 maxItems: 1 33 33 34 richtek,vsel-active-high: 34 richtek,vsel-active-high: 35 type: boolean 35 type: boolean 36 description: Specify the VSEL register gro 36 description: Specify the VSEL register group is using when system is active 37 37 38 regulator-allowed-modes: 38 regulator-allowed-modes: 39 description: | 39 description: | 40 Available operating mode 40 Available operating mode 41 1: Auto PFM/PWM 41 1: Auto PFM/PWM 42 2: Force PWM 42 2: Force PWM 43 items: 43 items: 44 enum: [1, 2] 44 enum: [1, 2] 45 45 46 required: 46 required: 47 - compatible 47 - compatible 48 - reg 48 - reg 49 49 50 unevaluatedProperties: false 50 unevaluatedProperties: false 51 51 52 examples: 52 examples: 53 - | 53 - | 54 i2c { 54 i2c { 55 #address-cells = <1>; 55 #address-cells = <1>; 56 #size-cells = <0>; 56 #size-cells = <0>; 57 57 58 regulator@75 { 58 regulator@75 { 59 compatible = "richtek,rt4803"; 59 compatible = "richtek,rt4803"; 60 reg = <0x75>; 60 reg = <0x75>; 61 richtek,vsel-active-high; 61 richtek,vsel-active-high; 62 regulator-name = "rt4803-regulator"; 62 regulator-name = "rt4803-regulator"; 63 regulator-min-microvolt = <2850000>; 63 regulator-min-microvolt = <2850000>; 64 regulator-max-microvolt = <4400000>; 64 regulator-max-microvolt = <4400000>; 65 regulator-allowed-modes = <1 2>; 65 regulator-allowed-modes = <1 2>; 66 regulator-always-on; 66 regulator-always-on; 67 }; 67 }; 68 }; 68 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.