diff mbox series

[v3,2/2] Input: edt-ft5x06 - add ft5426

Message ID 20240501204758.758537-3-andreas@kemnade.info
State Accepted
Commit 0ca1323c6aba8fd9309ca33a4bf57c1c9fc06171
Headers show
Series Input: add ft5426 | expand

Commit Message

Andreas Kemnade May 1, 2024, 8:47 p.m. UTC
As ft5426 seems to be compatible with this driver, add it.
Debug output during identification: Model "generic ft5x06 (79)", Rev. "

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
 drivers/input/touchscreen/edt-ft5x06.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Oliver Graute May 2, 2024, 8:42 a.m. UTC | #1
On 01/05/24, Andreas Kemnade wrote:
> As ft5426 seems to be compatible with this driver, add it.
> Debug output during identification: Model "generic ft5x06 (79)", Rev. "
> 
> Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
> ---
>  drivers/input/touchscreen/edt-ft5x06.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
> index 2a1db11344766..028ec66faa193 100644
> --- a/drivers/input/touchscreen/edt-ft5x06.c
> +++ b/drivers/input/touchscreen/edt-ft5x06.c
> @@ -1486,6 +1486,7 @@ static const struct of_device_id edt_ft5x06_of_match[] = {
>  	{ .compatible = "edt,edt-ft5406", .data = &edt_ft5x06_data },
>  	{ .compatible = "edt,edt-ft5506", .data = &edt_ft5506_data },
>  	{ .compatible = "evervision,ev-ft5726", .data = &edt_ft5506_data },
> +	{ .compatible = "focaltech,ft5426", .data = &edt_ft5506_data },
>  	/* Note focaltech vendor prefix for compatibility with ft6236.c */
>  	{ .compatible = "focaltech,ft6236", .data = &edt_ft6236_data },
>  	{ /* sentinel */ }
> -- 
> 2.39.2

Reviewed-by: Oliver Graute <oliver.graute@kococonnector.com>
diff mbox series

Patch

diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 2a1db11344766..028ec66faa193 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -1486,6 +1486,7 @@  static const struct of_device_id edt_ft5x06_of_match[] = {
 	{ .compatible = "edt,edt-ft5406", .data = &edt_ft5x06_data },
 	{ .compatible = "edt,edt-ft5506", .data = &edt_ft5506_data },
 	{ .compatible = "evervision,ev-ft5726", .data = &edt_ft5506_data },
+	{ .compatible = "focaltech,ft5426", .data = &edt_ft5506_data },
 	/* Note focaltech vendor prefix for compatibility with ft6236.c */
 	{ .compatible = "focaltech,ft6236", .data = &edt_ft6236_data },
 	{ /* sentinel */ }