Re: [PATCH 3/3] wiegand: add Wiegand GPIO bit-banged controller driver

From: Martin Zaťovič
Date: Wed Jan 25 2023 - 04:29:03 EST


Hi Andy,

thank you for the notes, I am working on fixing them. You have
mentioned, that it seems like the driver which should be generic
provides specific functionality. AFAIK, the Wiegand protocol
does not define the payload length of messages. Most devices use
one of the three formats I have implemented - 26, 36 and
37-bits. If I understand you right, the Wiegand GPIO bit-banged
driver should allow one to send messages of any length and it
will be up to a device driver to make sure the correct message
length is used. Is this the correct approach?

With regards,
Martin