From 73edd2b7c07fb8ad5455086f126c079734a904b7 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 9 Nov 2016 10:52:12 -0800 Subject: drivers/i2c/wacom: Make the driver more generic Wacom I2C driver can be used by devices other than touchscreen. e.g. digitizer. So there is no need to name the driver with touchscreen specific attributes. Only a separate descriptor name is required that needs to be set by mainboard correctly. BUG=chrome-os-partner:56246 BRANCH=None TEST=Compiles successfully. Change-Id: I0d32a4adae477373b3f4c5f3abbe188860701194 Signed-off-by: Furquan Shaikh Reviewed-on: https://review.coreboot.org/17341 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth Reviewed-by: Aaron Durbin Reviewed-by: Paul Menzel --- src/mainboard/google/reef/Kconfig | 2 +- src/mainboard/google/reef/variants/pyro/devicetree.cb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/reef/Kconfig b/src/mainboard/google/reef/Kconfig index edfdb7b647..4e32b8614f 100644 --- a/src/mainboard/google/reef/Kconfig +++ b/src/mainboard/google/reef/Kconfig @@ -42,7 +42,7 @@ config DRIVERS_I2C_DA7219 config DRIVERS_I2C_GENERIC default y -config DRIVERS_I2C_WACOM_TS +config DRIVERS_I2C_WACOM default y config DRIVERS_PS2_KEYBOARD diff --git a/src/mainboard/google/reef/variants/pyro/devicetree.cb b/src/mainboard/google/reef/variants/pyro/devicetree.cb index da893b1d36..d5745b4be7 100644 --- a/src/mainboard/google/reef/variants/pyro/devicetree.cb +++ b/src/mainboard/google/reef/variants/pyro/devicetree.cb @@ -180,7 +180,7 @@ chip soc/intel/apollolake end end # - I2C 2 device pci 16.3 on - chip drivers/i2c/wacom_ts + chip drivers/i2c/wacom register "generic" = "{ .hid = WCOMNTN2_HID, .cid = PNP0C50_CID, -- cgit v1.2.3