99 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/regulator/ti,tps62360.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Texas Instruments TPS6236x Voltage Regulators8 9maintainers:10 - Laxman Dewangan <ldewangan@nvidia.com>11 12description: |13 The TPS6236x are a family of step down dc-dc converter with14 an input voltage range of 2.5V to 5.5V. The devices provide15 up to 3A peak load current, and an output voltage range of16 0.77V to 1.4V (TPS62360/62) and 0.5V to 1.77V (TPS62361B/63).17 18 Datasheet is available at:19 https://www.ti.com/lit/gpn/tps6236020 21allOf:22 - $ref: regulator.yaml#23 24properties:25 compatible:26 enum:27 - ti,tps6236028 - ti,tps6236129 - ti,tps6236230 - ti,tps6236331 32 reg:33 maxItems: 134 35 ti,vsel0-gpio:36 description: |37 GPIO for controlling VSEL0 line. If this property38 is missing, then assume that there is no GPIO for39 VSEL0 control.40 maxItems: 141 42 ti,vsel1-gpio:43 description: |44 GPIO for controlling VSEL1 line. If this property45 is missing, then assume that there is no GPIO for46 VSEL1 control.47 maxItems: 148 49 ti,enable-vout-discharge:50 description: Enable output discharge.51 type: boolean52 53 ti,enable-pull-down:54 description: Enable pull down.55 type: boolean56 57 ti,vsel0-state-high:58 description: |59 Initial state of VSEL0 input is high. If this property60 is missing, then assume the state as low.61 type: boolean62 63 ti,vsel1-state-high:64 description: |65 Initial state of VSEL1 input is high. If this property66 is missing, then assume the state as low.67 type: boolean68 69required:70 - compatible71 - reg72 73unevaluatedProperties: false74 75examples:76 - |77 #include <dt-bindings/gpio/gpio.h>78 i2c {79 #address-cells = <1>;80 #size-cells = <0>;81 82 regulator@60 {83 compatible = "ti,tps62361";84 reg = <0x60>;85 regulator-name = "tps62361-vout";86 regulator-min-microvolt = <500000>;87 regulator-max-microvolt = <1500000>;88 regulator-boot-on;89 ti,vsel0-gpio = <&gpio1 16 GPIO_ACTIVE_HIGH>;90 ti,vsel1-gpio = <&gpio1 17 GPIO_ACTIVE_HIGH>;91 ti,vsel0-state-high;92 ti,vsel1-state-high;93 ti,enable-pull-down;94 ti,enable-vout-discharge;95 };96 };97 98...99