summaryrefslogtreecommitdiff
path: root/drivers/regulator/wm831x-dcdc.c
diff options
context:
space:
mode:
authorWitold Sadowski <wsadowski@marvell.com>2024-05-29 10:40:32 +0300
committerMark Brown <broonie@kernel.org>2024-05-29 15:43:02 +0300
commit4a69c1264ff41bc5bf7c03101ada0454fbf08868 (patch)
tree151485c8d49501546a0f72f64ea62437a5e72e29 /drivers/regulator/wm831x-dcdc.c
parent3aac9f4885922ad0fc01b86f85903768219475a3 (diff)
downloadlinux-4a69c1264ff41bc5bf7c03101ada0454fbf08868.tar.xz
spi: cadence: Ensure data lines set to low during dummy-cycle period
During dummy-cycles xSPI will switch GPIO into Hi-Z mode. In that dummy period voltage on data lines will slowly drop, what can cause unintentional modebyte transmission. Value send to SPI memory chip will depend on last address, and clock frequency. To prevent unforeseen consequences of that behaviour, force send single modebyte(0x00). Modebyte will be send only if number of dummy-cycles is not equal to 0. Code must also reduce dummycycle byte count by one - as one byte is send as modebyte. Signed-off-by: Witold Sadowski <wsadowski@marvell.com> Link: https://msgid.link/r/20240529074037.1345882-2-wsadowski@marvell.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/wm831x-dcdc.c')
0 files changed, 0 insertions, 0 deletions