Re: [PATCH v3 1/2] spi:fsl-dspi:convert to use regmap and big-endian supports

Alexander Shiyan shc_work at mail.ru
Tue Feb 11 01:58:53 EST 2014


Вторник, 11 февраля 2014, 13:48 +08:00 от Chao Fu <b44548 at freescale.com>:
> From: Chao Fu <B44548 at freescale.com>
> 
> Freescale DSPI module will have two endianess in different platform,
> but ARM is little endian. So when DSPI in big endian, core in little endian,
> readl and writel can not adjust R/W register in this condition.
> This patch will remove general readl/writel, and import regmap mechanism.
> Data endian will be transfered in regmap APIs.

In this case You should additionally select REGMAP_MMIO option
for SPI_FSL_DSPI in the drivers/spi/Kconfig.

---


More information about the linux-arm-kernel mailing list