0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mfd/ti,tps65086.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: TPS65086 Power Management Integrated Circuit (PMIC)
0008
0009 maintainers:
0010 - Emil Renner Berthing <kernel@esmil.dk>
0011
0012 properties:
0013 compatible:
0014 const: ti,tps65086
0015
0016 reg:
0017 const: 0x5e
0018 description: I2C slave address
0019
0020 interrupts:
0021 maxItems: 1
0022
0023 interrupt-controller: true
0024
0025 '#interrupt-cells':
0026 const: 2
0027 description: |
0028 The first cell is the IRQ number. The second cell is the flags,
0029 encoded as trigger masks from ../interrupt-controller/interrupts.txt.
0030
0031 gpio-controller: true
0032
0033 '#gpio-cells':
0034 const: 2
0035 description: |
0036 The first cell is the pin number and the second cell is used to specify
0037 flags. See ../gpio/gpio.txt for more information.
0038
0039 regulators:
0040 type: object
0041 description: |
0042 List of child nodes that specify the regulator initialization data.
0043 Child nodes must be named after their hardware counterparts:
0044 buck[1-6], ldoa[1-3], swa1, swb[1-2], and vtt.
0045 Each child node is defined using the standard binding for regulators and
0046 the optional regulator properties defined below.
0047
0048 patternProperties:
0049 "^buck[1-6]$":
0050 type: object
0051 $ref: ../regulator/regulator.yaml
0052
0053 properties:
0054 regulator-name: true
0055 regulator-boot-on: true
0056 regulator-always-on: true
0057 regulator-min-microvolt: true
0058 regulator-max-microvolt: true
0059 ti,regulator-step-size-25mv:
0060 type: boolean
0061 description: |
0062 Set this if the regulator is factory set with a 25mv step voltage
0063 mapping.
0064 ti,regulator-decay:
0065 type: boolean
0066 description: |
0067 Set this if the output needs to decay, default is for the output
0068 to slew down.
0069
0070 additionalProperties: false
0071
0072 "^(ldoa[1-3]|swa1|swb[1-2]|vtt)$":
0073 type: object
0074 $ref: ../regulator/regulator.yaml
0075
0076 properties:
0077 regulator-name: true
0078 regulator-boot-on: true
0079 regulator-always-on: true
0080 regulator-min-microvolt: true
0081 regulator-max-microvolt: true
0082
0083 additionalProperties: false
0084
0085 additionalProperties: false
0086
0087 required:
0088 - compatible
0089 - reg
0090 - gpio-controller
0091 - '#gpio-cells'
0092 - regulators
0093
0094 examples:
0095 - |
0096 #include <dt-bindings/interrupt-controller/irq.h>
0097 i2c0 {
0098 #address-cells = <1>;
0099 #size-cells = <0>;
0100
0101 pmic: pmic@5e {
0102 compatible = "ti,tps65086";
0103 reg = <0x5e>;
0104 interrupt-parent = <&gpio1>;
0105 interrupts = <28 IRQ_TYPE_LEVEL_LOW>;
0106 interrupt-controller;
0107 #interrupt-cells = <2>;
0108 gpio-controller;
0109 #gpio-cells = <2>;
0110
0111 regulators {
0112 buck1 {
0113 regulator-name = "vcc1";
0114 regulator-min-microvolt = <1600000>;
0115 regulator-max-microvolt = <1600000>;
0116 regulator-boot-on;
0117 ti,regulator-decay;
0118 ti,regulator-step-size-25mv;
0119 };
0120 };
0121 };
0122 };
0123
0124 ...