Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write"

From: Mark Brown
Date: Tue Jan 26 2016 - 15:05:38 EST


On Tue, Jan 26, 2016 at 02:16:16PM +0100, Arnd Bergmann wrote:

> So if we default to little-endian for all regmap-mmio mappings, and let
> the driver or DT override that, and the regmap core already has the
> logic to read the ordering from DT, should we remove the parsing of
> the byteorder attributes from syscon and just let regmap do its thing?

> I was thinking about adding the patch below, but it sounds like we can
> just remove the parsing completely.

Probably, yes. I've got a patch for that now, just trying to work out
what to do to resolve the readl/writel thing without breaking MIPS which
is harder than it sounds without doing a proper fix (which I obviously
want to avoid in -rc).

Attachment: signature.asc
Description: PGP signature