Ok, I think I'm just gonna remove bit order support from device-driver and assume everything is Lsb0.

It's just so weird my brain can't handle it and I've never seen it be used. And if it's really required, well then the register interface implementation can reverse the bits.

Has anybody actually ever seen or used a device of which the datasheet says bit 0 which then means the most significant bit?

If you do, please let me know before I delete this feature!

0

If you have a fediverse account, you can quote this note from your own instance. Search https://fosstodon.org/users/diondokter/statuses/116069823274866162 on your instance and quote it. (Note that quoting is not supported in Mastodon.)