xref: /linux/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml (revision 9a87ffc99ec8eb8d35eed7c4f816d75f5cc9662e)
11a033769SKun Yi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
21a033769SKun Yi%YAML 1.2
31a033769SKun Yi---
41a033769SKun Yi$id: http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml#
51a033769SKun Yi$schema: http://devicetree.org/meta-schemas/core.yaml#
61a033769SKun Yi
71a033769SKun Yititle: >
81a033769SKun Yi  Sideband interface Temperature Sensor Interface (SB-TSI) compliant
91a033769SKun Yi  AMD SoC temperature device
101a033769SKun Yi
111a033769SKun Yimaintainers:
121a033769SKun Yi  - Kun Yi <kunyi@google.com>
131a033769SKun Yi  - Supreeth Venkatesh <supreeth.venkatesh@amd.com>
141a033769SKun Yi
151a033769SKun Yidescription: |
161a033769SKun Yi  SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible
171a033769SKun Yi  interface that reports AMD SoC's Ttcl (normalized temperature),
181a033769SKun Yi  and resembles a typical 8-pin remote temperature sensor's I2C interface
191a033769SKun Yi  to BMC. The emulated thermal sensor can report temperatures in increments
201a033769SKun Yi  of 0.125 degrees, ranging from 0 to 255.875.
211a033769SKun Yi
221a033769SKun Yiproperties:
231a033769SKun Yi  compatible:
241a033769SKun Yi    enum:
251a033769SKun Yi      - amd,sbtsi
261a033769SKun Yi
271a033769SKun Yi  reg:
281a033769SKun Yi    maxItems: 1
291a033769SKun Yi    description: |
301a033769SKun Yi      I2C bus address of the device as specified in Section 6.3.1 of the
311a033769SKun Yi      SoC register reference. The SB-TSI address is normally 98h for socket
321a033769SKun Yi      0 and 90h for socket 1, but it could vary based on hardware address
331a033769SKun Yi      select pins.
341a033769SKun Yi      \[open source SoC register reference\]
351a033769SKun Yi        https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf
361a033769SKun Yi
371a033769SKun Yirequired:
381a033769SKun Yi  - compatible
391a033769SKun Yi  - reg
401a033769SKun Yi
411a033769SKun YiadditionalProperties: false
421a033769SKun Yi
431a033769SKun Yiexamples:
441a033769SKun Yi  - |
45*08be4233SKrzysztof Kozlowski    i2c {
461a033769SKun Yi        #address-cells = <1>;
471a033769SKun Yi        #size-cells = <0>;
481a033769SKun Yi
491a033769SKun Yi        sbtsi@4c {
501a033769SKun Yi            compatible = "amd,sbtsi";
511a033769SKun Yi            reg = <0x4c>;
521a033769SKun Yi        };
531a033769SKun Yi    };
541a033769SKun Yi...
55