sbtsi_temp.rst 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. .. SPDX-License-Identifier: GPL-2.0-or-later
  2. Kernel driver sbtsi_temp
  3. ========================
  4. Supported hardware:
  5. * Sideband interface (SBI) Temperature Sensor Interface (SB-TSI)
  6. compliant AMD SoC temperature device.
  7. Prefix: 'sbtsi_temp'
  8. Addresses scanned: This driver doesn't support address scanning.
  9. To instantiate this driver on an AMD CPU with SB-TSI
  10. support, the i2c bus number would be the bus connected from the board
  11. management controller (BMC) to the CPU. The i2c address is specified in
  12. Section 6.3.1 of the SoC register reference: The SB-TSI address is normally
  13. 98h for socket 0 and 90h for socket 1, but it could vary based on hardware
  14. address select pins.
  15. Datasheet: The SB-TSI interface and protocol is available as part of
  16. the open source SoC register reference at:
  17. https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf
  18. The Advanced Platform Management Link (APML) Specification is
  19. available at:
  20. http://developer.amd.com/wordpress/media/2012/10/41918.pdf
  21. Author: Kun Yi <kunyi@google.com>
  22. Description
  23. -----------
  24. The SBI temperature sensor interface (SB-TSI) is an emulation of the software
  25. and physical interface of a typical 8-pin remote temperature sensor (RTS) on
  26. AMD SoCs. It implements one temperature sensor with readings and limit
  27. registers encode the temperature in increments of 0.125 from 0 to 255.875.
  28. Limits can be set through the writable thresholds, and if reached will trigger
  29. corresponding alert signals.