mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Li.Xiubo@freescale.com" <Li.Xiubo@freescale.com>
To: "Li.Xiubo@freescale.com" <Li.Xiubo@freescale.com>,
	"broonie@kernel.org" <broonie@kernel.org>
Cc: "gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH 2/2] regmap: add DT endianness binding support.
Date: Wed, 2 Apr 2014 10:13:07 +0000	[thread overview]
Message-ID: <db42049ab0384d9cb50a9d91ab504796@BY2PR03MB505.namprd03.prod.outlook.com> (raw)
In-Reply-To: <1396250797-17758-3-git-send-email-Li.Xiubo@freescale.com>

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



      reply	other threads:[~2014-04-02 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31  7:26 [PATCH 0/2] regmap: add DT binding for endianness Xiubo Li
2014-03-31  7:26 ` [PATCH 1/2] regmap: Add the DT binding documentation " Xiubo Li
2014-03-31  7:26 ` [PATCH 2/2] regmap: add DT endianness binding support Xiubo Li
2014-04-02 10:13   ` Li.Xiubo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=db42049ab0384d9cb50a9d91ab504796@BY2PR03MB505.namprd03.prod.outlook.com \
    --to=li.xiubo@freescale.com \
    --cc=broonie@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®