xref: /linux/Documentation/devicetree/bindings/hwmon/pmbus/infineon,tda38640.yaml (revision 79790b6818e96c58fe2bffee1b418c16e64e7b80)
130eea19cSPatrick Rudolph# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
230eea19cSPatrick Rudolph%YAML 1.2
330eea19cSPatrick Rudolph---
430eea19cSPatrick Rudolph
530eea19cSPatrick Rudolph$id: http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml#
630eea19cSPatrick Rudolph$schema: http://devicetree.org/meta-schemas/core.yaml#
730eea19cSPatrick Rudolph
830eea19cSPatrick Rudolphtitle: Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C
930eea19cSPatrick Rudolph
1030eea19cSPatrick Rudolphmaintainers:
1130eea19cSPatrick Rudolph  - Naresh Solanki <naresh.solanki@9elements.com>
1230eea19cSPatrick Rudolph
1330eea19cSPatrick Rudolphdescription: |
1430eea19cSPatrick Rudolph  The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck
1530eea19cSPatrick Rudolph  Regulator with SVID and I2C designed for Industrial use.
1630eea19cSPatrick Rudolph
1730eea19cSPatrick Rudolph  Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9
1830eea19cSPatrick Rudolph
1930eea19cSPatrick Rudolphproperties:
2030eea19cSPatrick Rudolph  compatible:
2130eea19cSPatrick Rudolph    enum:
2230eea19cSPatrick Rudolph      - infineon,tda38640
2330eea19cSPatrick Rudolph
2430eea19cSPatrick Rudolph  reg:
2530eea19cSPatrick Rudolph    maxItems: 1
2630eea19cSPatrick Rudolph
2730eea19cSPatrick Rudolph  infineon,en-pin-fixed-level:
2830eea19cSPatrick Rudolph    description:
2930eea19cSPatrick Rudolph      Indicates that the chip EN pin is at fixed level or left
3030eea19cSPatrick Rudolph      unconnected(has internal pull-down).
3130eea19cSPatrick Rudolph    type: boolean
3230eea19cSPatrick Rudolph
33*c71d2502SNaresh Solanki  interrupts:
34*c71d2502SNaresh Solanki    maxItems: 1
35*c71d2502SNaresh Solanki
36*c71d2502SNaresh Solanki  regulators:
37*c71d2502SNaresh Solanki    type: object
38*c71d2502SNaresh Solanki    description:
39*c71d2502SNaresh Solanki      list of regulators provided by this controller.
40*c71d2502SNaresh Solanki
41*c71d2502SNaresh Solanki    properties:
42*c71d2502SNaresh Solanki      vout:
43*c71d2502SNaresh Solanki        $ref: /schemas/regulator/regulator.yaml#
44*c71d2502SNaresh Solanki        type: object
45*c71d2502SNaresh Solanki
46*c71d2502SNaresh Solanki        unevaluatedProperties: false
47*c71d2502SNaresh Solanki
48*c71d2502SNaresh Solanki    additionalProperties: false
49*c71d2502SNaresh Solanki
5030eea19cSPatrick Rudolphrequired:
5130eea19cSPatrick Rudolph  - compatible
5230eea19cSPatrick Rudolph  - reg
5330eea19cSPatrick Rudolph
5430eea19cSPatrick RudolphadditionalProperties: false
5530eea19cSPatrick Rudolph
5630eea19cSPatrick Rudolphexamples:
5730eea19cSPatrick Rudolph  - |
58*c71d2502SNaresh Solanki    #include <dt-bindings/interrupt-controller/irq.h>
5930eea19cSPatrick Rudolph    i2c {
6030eea19cSPatrick Rudolph        #address-cells = <1>;
6130eea19cSPatrick Rudolph        #size-cells = <0>;
6230eea19cSPatrick Rudolph
6330eea19cSPatrick Rudolph        tda38640@40 {
6430eea19cSPatrick Rudolph            compatible = "infineon,tda38640";
6530eea19cSPatrick Rudolph            reg = <0x40>;
66*c71d2502SNaresh Solanki
67*c71d2502SNaresh Solanki            interrupt-parent = <&smb_pex_cpu0_event>;
68*c71d2502SNaresh Solanki            interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
69*c71d2502SNaresh Solanki
70*c71d2502SNaresh Solanki            regulators {
71*c71d2502SNaresh Solanki                pvnn_main_cpu0: vout {
72*c71d2502SNaresh Solanki                    regulator-name = "pvnn_main_cpu0";
73*c71d2502SNaresh Solanki                    regulator-enable-ramp-delay = <200>;
74*c71d2502SNaresh Solanki                };
75*c71d2502SNaresh Solanki            };
7630eea19cSPatrick Rudolph        };
7730eea19cSPatrick Rudolph    };
78