xref: /freebsd/sys/contrib/device-tree/Bindings/hwmon/amd,sbtsi.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: >
85def4c47SEmmanuel Vadot  Sideband interface Temperature Sensor Interface (SB-TSI) compliant
95def4c47SEmmanuel Vadot  AMD SoC temperature device
105def4c47SEmmanuel Vadot
115def4c47SEmmanuel Vadotmaintainers:
125def4c47SEmmanuel Vadot  - Kun Yi <kunyi@google.com>
135def4c47SEmmanuel Vadot  - Supreeth Venkatesh <supreeth.venkatesh@amd.com>
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotdescription: |
165def4c47SEmmanuel Vadot  SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible
175def4c47SEmmanuel Vadot  interface that reports AMD SoC's Ttcl (normalized temperature),
185def4c47SEmmanuel Vadot  and resembles a typical 8-pin remote temperature sensor's I2C interface
195def4c47SEmmanuel Vadot  to BMC. The emulated thermal sensor can report temperatures in increments
205def4c47SEmmanuel Vadot  of 0.125 degrees, ranging from 0 to 255.875.
215def4c47SEmmanuel Vadot
225def4c47SEmmanuel Vadotproperties:
235def4c47SEmmanuel Vadot  compatible:
245def4c47SEmmanuel Vadot    enum:
255def4c47SEmmanuel Vadot      - amd,sbtsi
265def4c47SEmmanuel Vadot
275def4c47SEmmanuel Vadot  reg:
285def4c47SEmmanuel Vadot    maxItems: 1
295def4c47SEmmanuel Vadot    description: |
305def4c47SEmmanuel Vadot      I2C bus address of the device as specified in Section 6.3.1 of the
315def4c47SEmmanuel Vadot      SoC register reference. The SB-TSI address is normally 98h for socket
325def4c47SEmmanuel Vadot      0 and 90h for socket 1, but it could vary based on hardware address
335def4c47SEmmanuel Vadot      select pins.
345def4c47SEmmanuel Vadot      \[open source SoC register reference\]
355def4c47SEmmanuel Vadot        https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel Vadotrequired:
385def4c47SEmmanuel Vadot  - compatible
395def4c47SEmmanuel Vadot  - reg
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel VadotadditionalProperties: false
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadotexamples:
445def4c47SEmmanuel Vadot  - |
45*cb7aa33aSEmmanuel Vadot    i2c {
465def4c47SEmmanuel Vadot        #address-cells = <1>;
475def4c47SEmmanuel Vadot        #size-cells = <0>;
485def4c47SEmmanuel Vadot
495def4c47SEmmanuel Vadot        sbtsi@4c {
505def4c47SEmmanuel Vadot            compatible = "amd,sbtsi";
515def4c47SEmmanuel Vadot            reg = <0x4c>;
525def4c47SEmmanuel Vadot        };
535def4c47SEmmanuel Vadot    };
545def4c47SEmmanuel Vadot...
55