From dd2e8c35fb368316b51d969d046696a017f09d25 Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Thu, 24 Apr 2014 02:58:11 +1000 Subject: superio/fintek/f71869ad: Configure multi-func reg in devicetree MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Facilitate for the configuration of so called "Multi-function Select Registers" with devicetree.cb in ramstage. Make use of this new functionality in, mainboard/jetway/nf81-t56n-lf to correctly configure the Fintek's multiplexed GPIO pins to be in AMD TSI mode. This allows the Fintek to correctly talk to the Southbridge over the SMBus for CPU temperature data as to control fans and so on. Change-Id: I80abcd8b767fc4b22d00d1384ce4ef89fe837e3d Signed-off-by: Edward O'Callaghan Reviewed-on: http://review.coreboot.org/5576 Reviewed-by: Kyösti Mälkki Tested-by: build bot (Jenkins) --- src/superio/fintek/f71869ad/superio.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/superio/fintek/f71869ad/superio.c') diff --git a/src/superio/fintek/f71869ad/superio.c b/src/superio/fintek/f71869ad/superio.c index 11ad6f8601..770a7125ba 100644 --- a/src/superio/fintek/f71869ad/superio.c +++ b/src/superio/fintek/f71869ad/superio.c @@ -25,6 +25,7 @@ #include #include +#include "fintek_internal.h" #include "chip.h" #include "f71869ad.h" @@ -40,6 +41,9 @@ static void f71869ad_init(device_t dev) case F71869AD_KBC: pc_keyboard_init(&conf->keyboard); break; + case F71869AD_HWM: + f71869ad_multifunc_init(dev); + break; } } -- cgit v1.2.3