summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@chromium.org>2016-11-09 10:52:12 -0800
committerFurquan Shaikh <furquan@google.com>2016-11-10 20:40:06 +0100
commit73edd2b7c07fb8ad5455086f126c079734a904b7 (patch)
tree806718e89aa04e286cf99b107462fc72403a0a00 /src/mainboard/google
parent5a08fb2203125b719eeb14852f12aeba50798df4 (diff)
downloadcoreboot-73edd2b7c07fb8ad5455086f126c079734a904b7.tar.xz
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 <furquan@chromium.org> Reviewed-on: https://review.coreboot.org/17341 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/reef/Kconfig2
-rw-r--r--src/mainboard/google/reef/variants/pyro/devicetree.cb2
2 files changed, 2 insertions, 2 deletions
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,