input: synaptics: add ability to distinguish touch part
The touchscreen controllers are field-swappable on both customer devices and internal reference devices. For Synaptics touch controller, package ID is a unique identifier that is used to uniquely distinguish the touch controller part. However, it is still possible to flash these touch controllers with different firmware images. In such a case, same touch controller's sensor will have different dimensions depending on the firmware image flashed in it. The patch adds the ability to identify the correct sensor dimension for above use case. If package ID read from device tree matches the package ID read from touch controller, the driver also checks if the sensor dimensions read from device tree match those which are read from the touch controller. Change-Id: I8423df30c61aaa7696c494aa5f105f169ad9c954 Signed-off-by:Himanshu Aggarwal <haggarwa@codeaurora.org> Signed-off-by:
Sarada Prasanna Garnayak <c_sgarna@codeaurora.org>
Loading
Please register or sign in to comment