mbox series

[v2,0/3] hwmon: (it87) Separate temperature type to separate funtion and detect AMDTSI

Message ID 20230707123005.956415-1-frank@crawford.emu.id.au (mailing list archive)
Headers show
Series hwmon: (it87) Separate temperature type to separate funtion and detect AMDTSI | expand

Message

Frank Crawford July 7, 2023, 12:29 p.m. UTC
The temperature sensor type needs to be used in multiple places, so
split it out into its own function.  It is used both in show_temp_type
attribute and testing if the attribute should be visible (i.e. is
defined).

The sensor type also detects the type AMDTSI on certain chipsets.

---

Changes since v1:
 * Split single patch into multi-patch set following review.

Frank Crawford (3):
  Split temperature sensor detection to separate function
  Improve temperature reporting support
  Add support to detect sensor type AMDTSI

 drivers/hwmon/it87.c | 78 ++++++++++++++++++++++++++++++++++++--------
 1 file changed, 65 insertions(+), 13 deletions(-)