2014-04-02 10:13:13

by Xiubo Li

[permalink] [raw]
Subject: RE: [PATCH 2/2] regmap: add DT endianness binding support.

Please discard this patch series:

There has some problems about the commit message, I will resend
this patch series.



> Subject: [PATCH 2/2] regmap: add DT endianness binding support.
>
> For many drivers which will support rich endianness of CPU<-->Dev
> need define DT properties by itself without the binding support.
>
> The value endianness using regmap-mmio, for example:
> Index CPU Device Endianess flag for DT property
> ------------------------------------------------------------
> 1 LE LE -
> 2 LE BE 'little-endian'


Should be 'big-endian' here.


> 3 BE BE -
> 4 BE LE 'big-endian'
>

Should be 'little-endian' here.


> ============
>
> Here add DT endianness binding support will define two string
> properties of the register and value endiannesses:
>
> 'reg-endian' and 'val-endian'.
>
> And the value of them will be:
> 'LE' : REGMAP_ENDIAN_LITTLE
> 'BE' : REGMAP_ENDIAN_BIG
> 'NT' : REGMAP_ENDIAN_NATIVE
> Absent : REGMAP_ENDIAN_DEFAULT
>
> The value endianness using regmap-mmio, for example:
> Index CPU Device Endianess flag for DT property
> ------------------------------------------------------------
> 1 LE LE 'NT' or absent
> 2 LE BE 'LE'

Should be 'BE' here.


> 3 BE BE 'NT' or absent
> 4 BE LE 'BE'
>

Should 'LE' here.



> Please see the following documetation for detail usage:
> Documentation/devicetree/bindings/regmap/regmap-endianness.txt
>

Thanks,

BRs
Xiubo