From e20165d7bb003637513fe485de2d259e4f2895ce Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Mon, 2 Jan 2017 01:16:41 -0600 Subject: soc/intel/baytrail: add _HRV to I2C ACPI devices For some reason, the Windows i2c drivers won't attach without _HRV (hardware version) defined for the i2c controllers. Add it, using value taken from Intel baytrail/valleyview edk2 reference code. TEST=boot Windows 10/11 on google/rambi, verify i2c drivers load properly. Change-Id: I590acd1f1b75f6bf2bf278e67eec1dcc24bcc15d Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/71199 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/baytrail/acpi/lpss.asl | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/soc/intel/baytrail') diff --git a/src/soc/intel/baytrail/acpi/lpss.asl b/src/soc/intel/baytrail/acpi/lpss.asl index 113d5c0d2f..b8e2d96944 100644 --- a/src/soc/intel/baytrail/acpi/lpss.asl +++ b/src/soc/intel/baytrail/acpi/lpss.asl @@ -94,6 +94,8 @@ Device (I2C1) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S1EN == 1) { @@ -153,6 +155,8 @@ Device (I2C2) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S2EN == 1) { @@ -205,6 +209,8 @@ Device (I2C3) FixedDMA (0x15, 0x5, Width32Bit, ) }) + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_CRS) { CreateDwordField (^RBUF, ^BAR0._BAS, RBAS) @@ -271,6 +277,8 @@ Device (I2C4) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S4EN == 1) { @@ -330,6 +338,8 @@ Device (I2C5) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S5EN == 1) { @@ -389,6 +399,8 @@ Device (I2C6) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S6EN == 1) { @@ -448,6 +460,8 @@ Device (I2C7) Return (^RBUF) } + Method (_HRV, 0, NotSerialized) { Return (0x06) } + Method (_STA) { If (\S7EN == 1) { -- cgit v1.2.3