mbox series

[v3,0/2] Input: add ft5426

Message ID 20240501204758.758537-1-andreas@kemnade.info
Headers show
Series Input: add ft5426 | expand

Message

Andreas Kemnade May 1, 2024, 8:47 p.m. UTC
Changes in v3:
- reorder compatible also in driver

Changes in v2:
- reorder compatible

Andreas Kemnade (2):
  dt-bindings: input: touchscreen: edt-ft5x06: Add ft5426
  Input: edt-ft5x06 - add ft5426

 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml        | 1 +
 drivers/input/touchscreen/edt-ft5x06.c                           | 1 +
 2 files changed, 2 insertions(+)

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>