]> asedeno.scripts.mit.edu Git - linux.git/commit
mfd: syscon: Support native-endian regmaps
authorPaul Burton <paul.burton@imgtec.com>
Fri, 14 Oct 2016 09:17:31 +0000 (10:17 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 29 Nov 2016 08:21:25 +0000 (08:21 +0000)
commit8e52b61cc8ead97ebe9de63a7ab1e70039a48129
tree545d1675e71263c08f21684f8def2db9340d9d9d
parentb2e2c85091710159b305735d557f4ef4695f5dff
mfd: syscon: Support native-endian regmaps

The regmap devicetree binding documentation states that a native-endian
property should be supported as well as big-endian & little-endian,
however syscon in its duplication of the parsing of these properties
omits support for native-endian. Fix this by setting
REGMAP_ENDIAN_NATIVE when a native-endian property is found.

Cc: linux-mips@linux-mips.org
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Tested-by: Maciej W. Rozycki <macro@imgtec.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/syscon.c