diff options
author | Jun Lin <CHLin56@nuvoton.com> | 2023-02-16 10:51:08 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-05-02 19:51:03 +0000 |
commit | 267cec2b2e75609047469e6e351355f9e100fb14 (patch) | |
tree | dff3974dfbce23ccc8cbaba6cf1485d2f673e38b /zephyr | |
parent | fb7cccc422e68c375ef8477cb05d12cd21047247 (diff) | |
download | chrome-ec-267cec2b2e75609047469e6e351355f9e100fb14.tar.gz |
npcx: driver: SPI: extend driver to support concurrent mode
This CL extends the SPI controller driver to support the concurrent
transaction:
- if the parameter "rxlen" is set to SPI_READBACK_ALL when
spi_transaction() is called, the received data during the transmission
phase should be stored in the "rxdata" buffer.
BRANCH=none
BUG=b:268286582
TEST=Loopback test on the npcx9 EVB, make sure the received data in the
rxdata buffer is the same as that in the txdata buffer.
Change-Id: Ia5ae17fefb69ce18709ded87693b34ed861f4997
Signed-off-by: Jun Lin <CHLin56@nuvoton.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4259466
Tested-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: CH Lin <chlin56@nuvoton.com>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: David Cross <davidmcross@google.com>
Commit-Queue: David Cross <davidmcross@google.com>
Reviewed-by: Bobby Casey <bobbycasey@google.com>
Diffstat (limited to 'zephyr')
0 files changed, 0 insertions, 0 deletions