Used on various phones. Minimal basic support. Includes device-tree enabling touchscreen on Pixel 3.
Sending as WIP, as not all comments we're addressed, but please feel free to apply any patch which does look ready for inclusion. What is missing: - switching between AP and SLPI mode (to be able to wake up phone by touch) - firmware loading - anything above basic touch Signed-off-by: David Heidelberg <[email protected]> --- TODO for v4: - wrap everything below enabling the supplies into stmfts_configure() to avoid bunch of gotos to power off on error? (Dmitry T.) - finish chip specific ops and potentinally remove is_fts5. (Dmitry T.) Changes in v3: - s/touchscreen_pins/touchscreen_irq_n. (Konrad) - Use interrupts-extended. (Konrad) - Fixed rebase conflict against 8665ceb926ec ("Input: stmfts - use guard notation when acquiring mutex") - Rename switch-gpios to mode-switch-gpios. - Do not define properties in if:then: branches. (Krzysztof) - Link to v2: https://lore.kernel.org/r/[email protected] Changes in v2: - Fix typo in the binding s/switch-gpio/switch-gpios/. - Deduplacate allOf. (Rob yamllint) - Add missing S-off-by. (Dmitry B.) - Dropped irq-gpios as it's not needed. (Konrad) - Correct x and y touchscreen area size. (Konrad) - Correct reset introduction commit description. (Krzysztof) - Partially implemented chip specific ops. (Dmitry T.) - Separeted license naming cleanup into separate commit (Dmitry T.) - Link to v1: https://lore.kernel.org/r/[email protected] --- David Heidelberg (7): Input: stmfts - Fix the MODULE_LICENSE() string Input: stmfts - Use dev struct directly Input: stmfts - Switch to devm_regulator_bulk_get_const Input: stmfts - abstract reading information from the firmware Input: stmfts - disable regulators when power on fails dt-bindings: input: touchscreen: st,stmfts: Introduce reset GPIO dt-bindings: input: touchscreen: st,stmfts: Introduce STM FTS5 Petr Hodina (4): Input: stmfts - use client to make future code cleaner Input: stmfts - add optional reset GPIO support Input: stmfts - support FTS5 arm64: dts: qcom: sdm845-google: Add STM FTS touchscreen support .../bindings/input/touchscreen/st,stmfts.yaml | 19 +- .../arm64/boot/dts/qcom/sdm845-google-blueline.dts | 19 +- arch/arm64/boot/dts/qcom/sdm845-google-common.dtsi | 2 +- drivers/input/touchscreen/stmfts.c | 594 +++++++++++++++++++-- 4 files changed, 574 insertions(+), 60 deletions(-) --- base-commit: cc13002a9f984d37906e9476f3e532a8cdd126f5 change-id: 20260214-stmfts5-b47311fbd732 Best regards, -- David Heidelberg <[email protected]>

