Skip to content

Conversation

@ck-telecom
Copy link
Contributor

add initial driver for ft6146

@ck-telecom ck-telecom force-pushed the ft6146 branch 6 times, most recently from 870fa56 to a41e843 Compare September 23, 2025 01:12
@ck-telecom ck-telecom marked this pull request as ready for review September 23, 2025 01:14
@zephyrbot zephyrbot added the area: Input Input Subsystem and Drivers label Sep 23, 2025
@ck-telecom ck-telecom marked this pull request as draft September 23, 2025 01:56
@ck-telecom ck-telecom force-pushed the ft6146 branch 4 times, most recently from d3e4ab3 to c8a9983 Compare September 26, 2025 02:29
@ck-telecom ck-telecom marked this pull request as ready for review September 26, 2025 13:22
@fabiobaltieri
Copy link
Member

@ck-telecom hey feel free to undraft when you want another round on review, meanwhile in case you missed it check the sonarqubecloud comment as well, there' some valid stuff in there.

faxe1008
faxe1008 previously approved these changes Oct 9, 2025
@ck-telecom ck-telecom force-pushed the ft6146 branch 2 times, most recently from 64d0be9 to ca548af Compare October 17, 2025 12:46
@fabiobaltieri
Copy link
Member

I'm a bit confused, why did you remove the device ID check? That was a very useful to have, I was just asking to change the return code and fix the error message to always show the full 16 bits

@ck-telecom
Copy link
Contributor Author

I'm a bit confused, why did you remove the device ID check? That was a very useful to have, I was just asking to change the return code and fix the error message to always show the full 16 bits

the chip id in my board is not same with original driver(other platform), so for now just ignore it coz I can't find the datasheet from the internet.

return;
}

for (int i = 0; i < touch_num; i++) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it make sense to process all the touch_num? how does this react to multiple touches?

@fabiobaltieri
Copy link
Member

few compliance checks are failing, can you take a look? https://github.com/zephyrproject-rtos/zephyr/actions/runs/18906468271/job/53965816759?pr=96330

fabiobaltieri
fabiobaltieri previously approved these changes Nov 4, 2025
@gmarull gmarull requested a review from Copilot November 4, 2025 19:54
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for the FocalTech FT6146 capacitive touch controller driver to Zephyr. The implementation follows the existing FT5336 driver pattern with support for both interrupt-driven and polling modes.

Key Changes

  • Adds FT6146 touch controller driver implementation with I2C communication
  • Provides device tree bindings and overlay configuration for the new controller
  • Integrates the driver into the build system with appropriate Kconfig options

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
drivers/input/input_ft6146.c New driver implementation for FT6146 touch controller with interrupt and polling mode support
dts/bindings/input/focaltech,ft6146.yaml Device tree bindings definition for FT6146 controller
drivers/input/Kconfig.ft6146 Kconfig options for FT6146 driver configuration
drivers/input/Kconfig Integration of FT6146 Kconfig into main input drivers configuration
drivers/input/CMakeLists.txt Build system integration for FT6146 driver
tests/drivers/build_all/input/app.overlay Test overlay configuration including FT6146 device node and formatting improvements

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gmarull gmarull requested a review from Copilot November 4, 2025 19:56
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

add initial driver for ft6146

Signed-off-by: Qingsong Gou <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 5, 2025

@fabiobaltieri fabiobaltieri added this to the v4.4.0 milestone Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Boards/SoCs area: Devicetree Bindings area: Input Input Subsystem and Drivers area: Tests Issues related to a particular existing or missing test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants