summaryrefslogtreecommitdiff
path: root/src/drivers/i2c/hid/Makefile.inc
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-12-13 16:43:40 -0800
committerDuncan Laurie <dlaurie@chromium.org>2016-12-16 01:38:26 +0100
commita12fc81fef6a68b05fa9cddada3023bd84129532 (patch)
treea13560f768ca8a5a34df67b915311e0cf25ed45e /src/drivers/i2c/hid/Makefile.inc
parentbd10516643893f0f0904109519220d65413285b5 (diff)
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 <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/17856 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/drivers/i2c/hid/Makefile.inc')
-rw-r--r--src/drivers/i2c/hid/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
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