linux/arch/mips/boot/dts
Simon Arlott 29bb45f25f regmap-mmio: Use native endianness for read/write
The regmap API has an endianness setting for formatting reads and writes.
This can be set by the usual DT "little-endian" and "big-endian" properties.
To work properly the associated regmap_bus needs to read/write in native
endian.

The "syscon" DT device binding creates an mmio-based regmap_bus which
performs all reads/writes as little-endian. These values are then converted
again by regmap, which means that all of the MIPS BCM boards (which are
big-endian) have been declared as "little-endian" to get regmap to convert
them back to big-endian.

Modify regmap-mmio to use the native-endian functions __raw_read*() and
__raw_write*() instead of the little-endian functions read*() and
write*().

Modify the big-endian MIPS BCM boards to use what will now be the correct
endianness instead of pretending that the devices are little-endian.

Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-16 09:43:54 +00:00
..
brcm regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
cavium-octeon MIPS: OCTEON: add GPIO LED support for DSR-1000N 2015-04-01 17:22:10 +02:00
include MIPS: Fix invalid symbolic link file 2013-09-19 17:04:35 +02:00
ingenic MIPS: ingenic: Initial MIPS Creator CI20 support 2015-06-21 21:53:28 +02:00
lantiq MIPS: Move device-trees into vendor sub-directories 2015-04-01 17:21:34 +02:00
mti MIPS: Malta: Setup RAM regions via DT 2015-11-11 08:35:47 +01:00
netlogic MIPS: Netlogic: add device tree entry for XLP GPIO 2015-09-03 12:08:03 +02:00
qca MIPS: ath79: Add the reset controller to the AR9132 dtsi 2015-08-04 10:41:39 +02:00
ralink MIPS: Move device-trees into vendor sub-directories 2015-04-01 17:21:34 +02:00
xilfpga MIPS: xilfpga: Add xilfpga device tree files. 2015-11-11 08:38:42 +01:00
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-11-15 09:10:53 -08:00