[PATCH 0/3] Fix driver for misc/atsha204a
Michał Barnaś
barnas at google.com
Mon Feb 19 17:32:01 CET 2024
Fix the driver to behave like the chip datasheet requires.
Improve wake up function to send low signal on SDA line for at least
60us as chip requires to wake up. Fix sleep function to move the chip
into sleep mode, not into idle mode. Remove unnecessary for loop,
which would never run for more than one iteration.
Michał Barnaś (3):
misc: atsha204a: remove broken for loop
misc: atsha204a: fix sleep function
misc: atsha204a: fix wakeup function
drivers/misc/atsha204a-i2c.c | 90 ++++++++++++++++++++++++------------
1 file changed, 61 insertions(+), 29 deletions(-)
--
2.44.0.rc0.258.g7320e95886-goog
More information about the U-Boot
mailing list