diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2017-01-02 01:16:41 -0600 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-01-03 17:47:51 +0000 |
commit | e20165d7bb003637513fe485de2d259e4f2895ce (patch) | |
tree | 9c8e536ffe9140359bb705df4ac901e36b641ecd /src/soc/intel/baytrail | |
parent | 93572c573a9ba09b0f6c5072021d67d682e8c3bf (diff) |
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 <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/71199
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/soc/intel/baytrail')
-rw-r--r-- | src/soc/intel/baytrail/acpi/lpss.asl | 14 |
1 files changed, 14 insertions, 0 deletions
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) { |