Skip to content

I2C Goodix display touch controller is not handled correctly in the driver #104442

@BASoluware

Description

@BASoluware

Describe the bug

Description

The Goodix GT9271 touch controller is currently not handled correctly by the Zephyr GT911 driver.

The GT9217 chip reports a different Product ID than the one expected and checked in the Zephyr driver implementation. Because of this, the driver does not properly recognize or initialize the controller.

According to Kconfig.gt911, the driver is intended to support the following Goodix controllers:
"This driver should support gt9110, gt912, gt927, gt9271, gt928"

However, at the moment only the GT911 appears to be supported in the driver code. Other listed controllers (including GT9271) are not properly detected due to strict Product ID checking.

Expected Behavior

The driver should recognize and properly initialize all supported Goodix controllers listed in Kconfig.gt911, or at least handle compatible Product IDs such as the one reported by GT9271.

Actual Behavior

The driver only accepts the GT911 Product ID and fails to work with GT9271.

Suggested Fix

Extend the Product ID check in the driver to include GT9271 (and potentially other compatible Goodix variants listed in Kconfig.gt911).

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Functional Limitation – Some features not working as expected, but system usable.

Environment

Zephyr 4.3.0

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: InputInput Subsystem and DriversbugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions