Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/hwmon/moortec,mr75203.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Moortec Semiconductor MR75203 PVT Controller bindings
0008 
0009 maintainers:
0010   - Rahul Tanwar <rtanwar@maxlinear.com>
0011 
0012 properties:
0013   compatible:
0014     const: moortec,mr75203
0015 
0016   reg:
0017     items:
0018       - description: PVT common registers
0019       - description: PVT temprature sensor registers
0020       - description: PVT process detector registers
0021       - description: PVT voltage monitor registers
0022 
0023   reg-names:
0024     items:
0025       - const: common
0026       - const: ts
0027       - const: pd
0028       - const: vm
0029 
0030   intel,vm-map:
0031     description:
0032       PVT controller has 5 VM (voltage monitor) sensors.
0033       vm-map defines CPU core to VM instance mapping. A
0034       value of 0xff means that VM sensor is unused.
0035     $ref: /schemas/types.yaml#/definitions/uint8-array
0036     maxItems: 5
0037 
0038   clocks:
0039     maxItems: 1
0040 
0041   resets:
0042     maxItems: 1
0043 
0044   "#thermal-sensor-cells":
0045     const: 1
0046 
0047 required:
0048   - compatible
0049   - reg
0050   - reg-names
0051   - clocks
0052   - resets
0053   - "#thermal-sensor-cells"
0054 
0055 additionalProperties: false
0056 
0057 examples:
0058   - |
0059     pvt: pvt@e0680000 {
0060         compatible = "moortec,mr75203";
0061         reg = <0xe0680000 0x80>,
0062               <0xe0680080 0x180>,
0063               <0xe0680200 0x200>,
0064               <0xe0680400 0xc00>;
0065         reg-names = "common", "ts", "pd", "vm";
0066         intel,vm-map = [03 01 04 ff ff];
0067         clocks = <&osc0>;
0068         resets = <&rcu0 0x40 7>;
0069         #thermal-sensor-cells = <1>;
0070     };