mb/google/nissa/var/craask: Add focaltech touchscreen support
This change adds the necessary configuration for the focaltech touchscreen (FTSC1000) device, connected to I2C bus 38. It includes settings for: * HID descriptor * Device description * IRQ configuration * Detection * Reset and enable GPIOs with their respective delays * Power resource handling * HID descriptor register offset Datasheet: FT8112_Data_Sheet_V0.2_HKC20240415.pdf BUG=b:429335394 TEST=emerge-nissa coreboot and focaltech touchscreen can work well. Change-Id: Ic1c4bea599db23d5bc760bb7a54a2581cb293ce3 Signed-off-by: David Wu <david_wu@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88284 Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
b3d7c40fb5
commit
03c331399c
1 changed files with 17 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ fw_config
|
|||
option TS_UNPROVISIONED 0
|
||||
option TS_GTCH7503 1
|
||||
option TS_ILTK0001 2
|
||||
option TS_FTSC1000 3
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -412,6 +413,22 @@ chip soc/intel/alderlake
|
|||
probe TS_SOURCE TS_ILTK0001
|
||||
end
|
||||
end
|
||||
chip drivers/i2c/hid
|
||||
register "generic.hid" = ""FTSC1000""
|
||||
register "generic.desc" = ""Focal Touchscreen""
|
||||
register "generic.irq" = "ACPI_IRQ_LEVEL_LOW(GPP_C7_IRQ)"
|
||||
register "generic.detect" = "1"
|
||||
register "generic.reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_C1)"
|
||||
register "generic.reset_delay_ms" = "20"
|
||||
register "generic.enable_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_C0)"
|
||||
register "generic.enable_delay_ms" = "6"
|
||||
register "generic.has_power_resource" = "1"
|
||||
register "generic.use_gpio_for_status" = "true"
|
||||
register "hid_desc_reg_offset" = "0x01"
|
||||
device i2c 38 on
|
||||
probe TS_SOURCE TS_FTSC1000
|
||||
end
|
||||
end
|
||||
end
|
||||
device ref i2c2 on
|
||||
chip drivers/intel/mipi_camera
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue