Pan Sheng-Liang has uploaded this change for review. ( https://review.coreboot.org/21200
Change subject: google/Bruce: Add Raydium touch screen support ......................................................................
google/Bruce: Add Raydium touch screen support
Current coreboot does not create ACPI device for OS to recognize Raydium touchscreen.
List the touch screen in the devicetree so that the correct ACPI device are created.
BUG=b:64705535 BRANCH=master TEST=emerge-coral coreboot
Change-Id: Ifb63f3a7f6c7f2fd1ccb17204dcda73a2ade495c --- M src/mainboard/google/reef/variants/baseboard/devicetree.cb 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/21200/1
diff --git a/src/mainboard/google/reef/variants/baseboard/devicetree.cb b/src/mainboard/google/reef/variants/baseboard/devicetree.cb index d5f546c..cd2250e 100644 --- a/src/mainboard/google/reef/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/reef/variants/baseboard/devicetree.cb @@ -187,6 +187,18 @@ register "enable_delay_ms" = "1" register "has_power_resource" = "1" device i2c 10 on end + end + chip drivers/i2c/generic + register "hid" = ""RAYD0001"" + register "desc" = ""Raydium Touchscreen"" + register "irq" = "ACPI_IRQ_EDGE_LOW(GPIO_21_IRQ)" + register "probed" = "1" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_36)" + register "reset_delay_ms" = "20" + register "enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPIO_152)" + register "enable_delay_ms" = "1" + register "has_power_resource" = "1" + device i2c 39 on end end end # - I2C 3 device pci 17.0 on