101950c46SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 201950c46SEmmanuel Vadot%YAML 1.2 301950c46SEmmanuel Vadot--- 401950c46SEmmanuel Vadot$id: http://devicetree.org/schemas/regulator/ti,tps65132.yaml# 501950c46SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 601950c46SEmmanuel Vadot 701950c46SEmmanuel Vadottitle: TI TPS65132 Dual Output Power Regulators 801950c46SEmmanuel Vadot 901950c46SEmmanuel Vadotmaintainers: 1001950c46SEmmanuel Vadot - devicetree@vger.kernel.org 1101950c46SEmmanuel Vadot 1201950c46SEmmanuel Vadotdescription: | 1301950c46SEmmanuel Vadot The TPS65132 is designed to supply positive/negative driven applications. 1401950c46SEmmanuel Vadot 1501950c46SEmmanuel Vadot Datasheet is available at: 1601950c46SEmmanuel Vadot https://www.ti.com/lit/gpn/tps65132 1701950c46SEmmanuel Vadot 1801950c46SEmmanuel Vadotproperties: 1901950c46SEmmanuel Vadot compatible: 2001950c46SEmmanuel Vadot enum: 2101950c46SEmmanuel Vadot - ti,tps65132 2201950c46SEmmanuel Vadot 2301950c46SEmmanuel Vadot reg: 2401950c46SEmmanuel Vadot maxItems: 1 2501950c46SEmmanuel Vadot 26*0e8011faSEmmanuel Vadot vin-supply: true 27*0e8011faSEmmanuel Vadot 2801950c46SEmmanuel VadotpatternProperties: 2901950c46SEmmanuel Vadot "^out[pn]$": 3001950c46SEmmanuel Vadot type: object 3101950c46SEmmanuel Vadot $ref: regulator.yaml# 3201950c46SEmmanuel Vadot unevaluatedProperties: false 3301950c46SEmmanuel Vadot description: 3401950c46SEmmanuel Vadot Properties for single regulator. 3501950c46SEmmanuel Vadot 3601950c46SEmmanuel Vadot properties: 3701950c46SEmmanuel Vadot enable-gpios: 3801950c46SEmmanuel Vadot maxItems: 1 3901950c46SEmmanuel Vadot description: 4001950c46SEmmanuel Vadot GPIO specifier to enable the GPIO control (on/off) for regulator. 4101950c46SEmmanuel Vadot 4201950c46SEmmanuel Vadot active-discharge-gpios: 4301950c46SEmmanuel Vadot maxItems: 1 4401950c46SEmmanuel Vadot description: 4501950c46SEmmanuel Vadot GPIO specifier to actively discharge the delay mechanism. 4601950c46SEmmanuel Vadot 4701950c46SEmmanuel Vadot ti,active-discharge-time-us: 4801950c46SEmmanuel Vadot description: Regulator active discharge time in microseconds. 4901950c46SEmmanuel Vadot 5001950c46SEmmanuel Vadot dependencies: 5101950c46SEmmanuel Vadot active-discharge-gpios: [ 'ti,active-discharge-time-us' ] 5201950c46SEmmanuel Vadot 5301950c46SEmmanuel Vadotrequired: 5401950c46SEmmanuel Vadot - compatible 5501950c46SEmmanuel Vadot - reg 5601950c46SEmmanuel Vadot 5701950c46SEmmanuel VadotadditionalProperties: false 5801950c46SEmmanuel Vadot 5901950c46SEmmanuel Vadotexamples: 6001950c46SEmmanuel Vadot - | 6101950c46SEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 6201950c46SEmmanuel Vadot 6301950c46SEmmanuel Vadot i2c { 6401950c46SEmmanuel Vadot #address-cells = <1>; 6501950c46SEmmanuel Vadot #size-cells = <0>; 6601950c46SEmmanuel Vadot 6701950c46SEmmanuel Vadot regulator@3e { 6801950c46SEmmanuel Vadot compatible = "ti,tps65132"; 6901950c46SEmmanuel Vadot reg = <0x3e>; 70*0e8011faSEmmanuel Vadot vin-supply = <&supply>; 7101950c46SEmmanuel Vadot 7201950c46SEmmanuel Vadot outp { 7301950c46SEmmanuel Vadot regulator-name = "outp"; 7401950c46SEmmanuel Vadot regulator-boot-on; 7501950c46SEmmanuel Vadot regulator-always-on; 7601950c46SEmmanuel Vadot enable-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>; 7701950c46SEmmanuel Vadot }; 7801950c46SEmmanuel Vadot 7901950c46SEmmanuel Vadot outn { 8001950c46SEmmanuel Vadot regulator-name = "outn"; 8101950c46SEmmanuel Vadot regulator-boot-on; 8201950c46SEmmanuel Vadot regulator-always-on; 8301950c46SEmmanuel Vadot regulator-active-discharge = <0>; 8401950c46SEmmanuel Vadot enable-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>; 8501950c46SEmmanuel Vadot }; 8601950c46SEmmanuel Vadot }; 8701950c46SEmmanuel Vadot }; 88