Add FT8716 support
Subsystems (3)
cover Add FT8716 support
This series adds support for the FocalTech FT8716 touchscreen to the edt-ft5x06 driver. It was tested on the BQ Aquaris X (bq-bardock) and BQ Aquaris X Pro (bq-bardockpro).
Jens Reidel (2):
dt-bindings: input: touchscreen: edt-ft5x06: Document FT8716 support
Input: edt-ft5x06 - add support for FocalTech FT8716
.../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 1 + drivers/input/touchscreen/edt-ft5x06.c | 6 ++++++ 2 files changed, 7 insertions(+)
Signature · 1 line
2.48.1
PATCH 1/2 dt-bindings: input: touchscreen: edt-ft5x06: Document FT8716 support
Document FocalTech FT8716 support by adding the compatible.
--- .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.yaml +1 -0
@@ -43,6 +43,7 @@ properties: - focaltech,ft5452 - focaltech,ft6236 - focaltech,ft8201 + - focaltech,ft8716 - focaltech,ft8719 reg:
Signature · 1 line
2.48.1
PATCH 2/2 Input: edt-ft5x06 - add support for FocalTech FT8716
In reply to Jens ReidelThis driver is compatible with the FocalTech FT8716 touchscreen, which supports up to 10 concurrent touch points. Add a compatible for it.
--- drivers/input/touchscreen/edt-ft5x06.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/input/touchscreen/edt-ft5x06.c +6 -0
@@ -1495,6 +1495,10 @@ static const struct edt_i2c_chip_data edt_ft8201_data = { .max_support_points = 10, }; +static const struct edt_i2c_chip_data edt_ft8716_data = { + .max_support_points =10 , +}; +static const struct edt_i2c_chip_data edt_ft8719_data = { .max_support_points =10 , };
@@ -1507,6 +1511,7 @@ static const struct i2c_device_id edt_ft5x06_ts_id[] = {/* Note no edt- prefix for compatibility with the ft6236.c driver */ { .name = "ft6236", .driver_data = (long)&edt_ft6236_data }, { .name = "ft8201", .driver_data = (long)&edt_ft8201_data }, + { .name = "ft8716", .driver_data = (long)&edt_ft8716_data }, { .name = "ft8719", .driver_data = (long)&edt_ft8719_data }, {/* sentinel */ } };
@@ -1523,6 +1528,7 @@ static const struct of_device_id edt_ft5x06_of_match[] = {/* Note focaltech vendor prefix for compatibility with ft6236.c */ { .compatible = "focaltech,ft6236", .data = &edt_ft6236_data }, { .compatible = "focaltech,ft8201", .data = &edt_ft8201_data }, + { .compatible = "focaltech,ft8716", .data = &edt_ft8716_data }, { .compatible = "focaltech,ft8719", .data = &edt_ft8719_data }, {/* sentinel */ } };
Signature · 1 line
2.48.1
Re: [PATCH 1/2] dt-bindings: input: touchscreen: edt-ft5x06: Document FT8716 support
In reply to Jens ReidelQuoted 6 lines · Jens Reidel
Document FocalTech FT8716 support by adding the compatible.
Signed-off-by Jens Reidel <[email protected]>--- .../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof
Dmitry Torokhov
maintainerQuoted 11 lines · Jens Reidel
This series adds support for the FocalTech FT8716 touchscreen to the edt-ft5x06 driver. It was tested on the BQ Aquaris X (bq-bardock) and BQ Aquaris X Pro (bq-bardockpro).
Jens Reidel (2):
dt-bindings: input: touchscreen: edt-ft5x06: Document FT8716 support
Input: edt-ft5x06 - add support for FocalTech FT8716.../devicetree/bindings/input/touchscreen/edt-ft5x06.yaml | 1 + drivers/input/touchscreen/edt-ft5x06.c | 6 ++++++ 2 files changed, 7 insertions(+)
Applied the lot, thank you.
Signature · 1 line
Dmitry