summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator/ti,tps51632.yaml
blob: 130fa9796f579cd65c0783ce8a73e6a7d382449b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/regulator/ti,tps51632.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments TPS51632 Voltage regulators

maintainers:
  - Laxman Dewangan <ldewangan@nvidia.com>

allOf:
  - $ref: regulator.yaml#

properties:
  compatible:
    const: ti,tps51632

  reg:
    maxItems: 1

  ti,enable-pwm-dvfs:
    description: Enable the DVFS voltage control through the PWM interface.
    type: boolean

  ti,dvfs-step-20mV:
    description:
      The 20mV step voltage when PWM DVFS enabled. Missing this will set 10mV
      step voltage in PWM DVFS mode. In normal mode, the voltage step is 10mV
      as per datasheet.
    type: boolean

required:
  - compatible
  - reg

unevaluatedProperties: false

examples:
  - |
    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        tps51632@43 {
            compatible = "ti,tps51632";
            reg = <0x43>;
            regulator-name = "tps51632-vout";
            regulator-min-microvolt = <500000>;
            regulator-max-microvolt = <1500000>;
            regulator-boot-on;
            ti,enable-pwm-dvfs;
            ti,dvfs-step-20mV;
        };
    };