summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/ab5500-core.h
diff options
context:
space:
mode:
authorPhilippe Rétornaz <philippe.retornaz@epfl.ch>2012-05-29 11:06:29 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-07-09 00:16:25 +0200
commitada72d0a9308105b535c8fc53ba5b33e9f076a1a (patch)
tree824a2842a5b7787c1cb0bfd66f761307d235254b /drivers/mfd/ab5500-core.h
parentmfd: Fix mc13xxx SPI regmap (diff)
downloadlinux-ada72d0a9308105b535c8fc53ba5b33e9f076a1a.tar.xz
linux-ada72d0a9308105b535c8fc53ba5b33e9f076a1a.zip
mfd: mc13xxx workaround SPI hardware bug on i.Mx
The MC13xxx PMIC is mainly used on i.Mx SoC. On those SoC the SPI hardware will deassert CS line as soon as the SPI FIFO is empty. The MC13xxx hardware is very sensitive to CS line change as it corrupts the transfer if CS is deasserted in the middle of a register read or write. It is not possible to use the CS line as a GPIO on some SoC, so we need to workaround this by implementing a single SPI transfer to access the PMIC. Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Philippe Rétornaz <philippe.retornaz@epfl.ch> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/ab5500-core.h')
0 files changed, 0 insertions, 0 deletions