Commit 5896756a authored by Richard Leitner's avatar Richard Leitner Committed by Dmitry Torokhov

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: default avatarRichard Leitner <richard.leitner@skidata.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent c3a39380
* Semtech SX8654 I2C Touchscreen Controller * Semtech SX8654 I2C Touchscreen Controller
Required properties: Required properties:
- compatible: must be "semtech,sx8654" - compatible: must be one of the following, depending on the model:
"semtech,sx8654"
"semtech,sx8655"
"semtech,sx8656"
- reg: i2c slave address - reg: i2c slave address
- interrupts: touch controller interrupt - interrupts: touch controller interrupt
......
...@@ -291,6 +291,8 @@ static int sx8654_probe(struct i2c_client *client, ...@@ -291,6 +291,8 @@ static int sx8654_probe(struct i2c_client *client,
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id sx8654_of_match[] = { static const struct of_device_id sx8654_of_match[] = {
{ .compatible = "semtech,sx8654", }, { .compatible = "semtech,sx8654", },
{ .compatible = "semtech,sx8655", },
{ .compatible = "semtech,sx8656", },
{ }, { },
}; };
MODULE_DEVICE_TABLE(of, sx8654_of_match); MODULE_DEVICE_TABLE(of, sx8654_of_match);
...@@ -298,6 +300,8 @@ 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[] = { static const struct i2c_device_id sx8654_id_table[] = {
{ "semtech_sx8654", 0 }, { "semtech_sx8654", 0 },
{ "semtech_sx8655", 0 },
{ "semtech_sx8656", 0 },
{ }, { },
}; };
MODULE_DEVICE_TABLE(i2c, sx8654_id_table); MODULE_DEVICE_TABLE(i2c, sx8654_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment