From: Chao Fu Date: Wed, 12 Feb 2014 07:29:05 +0000 (+0800) Subject: spi/fsl-dspi: Convert to use regmap and add big-endian support X-Git-Tag: v3.15-rc1~147^2~5^7~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1acbdeb92c87fc18eade0815dedc257fe45b88b7;p=pandora-kernel.git spi/fsl-dspi: Convert to use regmap and add big-endian support 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. Documents: dspi add bool "big-endian" in dts node if DSPI module work in big endian. Signed-off-by: Chao Fu Reviewed-by: Xiubo Li Signed-off-by: Mark Brown --- Reading git-diff-tree failed