]> git.baikalelectronics.ru Git - kernel.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>
Fri, 25 Nov 2016 10:04:31 +0000 (10:04 +0000)
commit5d26dc1a08bff0ea619b4478a38afab3580643ae
treecddcf465f6ef3249c87e7e6785aec2f30e6ec880
parent27e08340dafac41fab594c436acee8ea5d8bddc7
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.

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