diff options
author | Jeremy Kerr <[email protected]> | 2023-03-30 15:50:36 +0800 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2023-04-28 08:49:50 +0200 |
commit | f2539c20791eb474ae083f60a572f207ffbc3a67 (patch) | |
tree | 45363ac6ff022476bfe5cf886b264afca932bf02 /lib/mpi/mpi-mod.c | |
parent | f3a3553a51e64379dbb2e980f0024f7a28b74977 (diff) |
i3c: ast2600: enable IBI support
The ast2600 i3c hardware is capable of IBIs, but we need a workaround
for a hardware issue with the I3C state machine handling IBI payloads
of specific lengths when PEC is not enabled. To avoid this, we need to
unconditionally enable PECs, at the consquence of losing a byte of data
when the device does not send a PEC.
Enable IBIs on the ast2600 platform, including an implementation of the
PEC workaround, which prints a warning when triggered.
Signed-off-by: Jeremy Kerr <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Link: https://lore.kernel.org/r/ba923b96d6d129024c975e8a0472c5b2fcb3af32.1680161823.git.jk@codeconstruct.com.au
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions