summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/sx8654.c
diff options
context:
space:
mode:
authorRichard Leitner <richard.leitner@skidata.com>2019-01-29 01:54:04 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-01-29 03:27:28 +0300
commit5896756a70b2f1d476d5cf2e174c1675ff0d9e8b (patch)
treecf90337b8e69c7e6be06b1d46170b416b734b8f6 /drivers/input/touchscreen/sx8654.c
parentc3a39380a39df3750149a2f4699c1c241a0e6ea2 (diff)
downloadlinux-5896756a70b2f1d476d5cf2e174c1675ff0d9e8b.tar.xz
Input: sx8654 - add sx8655 and sx8656 to compatibles
As the sx865[456] share the same datasheet and differ only in the presence of a "capacitive proximity detection circuit" and a "haptics motor driver for LRA/ERM" add them to the compatbiles. As the driver doesn't implement these features it should be no problem. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/sx8654.c')
-rw-r--r--drivers/input/touchscreen/sx8654.c4
1 files changed, 4 insertions, 0 deletions
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,
#ifdef CONFIG_OF
static const struct of_device_id sx8654_of_match[] = {
{ .compatible = "semtech,sx8654", },
+ { .compatible = "semtech,sx8655", },
+ { .compatible = "semtech,sx8656", },
{ },
};
MODULE_DEVICE_TABLE(of, sx8654_of_match);
@@ -298,6 +300,8 @@ MODULE_DEVICE_TABLE(of, sx8654_of_match);
static const struct i2c_device_id sx8654_id_table[] = {
{ "semtech_sx8654", 0 },
+ { "semtech_sx8655", 0 },
+ { "semtech_sx8656", 0 },
{ },
};
MODULE_DEVICE_TABLE(i2c, sx8654_id_table);