WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / hwmon / moortec,mr75203.yaml
blobb79f069a04c2ad17462c0d8bff173ebbb54e8dba
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/hwmon/moortec,mr75203.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Moortec Semiconductor MR75203 PVT Controller bindings
9 maintainers:
10   - Rahul Tanwar <rtanwar@maxlinear.com>
12 properties:
13   compatible:
14     const: moortec,mr75203
16   reg:
17     items:
18       - description: PVT common registers
19       - description: PVT temprature sensor registers
20       - description: PVT process detector registers
21       - description: PVT voltage monitor registers
23   reg-names:
24     items:
25       - const: common
26       - const: ts
27       - const: pd
28       - const: vm
30   intel,vm-map:
31     description:
32       PVT controller has 5 VM (voltage monitor) sensors.
33       vm-map defines CPU core to VM instance mapping. A
34       value of 0xff means that VM sensor is unused.
35     $ref: /schemas/types.yaml#/definitions/uint8-array
36     maxItems: 5
38   clocks:
39     maxItems: 1
41   resets:
42     maxItems: 1
44   "#thermal-sensor-cells":
45     const: 1
47 required:
48   - compatible
49   - reg
50   - reg-names
51   - intel,vm-map
52   - clocks
53   - resets
54   - "#thermal-sensor-cells"
56 additionalProperties: false
58 examples:
59   - |
60     pvt: pvt@e0680000 {
61         compatible = "moortec,mr75203";
62         reg = <0xe0680000 0x80>,
63               <0xe0680080 0x180>,
64               <0xe0680200 0x200>,
65               <0xe0680400 0xc00>;
66         reg-names = "common", "ts", "pd", "vm";
67         intel,vm-map = [03 01 04 ff ff];
68         clocks = <&osc0>;
69         resets = <&rcu0 0x40 7>;
70         #thermal-sensor-cells = <1>;
71     };