diff options
author | Chris Packham | 2021-04-15 10:33:20 +1200 |
---|---|---|
committer | Wolfram Sang | 2021-04-15 22:08:04 +0200 |
commit | 1538d82f4647c686f09888b36604dca2fc2bdaf6 (patch) | |
tree | c8ded1dac98caf425fa2f1302b41ea1396ca033c /tools/leds | |
parent | e5b2e3e742015dd2aa6bc7bcef2cb59b2de1221c (diff) |
i2c: mpc: Interrupt driven transfer
The fsl-i2c controller will generate an interrupt after every byte
transferred. Make use of this interrupt to drive a state machine which
allows the next part of a transfer to happen as soon as the interrupt is
received. This is particularly helpful with SMBUS devices like the LM81
which will timeout if we take too long between bytes in a transfer.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions