From 6d6a2ac0559a324603d1c323239e2e6e6e58af77 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Fri, 12 Jul 2013 14:35:00 +0200 Subject: ec/kontron/it8516e: Add option for external temperature sensor The IT8516E firmware of Kontron supports some selected external sensors attached to the EC via SMBUS or GPIO16. Change-Id: I4c451c360a393e916430e3bea04a95847455cef7 Signed-off-by: Nico Huber Reviewed-on: http://review.coreboot.org/3772 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/ec/kontron/it8516e/ec.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/ec/kontron/it8516e/ec.h') diff --git a/src/ec/kontron/it8516e/ec.h b/src/ec/kontron/it8516e/ec.h index 5bd2801e20..b1930e1aad 100644 --- a/src/ec/kontron/it8516e/ec.h +++ b/src/ec/kontron/it8516e/ec.h @@ -40,4 +40,15 @@ enum it8516e_fan_modes { /* Possible modes of fan control */ IT8516E_MODE_THERMAL = 0x03, }; +enum it8516e_systemp_types { /* Possible sources of system temperature */ + IT8516E_SYSTEMP_NONE = 0x00, + IT8516E_SYSTEMP_AMD = 0x01, + IT8516E_SYSTEMP_LM75_90 = 0x02, + IT8516E_SYSTEMP_GPIO16 = 0x03, + IT8516E_SYSTEMP_LM75_9e = 0x04, + + /* add any new types above this line. */ + IT8516E_SYSTEMP_LASTPLUSONE, +}; + #endif -- cgit v1.2.3