linux/arch/mips/boot/dts/brcm
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
..
bcm9ejtagprb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm3384_viper.dtsi MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm3384_zephyr.dtsi MIPS: BMIPS: Refresh BCM3384 DTS files 2015-04-01 17:21:42 +02:00
bcm6328.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm6368.dtsi MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm7125.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7346.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7358.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7360.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7362.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7420.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7425.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm7435.dtsi regmap-mmio: Use native endianness for read/write 2015-11-16 09:43:54 +00:00
bcm93384wvg_viper.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm93384wvg.dts MIPS: BMIPS: Refresh BCM3384 DTS files 2015-04-01 17:21:42 +02:00
bcm96368mvwg.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97125cbmb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97346dbsmb.dts MIPS: BMIPS: Add SATA/PHY nodes for bcm7346 2015-11-11 08:37:49 +01:00
bcm97358svmb.dts MIPS: BMIPS: Add I2C node for bcm7358 2015-11-11 08:37:39 +01:00
bcm97360svmb.dts MIPS: BMIPS: Add I2C node for bcm7360 2015-11-11 08:37:42 +01:00
bcm97362svmb.dts MIPS: BMIPS: Add SATA/PHY nodes for bcm7362 2015-11-11 08:37:51 +01:00
bcm97420c.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97425svmb.dts MIPS: BMIPS: Add DTS files for several platforms 2015-04-01 17:21:42 +02:00
bcm97435svmb.dts MIPS: BMIPS: Add support for Broadcom BCM97435SVMB 2015-06-21 21:53:34 +02:00
Makefile MIPS: BMIPS: Build all dtbs if no builtin dtb 2015-06-21 21:54:16 +02:00