[PATCH v2 2/7] Input: s6sy761 - split into core and I2C modules
Lukas Timmermann
lukas at timmermann.space
Wed Dec 2 10:15:02 PST 2026
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'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xAB171A08F05A61B1.asc
Type: application/pgp-keys
Size: 4731 bytes
Desc: OpenPGP public key
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261202/d3dbe896/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20261202/d3dbe896/attachment.sig>
More information about the linux-arm-kernel
mailing list