Skip to content

Fix driver for misc/atsha204a

Michał Barnaś u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3misc: atsha204a: remove broken for loopdrivers/misc/atsha204a-i2c.c+19 -260 replies
2/3misc: atsha204a: fix sleep functiondrivers/misc/atsha204a-i2c.c+1 -10 replies
3/3misc: atsha204a: fix wakeup functiondrivers/misc/atsha204a-i2c.c+44 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Fix driver for misc/atsha204a

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(-)
Signature · 1 line
2.44.0.rc0.258.g7320e95886-goog