
8 Dec
2022
8 Dec
'22
12:49 p.m.
On Thu, 8 Dec 2022 at 00:52, Simon Glass sjg@chromium.org wrote:
Is this some sort of I2C protocol?
Like I2C it uses a pin for clock and a pin for data in/out. Unlike I2C it does not use addressing. I am not sure whether this driver can utilize some of the existing I2C code in U-Boot. Wrote my own bit banging routines.
Yes you can use i2c, by setting the offset_len to 0, e.g. with:
u-boot,i2c-offset-len = <0>;
I2C transmits/receives bytes most significant bit first (msb), but this device needs lsb.