1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/regulator/ti,tps65185.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI TPS65185 Power Management Integrated Circuit 8 9maintainers: 10 - Andreas Kemnade <andreas@kemnade.info> 11 12description: 13 TPS65185 is a Power Management IC to provide Power for EPDs with one 3.3V 14 switch, 2 symmetric LDOs behind 2 DC/DC converters, and one unsymmetric 15 regulator for a compensation voltage. 16 17properties: 18 compatible: 19 const: ti,tps65185 20 21 reg: 22 maxItems: 1 23 24 enable-gpios: 25 description: 26 PWRUP pin 27 maxItems: 1 28 29 pwr-good-gpios: 30 maxItems: 1 31 32 vcom-ctrl-gpios: 33 maxItems: 1 34 35 wakeup-gpios: 36 maxItems: 1 37 38 vin-supply: true 39 40 interrupts: 41 maxItems: 1 42 43 regulators: 44 type: object 45 additionalProperties: false 46 patternProperties: 47 "^(vcom|vposneg|v3p3)$": 48 unevaluatedProperties: false 49 type: object 50 $ref: /schemas/regulator/regulator.yaml 51 52required: 53 - compatible 54 - reg 55 - pwr-good-gpios 56 - vin-supply 57 58additionalProperties: false 59 60examples: 61 - | 62 #include <dt-bindings/gpio/gpio.h> 63 #include <dt-bindings/interrupt-controller/irq.h> 64 i2c { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 68 pmic@18 { 69 compatible = "ti,tps65185"; 70 reg = <0x18>; 71 pinctrl-names = "default"; 72 pinctrl-0 = <&pinctrl_tps65185_gpio>; 73 pwr-good-gpios = <&gpio2 7 GPIO_ACTIVE_HIGH>; 74 vcom-ctrl-gpios = <&gpio2 9 GPIO_ACTIVE_HIGH>; 75 enable-gpios = <&gpio2 8 GPIO_ACTIVE_HIGH>; 76 wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; 77 vin-supply = <&epdc_pmic_supply>; 78 interrupts-extended = <&gpio2 0 IRQ_TYPE_LEVEL_LOW>; 79 80 regulators { 81 vcom { 82 regulator-name = "vcom"; 83 }; 84 85 vposneg { 86 regulator-name = "vposneg"; 87 regulator-min-microvolt = <15000000>; 88 regulator-max-microvolt = <15000000>; 89 }; 90 91 v3p3 { 92 regulator-name = "v3p3"; 93 }; 94 }; 95 }; 96 }; 97