xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/pmbus/ti,ucd90320.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4
5$id: http://devicetree.org/schemas/hwmon/pmbus/ti,ucd90320.yaml#
6$schema: http://devicetree.org/meta-schemas/core.yaml#
7
8title: UCD90320 power sequencer
9
10maintainers:
11  - Jim Wright <wrightj@linux.vnet.ibm.com>
12
13description: |
14  The UCD90320 is a 32-rail PMBus/I2C addressable power-supply sequencer and
15  monitor. The 24 integrated ADC channels (AMONx) monitor the power supply
16  voltage, current, and temperature. Of the 84 GPIO pins, 8 can be used as
17  digital monitors (DMONx), 32 to enable the power supply (ENx), 24 for
18  margining (MARx), 16 for logical GPO, and 32 GPIs for cascading, and system
19  function.
20
21  http://focus.ti.com/lit/ds/symlink/ucd90320.pdf
22
23properties:
24  compatible:
25    enum:
26      - ti,ucd9000
27      - ti,ucd9090
28      - ti,ucd90120
29      - ti,ucd90124
30      - ti,ucd90160
31      - ti,ucd90320
32      - ti,ucd90910
33
34  reg:
35    maxItems: 1
36
37  gpio-controller: true
38
39  gpio-line-names:
40    minItems: 84
41    maxItems: 84
42
43  '#gpio-cells':
44    const: 1
45
46required:
47  - compatible
48  - reg
49
50additionalProperties: false
51
52examples:
53  - |
54    i2c {
55        #address-cells = <1>;
56        #size-cells = <0>;
57
58        ucd90320@11 {
59            compatible = "ti,ucd90320";
60            reg = <0x11>;
61        };
62    };
63