Re: [PATCH v2 2/7] Input: s6sy761 - split into core and I2C modules

From: Lukas Timmermann

Date: Wed Dec 02 2026 - 13:15:21 EST


Hi André,

thank you for the kind words. I love to help out if possible.

Am 30.11.26 um 10:57 schrieb André Draszik:

Would the driver benefit from using regmap instead of
hand-rolled transport accessors?

For an example (there are others of course), commits 5338709089b7 680ef57915db
did a similar split into transport and common code.

I looked at both of your commits.

At first, I tried to do this patch with regmap as I thought it would be cleaner. But the touchscreen isn't really register based but works on single commands. As far as I understood it, regmap has features like caching, bitwise operations and handles IRQs in conjunction with registers. So on second thought I kept the transport code and just did the split.

But I have to say I'm still learning when it comes to kernel development, so any advice is always welcome. :-)

Greetings
Lukas


Cheers,
Andre'

Attachment: OpenPGP_0xAB171A08F05A61B1.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature