mbox series

[0/3] Add support for Imagis IST3038 and clarify the usage of protocol_b

Message ID 20240612032036.33103-1-raymondhackley@protonmail.com
Headers show
Series Add support for Imagis IST3038 and clarify the usage of protocol_b | expand

Message

Raymond Hackley June 12, 2024, 3:20 a.m. UTC
Imagis IST3038 is another variant of Imagis IST3038 IC, which has
a different register interface from IST3038C (possibly firmware defined).

Unlike IST3038C/IST3032C, IST3038 has different registers for commands,
which means IST3038 doesn't use protocol B.
Similar to IST3032C and maybe the other variants, IST3038 has touch keys
support, which provides KEY_APPSELECT and KEY_BACK.

Add support for IST3038 with touch keys.

protocol_b is a property, which tells Imagis panel to use a different
format for coordinates.

IST30XXC series is known for using protocol B, while the other series
aren't. Note this could be confusing, unlike the model name implies.

Adjust the usage of protocol_b to avoid confusion.