1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 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/t 4 $id: http://devicetree.org/schemas/regulator/ti,tps62360.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Texas Instruments TPS6236x Voltage Regu 7 title: Texas Instruments TPS6236x Voltage Regulators 8 8 9 maintainers: 9 maintainers: 10 - Laxman Dewangan <ldewangan@nvidia.com> 10 - Laxman Dewangan <ldewangan@nvidia.com> 11 11 12 description: | 12 description: | 13 The TPS6236x are a family of step down dc-dc 13 The TPS6236x are a family of step down dc-dc converter with 14 an input voltage range of 2.5V to 5.5V. The 14 an input voltage range of 2.5V to 5.5V. The devices provide 15 up to 3A peak load current, and an output vo 15 up to 3A peak load current, and an output voltage range of 16 0.77V to 1.4V (TPS62360/62) and 0.5V to 1.77 16 0.77V to 1.4V (TPS62360/62) and 0.5V to 1.77V (TPS62361B/63). 17 17 18 Datasheet is available at: 18 Datasheet is available at: 19 https://www.ti.com/lit/gpn/tps62360 19 https://www.ti.com/lit/gpn/tps62360 20 20 21 allOf: 21 allOf: 22 - $ref: regulator.yaml# 22 - $ref: regulator.yaml# 23 23 24 properties: 24 properties: 25 compatible: 25 compatible: 26 enum: 26 enum: 27 - ti,tps62360 27 - ti,tps62360 28 - ti,tps62361 28 - ti,tps62361 29 - ti,tps62362 29 - ti,tps62362 30 - ti,tps62363 30 - ti,tps62363 31 31 32 reg: 32 reg: 33 maxItems: 1 33 maxItems: 1 34 34 35 ti,vsel0-gpio: 35 ti,vsel0-gpio: 36 description: | 36 description: | 37 GPIO for controlling VSEL0 line. If this 37 GPIO for controlling VSEL0 line. If this property 38 is missing, then assume that there is no 38 is missing, then assume that there is no GPIO for 39 VSEL0 control. 39 VSEL0 control. 40 maxItems: 1 40 maxItems: 1 41 41 42 ti,vsel1-gpio: 42 ti,vsel1-gpio: 43 description: | 43 description: | 44 GPIO for controlling VSEL1 line. If this 44 GPIO for controlling VSEL1 line. If this property 45 is missing, then assume that there is no 45 is missing, then assume that there is no GPIO for 46 VSEL1 control. 46 VSEL1 control. 47 maxItems: 1 47 maxItems: 1 48 48 49 ti,enable-vout-discharge: 49 ti,enable-vout-discharge: 50 description: Enable output discharge. 50 description: Enable output discharge. 51 type: boolean 51 type: boolean 52 52 53 ti,enable-pull-down: 53 ti,enable-pull-down: 54 description: Enable pull down. 54 description: Enable pull down. 55 type: boolean 55 type: boolean 56 56 57 ti,vsel0-state-high: 57 ti,vsel0-state-high: 58 description: | 58 description: | 59 Initial state of VSEL0 input is high. If 59 Initial state of VSEL0 input is high. If this property 60 is missing, then assume the state as low 60 is missing, then assume the state as low. 61 type: boolean 61 type: boolean 62 62 63 ti,vsel1-state-high: 63 ti,vsel1-state-high: 64 description: | 64 description: | 65 Initial state of VSEL1 input is high. If 65 Initial state of VSEL1 input is high. If this property 66 is missing, then assume the state as low 66 is missing, then assume the state as low. 67 type: boolean 67 type: boolean 68 68 69 required: 69 required: 70 - compatible 70 - compatible 71 - reg 71 - reg 72 72 73 unevaluatedProperties: false 73 unevaluatedProperties: false 74 74 75 examples: 75 examples: 76 - | 76 - | 77 #include <dt-bindings/gpio/gpio.h> 77 #include <dt-bindings/gpio/gpio.h> 78 i2c { 78 i2c { 79 #address-cells = <1>; 79 #address-cells = <1>; 80 #size-cells = <0>; 80 #size-cells = <0>; 81 81 82 regulator@60 { 82 regulator@60 { 83 compatible = "ti,tps62361"; 83 compatible = "ti,tps62361"; 84 reg = <0x60>; 84 reg = <0x60>; 85 regulator-name = "tps62361-vout"; 85 regulator-name = "tps62361-vout"; 86 regulator-min-microvolt = <500000> 86 regulator-min-microvolt = <500000>; 87 regulator-max-microvolt = <1500000 87 regulator-max-microvolt = <1500000>; 88 regulator-boot-on; 88 regulator-boot-on; 89 ti,vsel0-gpio = <&gpio1 16 GPIO_AC 89 ti,vsel0-gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>; 90 ti,vsel1-gpio = <&gpio1 17 GPIO_AC 90 ti,vsel1-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>; 91 ti,vsel0-state-high; 91 ti,vsel0-state-high; 92 ti,vsel1-state-high; 92 ti,vsel1-state-high; 93 ti,enable-pull-down; 93 ti,enable-pull-down; 94 ti,enable-vout-discharge; 94 ti,enable-vout-discharge; 95 }; 95 }; 96 }; 96 }; 97 97 98 ... 98 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.