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/microchip,lan966x.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Microchip LAN966x Hardware Monitor
0008 
0009 maintainers:
0010   - Michael Walle <michael@walle.cc>
0011 
0012 description: |
0013   Microchip LAN966x temperature monitor and fan controller
0014 
0015 properties:
0016   compatible:
0017     enum:
0018       - microchip,lan9668-hwmon
0019 
0020   reg:
0021     items:
0022       - description: PVT registers
0023       - description: FAN registers
0024 
0025   reg-names:
0026     items:
0027       - const: pvt
0028       - const: fan
0029 
0030   clocks:
0031     maxItems: 1
0032 
0033   '#thermal-sensor-cells':
0034     const: 0
0035 
0036 required:
0037   - compatible
0038   - reg
0039   - reg-names
0040   - clocks
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     hwmon: hwmon@e2010180 {
0047         compatible = "microchip,lan9668-hwmon";
0048         reg = <0xe2010180 0xc>,
0049               <0xe20042a8 0xc>;
0050         reg-names = "pvt", "fan";
0051         clocks = <&sys_clk>;
0052         #thermal-sensor-cells = <0>;
0053     };