aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/sx8654.txt5
-rw-r--r--drivers/input/touchscreen/sx8654.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt b/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
index ca521d8f7d65..a538678424dd 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt
@@ -1,7 +1,10 @@
1* Semtech SX8654 I2C Touchscreen Controller 1* Semtech SX8654 I2C Touchscreen Controller
2 2
3Required properties: 3Required properties:
4- compatible: must be "semtech,sx8654" 4- compatible: must be one of the following, depending on the model:
5 "semtech,sx8654"
6 "semtech,sx8655"
7 "semtech,sx8656"
5- reg: i2c slave address 8- reg: i2c slave address
6- interrupts: touch controller interrupt 9- interrupts: touch controller interrupt
7 10
diff --git a/drivers/input/touchscreen/sx8654.c b/drivers/input/touchscreen/sx8654.c
index ab5cbf7e0879..9e1777ed93a7 100644
--- a/drivers/input/touchscreen/sx8654.c
+++ b/drivers/input/touchscreen/sx8654.c
@@ -291,6 +291,8 @@ static int sx8654_probe(struct i2c_client *client,
291#ifdef CONFIG_OF 291#ifdef CONFIG_OF
292static const struct of_device_id sx8654_of_match[] = { 292static const struct of_device_id sx8654_of_match[] = {
293 { .compatible = "semtech,sx8654", }, 293 { .compatible = "semtech,sx8654", },
294 { .compatible = "semtech,sx8655", },
295 { .compatible = "semtech,sx8656", },
294 { }, 296 { },
295}; 297};
296MODULE_DEVICE_TABLE(of, sx8654_of_match); 298MODULE_DEVICE_TABLE(of, sx8654_of_match);
@@ -298,6 +300,8 @@ MODULE_DEVICE_TABLE(of, sx8654_of_match);
298 300
299static const struct i2c_device_id sx8654_id_table[] = { 301static const struct i2c_device_id sx8654_id_table[] = {
300 { "semtech_sx8654", 0 }, 302 { "semtech_sx8654", 0 },
303 { "semtech_sx8655", 0 },
304 { "semtech_sx8656", 0 },
301 { }, 305 { },
302}; 306};
303MODULE_DEVICE_TABLE(i2c, sx8654_id_table); 307MODULE_DEVICE_TABLE(i2c, sx8654_id_table);