summaryrefslogtreecommitdiff
path: root/drivers/mfd/ac100.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-10-21 17:14:07 +0100
committerMark Brown <broonie@kernel.org>2022-10-21 17:14:07 +0100
commit4194dabe8ca2e6b61d12181dccf4fd1e60302e42 (patch)
treecb041f12f15c71fe51348d8e491bdcc4a5f99f21 /drivers/mfd/ac100.c
parentb872e8b1c8db9e657f976ab12b54004f4937cfcf (diff)
parentf4567b28fdd4bede7cab0810200d567a1f03ec5e (diff)
downloadlinux-4194dabe8ca2e6b61d12181dccf4fd1e60302e42.tar.gz
linux-4194dabe8ca2e6b61d12181dccf4fd1e60302e42.tar.bz2
linux-4194dabe8ca2e6b61d12181dccf4fd1e60302e42.zip
spi: amlogic: meson-spicc: Use pinctrl to drive CLK line when idle
Merge series from Amjad Ouled-Ameur <aouledameur@baylibre.com>: Between SPI transactions, all SPI pins are in HiZ state. When using the SS signal from the SPICC controller it's not an issue because when the transaction resumes all pins come back to the right state at the same time as SS. The problem is when we use CS as a GPIO. In fact, between the GPIO CS state change and SPI pins state change from idle, you can have a missing or spurious clock transition. Set a bias on the clock depending on the clock polarity requested before CS goes active, by passing a special "idle-low" and "idle-high" pinctrl state and setting the right state at a start of a message.
Diffstat (limited to 'drivers/mfd/ac100.c')
0 files changed, 0 insertions, 0 deletions