mb/google/deltaur: Move the code under domain

Chip drivers not overrided if out of domain. Only device can get
override, so move the code under domain.

BUG=b:152924290,b:152931802
TEST=Touch screen and Touch pad can work well.

Signed-off-by: Eric Lai <ericr_lai@compal.corp-partner.google.com>
Change-Id: Iaaa73e36ec268d26ebd3cafab79179fe22a926a7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40655
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
Eric Lai 2020-04-23 17:14:33 +08:00 committed by Tim Wawrzynczak
parent 1a82923fd2
commit 780639b4ed
1 changed files with 31 additions and 32 deletions

View File

@ -7,8 +7,6 @@ chip soc/intel/tigerlake
device domain 0 on device domain 0 on
device pci 1f.6 on end # GbE 0x15FC device pci 1f.6 on end # GbE 0x15FC
end
device pci 15.0 on device pci 15.0 on
chip drivers/i2c/generic chip drivers/i2c/generic
register "hid" = ""MLFS0000"" register "hid" = ""MLFS0000""
@ -20,7 +18,8 @@ chip soc/intel/tigerlake
register "reset_off_delay_ms" = "5" register "reset_off_delay_ms" = "5"
register "stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B3)" register "stop_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_B3)"
register "stop_delay_ms" = "10" register "stop_delay_ms" = "10"
register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)" register "enable_gpio" =
"ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_B21)"
register "enable_delay_ms" = "55" register "enable_delay_ms" = "55"
register "has_power_resource" = "1" register "has_power_resource" = "1"
register "device_present_gpio" = "GPP_B4" register "device_present_gpio" = "GPP_B4"
@ -28,7 +27,6 @@ chip soc/intel/tigerlake
device i2c 34 on end device i2c 34 on end
end end
end # I2C #0 end # I2C #0
device pci 15.1 on device pci 15.1 on
chip drivers/i2c/hid chip drivers/i2c/hid
register "generic.hid" = ""PNP0C50"" register "generic.hid" = ""PNP0C50""
@ -41,3 +39,4 @@ chip soc/intel/tigerlake
end end
end # I2C #1 end # I2C #1
end end
end