linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719
@ 2024-05-21 14:02 Joel Selvaraj via B4 Relay
  2024-05-21 14:02 ` [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support Joel Selvaraj via B4 Relay
  2024-05-21 14:02 ` [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
  0 siblings, 2 replies; 6+ messages in thread
From: Joel Selvaraj via B4 Relay @ 2024-05-21 14:02 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-input, devicetree, linux-kernel, Joel Selvaraj

The driver is compatible with FocalTech FT5452 and FT8719 touchscreens 
too. FT5452 supports up to 5 touch points. FT8719 supports up to 10 touch
points. Add compatible data for both of them. Currently in mainline,
FT8719 touchscreen is present in Xiaomi Poco F1 (EBBG variant)[1] and 
FT5452 touchscreen is present in Shift6mq[2].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium-ebbg.dts?h=v6.9
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm64/boot/dts/qcom/sdm845-shift-axolotl.dts?h=v6.9

Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
---
Joel Selvaraj (2):
      dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support
      Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719

 .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml    |  2 ++
 drivers/input/touchscreen/edt-ft5x06.c                       | 12 ++++++++++++
 2 files changed, 14 insertions(+)
---
base-commit: 6595aff3307919c5866493ea994af4edd24582ab
change-id: 20240521-add-support-ft5452-and-ft8719-touchscreen-f823c74efaf1

Best regards,
-- 
Joel Selvaraj <joelselvaraj.oss@gmail.com>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support
  2024-05-21 14:02 [PATCH 0/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
@ 2024-05-21 14:02 ` Joel Selvaraj via B4 Relay
  2024-05-21 16:15   ` Krzysztof Kozlowski
  2024-05-22 17:36   ` Dmitry Torokhov
  2024-05-21 14:02 ` [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
  1 sibling, 2 replies; 6+ messages in thread
From: Joel Selvaraj via B4 Relay @ 2024-05-21 14:02 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-input, devicetree, linux-kernel, Joel Selvaraj

From: Joel Selvaraj <joelselvaraj.oss@gmail.com>

Document FocalTech FT5452 and FT8719 support by adding their compatibles.

Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
---
 Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
index f2808cb4d99df..745e57c05176e 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml
@@ -39,7 +39,9 @@ properties:
       - edt,edt-ft5406
       - edt,edt-ft5506
       - evervision,ev-ft5726
+      - focaltech,ft5452
       - focaltech,ft6236
+      - focaltech,ft8719
 
   reg:
     maxItems: 1

-- 
2.45.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719
  2024-05-21 14:02 [PATCH 0/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
  2024-05-21 14:02 ` [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support Joel Selvaraj via B4 Relay
@ 2024-05-21 14:02 ` Joel Selvaraj via B4 Relay
  2024-05-22 17:37   ` Dmitry Torokhov
  1 sibling, 1 reply; 6+ messages in thread
From: Joel Selvaraj via B4 Relay @ 2024-05-21 14:02 UTC (permalink / raw)
  To: Dmitry Torokhov, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-input, devicetree, linux-kernel, Joel Selvaraj

From: Joel Selvaraj <joelselvaraj.oss@gmail.com>

The driver is compatible with FocalTech FT5452 and FT8719 touchscreens
too. FT5452 supports up to 5 touch points. FT8719 supports up to 10 touch
points. Add compatible data for both of them.

Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
---
 drivers/input/touchscreen/edt-ft5x06.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c
index 2a1db11344766..06ec0f2e18ae3 100644
--- a/drivers/input/touchscreen/edt-ft5x06.c
+++ b/drivers/input/touchscreen/edt-ft5x06.c
@@ -1462,6 +1462,10 @@ static const struct edt_i2c_chip_data edt_ft5x06_data = {
 	.max_support_points = 5,
 };
 
+static const struct edt_i2c_chip_data edt_ft5452_data = {
+	.max_support_points = 5,
+};
+
 static const struct edt_i2c_chip_data edt_ft5506_data = {
 	.max_support_points = 10,
 };
@@ -1470,12 +1474,18 @@ static const struct edt_i2c_chip_data edt_ft6236_data = {
 	.max_support_points = 2,
 };
 
+static const struct edt_i2c_chip_data edt_ft8719_data = {
+	.max_support_points = 10,
+};
+
 static const struct i2c_device_id edt_ft5x06_ts_id[] = {
 	{ .name = "edt-ft5x06", .driver_data = (long)&edt_ft5x06_data },
 	{ .name = "edt-ft5506", .driver_data = (long)&edt_ft5506_data },
 	{ .name = "ev-ft5726", .driver_data = (long)&edt_ft5506_data },
+	{ .name = "ft5452", .driver_data = (long)&edt_ft5452_data },
 	/* Note no edt- prefix for compatibility with the ft6236.c driver */
 	{ .name = "ft6236", .driver_data = (long)&edt_ft6236_data },
+	{ .name = "ft8719", .driver_data = (long)&edt_ft8719_data },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(i2c, edt_ft5x06_ts_id);
@@ -1486,8 +1496,10 @@ 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,ft5452", .data = &edt_ft5452_data },
 	/* Note focaltech vendor prefix for compatibility with ft6236.c */
 	{ .compatible = "focaltech,ft6236", .data = &edt_ft6236_data },
+	{ .compatible = "focaltech,ft8719", .data = &edt_ft8719_data },
 	{ /* sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, edt_ft5x06_of_match);

-- 
2.45.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support
  2024-05-21 14:02 ` [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support Joel Selvaraj via B4 Relay
@ 2024-05-21 16:15   ` Krzysztof Kozlowski
  2024-05-22 17:36   ` Dmitry Torokhov
  1 sibling, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-21 16:15 UTC (permalink / raw)
  To: joelselvaraj.oss, Dmitry Torokhov, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-input, devicetree, linux-kernel

On 21/05/2024 16:02, Joel Selvaraj via B4 Relay wrote:
> From: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> 
> Document FocalTech FT5452 and FT8719 support by adding their compatibles.
> 
> Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> ---
>  Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support
  2024-05-21 14:02 ` [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support Joel Selvaraj via B4 Relay
  2024-05-21 16:15   ` Krzysztof Kozlowski
@ 2024-05-22 17:36   ` Dmitry Torokhov
  1 sibling, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2024-05-22 17:36 UTC (permalink / raw)
  To: joelselvaraj.oss
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-input,
	devicetree, linux-kernel

On Tue, May 21, 2024 at 09:02:57AM -0500, Joel Selvaraj via B4 Relay wrote:
> From: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> 
> Document FocalTech FT5452 and FT8719 support by adding their compatibles.
> 
> Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719
  2024-05-21 14:02 ` [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
@ 2024-05-22 17:37   ` Dmitry Torokhov
  0 siblings, 0 replies; 6+ messages in thread
From: Dmitry Torokhov @ 2024-05-22 17:37 UTC (permalink / raw)
  To: joelselvaraj.oss
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, linux-input,
	devicetree, linux-kernel

On Tue, May 21, 2024 at 09:02:58AM -0500, Joel Selvaraj via B4 Relay wrote:
> From: Joel Selvaraj <joelselvaraj.oss@gmail.com>
> 
> The driver is compatible with FocalTech FT5452 and FT8719 touchscreens
> too. FT5452 supports up to 5 touch points. FT8719 supports up to 10 touch
> points. Add compatible data for both of them.
> 
> Signed-off-by: Joel Selvaraj <joelselvaraj.oss@gmail.com>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-05-22 17:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 14:02 [PATCH 0/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
2024-05-21 14:02 ` [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT5452 and FT8719 support Joel Selvaraj via B4 Relay
2024-05-21 16:15   ` Krzysztof Kozlowski
2024-05-22 17:36   ` Dmitry Torokhov
2024-05-21 14:02 ` [PATCH 2/2] Input: edt-ft5x06 - add support for FocalTech FT5452 and FT8719 Joel Selvaraj via B4 Relay
2024-05-22 17:37   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).