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>
This commit is contained in:
parent
93572c573a
commit
e20165d7bb
|
@ -94,6 +94,8 @@ Device (I2C1)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S1EN == 1) {
|
If (\S1EN == 1) {
|
||||||
|
@ -153,6 +155,8 @@ Device (I2C2)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S2EN == 1) {
|
If (\S2EN == 1) {
|
||||||
|
@ -205,6 +209,8 @@ Device (I2C3)
|
||||||
FixedDMA (0x15, 0x5, Width32Bit, )
|
FixedDMA (0x15, 0x5, Width32Bit, )
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_CRS)
|
Method (_CRS)
|
||||||
{
|
{
|
||||||
CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
|
CreateDwordField (^RBUF, ^BAR0._BAS, RBAS)
|
||||||
|
@ -271,6 +277,8 @@ Device (I2C4)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S4EN == 1) {
|
If (\S4EN == 1) {
|
||||||
|
@ -330,6 +338,8 @@ Device (I2C5)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S5EN == 1) {
|
If (\S5EN == 1) {
|
||||||
|
@ -389,6 +399,8 @@ Device (I2C6)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S6EN == 1) {
|
If (\S6EN == 1) {
|
||||||
|
@ -448,6 +460,8 @@ Device (I2C7)
|
||||||
Return (^RBUF)
|
Return (^RBUF)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Method (_HRV, 0, NotSerialized) { Return (0x06) }
|
||||||
|
|
||||||
Method (_STA)
|
Method (_STA)
|
||||||
{
|
{
|
||||||
If (\S7EN == 1) {
|
If (\S7EN == 1) {
|
||||||
|
|
Loading…
Reference in New Issue