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/amd,sbtsi.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: >
0008   Sideband interface Temperature Sensor Interface (SB-TSI) compliant
0009   AMD SoC temperature device
0010 
0011 maintainers:
0012   - Kun Yi <kunyi@google.com>
0013   - Supreeth Venkatesh <supreeth.venkatesh@amd.com>
0014 
0015 description: |
0016   SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible
0017   interface that reports AMD SoC's Ttcl (normalized temperature),
0018   and resembles a typical 8-pin remote temperature sensor's I2C interface
0019   to BMC. The emulated thermal sensor can report temperatures in increments
0020   of 0.125 degrees, ranging from 0 to 255.875.
0021 
0022 properties:
0023   compatible:
0024     enum:
0025       - amd,sbtsi
0026 
0027   reg:
0028     maxItems: 1
0029     description: |
0030       I2C bus address of the device as specified in Section 6.3.1 of the
0031       SoC register reference. The SB-TSI address is normally 98h for socket
0032       0 and 90h for socket 1, but it could vary based on hardware address
0033       select pins.
0034       \[open source SoC register reference\]
0035         https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf
0036 
0037 required:
0038   - compatible
0039   - reg
0040 
0041 additionalProperties: false
0042 
0043 examples:
0044   - |
0045     i2c0 {
0046         #address-cells = <1>;
0047         #size-cells = <0>;
0048 
0049         sbtsi@4c {
0050                 compatible = "amd,sbtsi";
0051                 reg = <0x4c>;
0052         };
0053     };
0054 ...