Andrew F. Davis | a85b9e0 | 2016-01-25 09:50:10 -0600 | [diff] [blame] | 1 | * TPS65086 Power Management Integrated Circuit (PMIC) bindings |
| 2 | |
| 3 | Required properties: |
| 4 | - compatible : Should be "ti,tps65086". |
| 5 | - reg : I2C slave address. |
| 6 | - interrupt-parent : Phandle to the parent interrupt controller. |
| 7 | - interrupts : The interrupt line the device is connected to. |
| 8 | - interrupt-controller : Marks the device node as an interrupt controller. |
| 9 | - #interrupt-cells : The number of cells to describe an IRQ, should be 2. |
| 10 | The first cell is the IRQ number. |
| 11 | The second cell is the flags, encoded as trigger |
| 12 | masks from ../interrupt-controller/interrupts.txt. |
| 13 | - gpio-controller : Marks the device node as a GPIO Controller. |
| 14 | - #gpio-cells : Should be two. The first cell is the pin number and |
| 15 | the second cell is used to specify flags. |
| 16 | See ../gpio/gpio.txt for more information. |
| 17 | - regulators: : List of child nodes that specify the regulator |
| 18 | initialization data. Child nodes must be named |
| 19 | after their hardware counterparts: buck[1-6], |
| 20 | ldoa[1-3], swa1, swb[1-2], and vtt. Each child |
| 21 | node is defined using the standard binding for |
| 22 | regulators and the optional regulator properties |
| 23 | defined below. |
| 24 | |
| 25 | Optional regulator properties: |
| 26 | - ti,regulator-step-size-25mv : This is applicable for buck[1,2,6], set this |
| 27 | if the regulator is factory set with a 25mv |
| 28 | step voltage mapping. |
| 29 | - ti,regulator-decay : This is applicable for buck[1-6], set this if |
| 30 | the output needs to decay, default is for |
| 31 | the output to slew down. |
| 32 | |
| 33 | Example: |
| 34 | |
| 35 | pmic: tps65086@5e { |
| 36 | compatible = "ti,tps65086"; |
| 37 | reg = <0x5e>; |
| 38 | interrupt-parent = <&gpio1>; |
| 39 | interrupts = <28 IRQ_TYPE_LEVEL_LOW>; |
| 40 | interrupt-controller; |
| 41 | #interrupt-cells = <2>; |
| 42 | gpio-controller; |
| 43 | #gpio-cells = <2>; |
| 44 | |
| 45 | regulators { |
| 46 | buck1 { |
| 47 | regulator-name = "vcc1"; |
| 48 | regulator-min-microvolt = <1600000>; |
| 49 | regulator-max-microvolt = <1600000>; |
| 50 | regulator-boot-on; |
| 51 | ti,regulator-decay; |
| 52 | ti,regulator-step-size-25mv; |
| 53 | }; |
| 54 | }; |
| 55 | }; |