lenovo/x60: Support digitizer on X60t and X201t.
Change-Id: I5b0399a8edca3b73aa7d515d2c446c31b3239fa5
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/5239
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
diff --git a/src/drivers/lenovo/Kconfig b/src/drivers/lenovo/Kconfig
new file mode 100644
index 0000000..30bacb9
--- /dev/null
+++ b/src/drivers/lenovo/Kconfig
@@ -0,0 +1,29 @@
+config DRIVERS_LENOVO_WACOM
+ bool
+ default n
+
+if DRIVERS_LENOVO_WACOM
+
+choice
+ prompt "Digitizer"
+ default DIGITIZER_AUTODETECT
+
+config DIGITIZER_AUTODETECT
+ bool "Autodetect"
+ help
+ The presence of digitizer is inferred from model number stored in
+ AT24RF chip.
+
+config DIGITIZER_PRESENT
+ bool "Present"
+ help
+ The digitizer is assumed to be present.
+
+config DIGITIZER_ABSENT
+ bool "Absent"
+ help
+ The digitizer is assumed to be absent.
+
+endchoice
+
+endif