xref: /linux/Documentation/devicetree/bindings/hwmon/ti,amc6821.yaml (revision c771600c6af14749609b49565ffb4cac2959710d)
1*247a80fdSFarouk Bouabid# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*247a80fdSFarouk Bouabid%YAML 1.2
3*247a80fdSFarouk Bouabid---
4*247a80fdSFarouk Bouabid$id: http://devicetree.org/schemas/hwmon/ti,amc6821.yaml#
5*247a80fdSFarouk Bouabid$schema: http://devicetree.org/meta-schemas/core.yaml#
6*247a80fdSFarouk Bouabid
7*247a80fdSFarouk Bouabidtitle: AMC6821 Intelligent Temperature Monitor and PWM Fan Controller
8*247a80fdSFarouk Bouabid
9*247a80fdSFarouk Bouabidmaintainers:
10*247a80fdSFarouk Bouabid  - Farouk Bouabid <farouk.bouabid@cherry.de>
11*247a80fdSFarouk Bouabid  - Quentin Schulz <quentin.schulz@cherry.de>
12*247a80fdSFarouk Bouabid
13*247a80fdSFarouk Bouabiddescription:
14*247a80fdSFarouk Bouabid  Intelligent temperature monitor and pulse-width modulation (PWM) fan
15*247a80fdSFarouk Bouabid  controller.
16*247a80fdSFarouk Bouabid
17*247a80fdSFarouk Bouabidproperties:
18*247a80fdSFarouk Bouabid  compatible:
19*247a80fdSFarouk Bouabid    oneOf:
20*247a80fdSFarouk Bouabid      - items:
21*247a80fdSFarouk Bouabid          - const: tsd,mule
22*247a80fdSFarouk Bouabid          - const: ti,amc6821
23*247a80fdSFarouk Bouabid      - const: ti,amc6821
24*247a80fdSFarouk Bouabid
25*247a80fdSFarouk Bouabid  reg:
26*247a80fdSFarouk Bouabid    maxItems: 1
27*247a80fdSFarouk Bouabid
28*247a80fdSFarouk Bouabid  i2c-mux:
29*247a80fdSFarouk Bouabid    type: object
30*247a80fdSFarouk Bouabid
31*247a80fdSFarouk Bouabidrequired:
32*247a80fdSFarouk Bouabid  - compatible
33*247a80fdSFarouk Bouabid  - reg
34*247a80fdSFarouk Bouabid
35*247a80fdSFarouk Bouabidif:
36*247a80fdSFarouk Bouabid  properties:
37*247a80fdSFarouk Bouabid    compatible:
38*247a80fdSFarouk Bouabid      contains:
39*247a80fdSFarouk Bouabid        const: tsd,mule
40*247a80fdSFarouk Bouabid
41*247a80fdSFarouk Bouabidthen:
42*247a80fdSFarouk Bouabid  required:
43*247a80fdSFarouk Bouabid    - i2c-mux
44*247a80fdSFarouk Bouabid
45*247a80fdSFarouk BouabidadditionalProperties: false
46*247a80fdSFarouk Bouabid
47*247a80fdSFarouk Bouabidexamples:
48*247a80fdSFarouk Bouabid  - |
49*247a80fdSFarouk Bouabid    i2c {
50*247a80fdSFarouk Bouabid        #address-cells = <1>;
51*247a80fdSFarouk Bouabid        #size-cells = <0>;
52*247a80fdSFarouk Bouabid
53*247a80fdSFarouk Bouabid        fan@18 {
54*247a80fdSFarouk Bouabid            compatible = "ti,amc6821";
55*247a80fdSFarouk Bouabid            reg = <0x18>;
56*247a80fdSFarouk Bouabid        };
57*247a80fdSFarouk Bouabid    };
58*247a80fdSFarouk Bouabid
59*247a80fdSFarouk Bouabid  - |
60*247a80fdSFarouk Bouabid    i2c {
61*247a80fdSFarouk Bouabid        #address-cells = <1>;
62*247a80fdSFarouk Bouabid        #size-cells = <0>;
63*247a80fdSFarouk Bouabid
64*247a80fdSFarouk Bouabid        fan@18 {
65*247a80fdSFarouk Bouabid            compatible = "tsd,mule", "ti,amc6821";
66*247a80fdSFarouk Bouabid            reg = <0x18>;
67*247a80fdSFarouk Bouabid
68*247a80fdSFarouk Bouabid            i2c-mux {
69*247a80fdSFarouk Bouabid                compatible = "tsd,mule-i2c-mux";
70*247a80fdSFarouk Bouabid                #address-cells = <1>;
71*247a80fdSFarouk Bouabid                #size-cells = <0>;
72*247a80fdSFarouk Bouabid
73*247a80fdSFarouk Bouabid                i2c@0 {
74*247a80fdSFarouk Bouabid                    reg = <0x0>;
75*247a80fdSFarouk Bouabid                    #address-cells = <1>;
76*247a80fdSFarouk Bouabid                    #size-cells = <0>;
77*247a80fdSFarouk Bouabid
78*247a80fdSFarouk Bouabid                    rtc@6f {
79*247a80fdSFarouk Bouabid                        compatible = "isil,isl1208";
80*247a80fdSFarouk Bouabid                        reg = <0x6f>;
81*247a80fdSFarouk Bouabid                    };
82*247a80fdSFarouk Bouabid                };
83*247a80fdSFarouk Bouabid            };
84*247a80fdSFarouk Bouabid        };
85*247a80fdSFarouk Bouabid    };
86*247a80fdSFarouk Bouabid...
87