summaryrefslogtreecommitdiffstats
path: root/drivers/pinctrl/pinctrl-utils.h
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@gmail.com>2016-06-14 14:10:04 +0200
committerMark Brown <broonie@kernel.org>2016-06-27 20:18:35 +0200
commit0b06d8cf4f9307887d52776d77bdbc8d6dd9d98d (patch)
tree52403a0ab3aab4d3e77e376543b00f6aa38b9bb4 /drivers/pinctrl/pinctrl-utils.h
parentspi: sunxi: expose maximum transfer size limit (diff)
downloadlinux-0b06d8cf4f9307887d52776d77bdbc8d6dd9d98d.tar.xz
linux-0b06d8cf4f9307887d52776d77bdbc8d6dd9d98d.zip
spi: sunxi: set maximum and minimum speed of SPI master
The speed limits are unset in the sun4i and sun6i SPI drivers. The maximum speed of SPI master is used when maximum speed of SPI slave is not specified. Also the __spi_validate function should check that transfer speeds do not exceed the master limits. The user manual for A10 and A31 specifies maximum speed of the SPI clock as 100MHz and minimum as 3kHz. Setting the SPI clock to out-of-spec values can lock up the SoC. Signed-off-by: Michal Suchanek <hramrach@gmail.com> -- v2: new patch v3: fix constant style Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-utils.h')
0 files changed, 0 insertions, 0 deletions