From a12fc81fef6a68b05fa9cddada3023bd84129532 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Tue, 13 Dec 2016 16:43:40 -0800 Subject: drivers/i2c/hid: Add generic I2C HID driver Add a generic I2C-HID driver for these types of devices that do not need extra functionality. This allows a new device to be added without having to write a new driver. The i2c-hid PNP0C50 is automatically added as the _CID for the device in the ACPI Device. BUG=chrome-os-partner:58666 TEST=used on eve to describe a new i2c-hid touch controller Change-Id: I94e9531a72f9bf1d6b3ade362b88883b21b83d0a Signed-off-by: Duncan Laurie Reviewed-on: https://review.coreboot.org/17856 Reviewed-by: Aaron Durbin Tested-by: build bot (Jenkins) --- src/drivers/i2c/hid/Makefile.inc | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/drivers/i2c/hid/Makefile.inc (limited to 'src/drivers/i2c/hid/Makefile.inc') diff --git a/src/drivers/i2c/hid/Makefile.inc b/src/drivers/i2c/hid/Makefile.inc new file mode 100644 index 0000000000..12162acee0 --- /dev/null +++ b/src/drivers/i2c/hid/Makefile.inc @@ -0,0 +1 @@ +ramstage-$(CONFIG_DRIVERS_I2C_HID) += hid.c -- cgit v1.2.3