regmap: Add explict native endian flag to DT bindings
authorMark Brown <broonie@kernel.org>
Tue, 26 Jan 2016 17:59:30 +0000 (17:59 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 27 Jan 2016 18:46:38 +0000 (18:46 +0000)
commita06c488da0b0c1eebf710017675f00b9d5f9cf42
tree10a608717ab425e5746a38485cd5cf007b50d32f
parent92e963f50fc74041b5e9e744c330dca48e04f08d
regmap: Add explict native endian flag to DT bindings

Currently the binding document says that if no endianness is configured
we use native endian but this is not in fact true for all binding types
and we do have some devices that really want native endianness such as
Broadcom MIPS SoCs where switching the endianness of the CPU also
switches the endianness of external IPs.

Provide an explicit option for this.

Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regmap/regmap.txt
drivers/base/regmap/regmap.c