devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: "Li.Xiubo@freescale.com" <Li.Xiubo@freescale.com>
Cc: "broonie@kernel.org" <broonie@kernel.org>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"pawel.moll@arm.com" <pawel.moll@arm.com>,
	"ijc+devicetree@hellion.org.uk" <ijc+devicetree@hellion.org.uk>,
	"galak@codeaurora.org" <galak@codeaurora.org>,
	"gregkh@linuxfoundation.org" <gregkh@linuxfoundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Subject: Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness
Date: Wed, 20 Aug 2014 11:43:41 +0200	[thread overview]
Message-ID: <20140820094340.GC15414@ulmo> (raw)
In-Reply-To: <10ad24319e6a486db77c31a5a911140e@BN1PR0301MB0609.namprd03.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1779 bytes --]

On Wed, Aug 20, 2014 at 09:14:02AM +0000, Li.Xiubo@freescale.com wrote:
> > Subject: Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for
> > endianness
> > 
> > On Tue, Jul 15, 2014 at 12:23:03PM +0800, Xiubo Li wrote:
> > > Device-Tree binding for device endianness
> > > Index     Device     Endianness properties
> > > ---------------------------------------------------
> > > 1         BE         'big-endian'
> > > 2         LE         'little-endian'
> > >
> > > For one device driver, which will run in different scenarios above
> > > on different SoCs using the devicetree, we need one way to simplify
> > > this.
> > >
> > > Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
> > > ---
> > >  .../devicetree/bindings/regmap/regmap.txt          | 47
> > ++++++++++++++++++++++
> > >  1 file changed, 47 insertions(+)
> > >  create mode 100644 Documentation/devicetree/bindings/regmap/regmap.txt
> > 
> > Sorry for jumping in so late. I think this binding documentation needs
> > to be moved somewhere else. regmap is a Linux kernel specific
> > implementation detail and therefore has no place in device tree binding
> > descriptions. Furthermore the endianness properties described herein do
> > apply to drivers that don't use regmap.
> > 
> > Perhaps we need some top-level file that describes generic properties
> > such as this?
> > 
> > Thierry
> 
> Yes, I do agree.
> And there are many devices that have the endian issue without using the
> Regmap in our LS* SoCs.
> 
> And I also think one generic binding description of this will be much
> better.
> 
> Where should we place it? In Documentation/devicetree/bindings/, or...?

Documentation/devicetree/bindings/standard-properties.txt perhaps?

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-08-20  9:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-15  4:23 [PATCHv6 0/2] add DT endianness binding support for regmap Xiubo Li
2014-07-15  4:23 ` [PATCHv6 1/2] regmap: add DT endianness binding support Xiubo Li
2014-07-15  4:23 ` [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness Xiubo Li
2014-07-15  5:33   ` Varka Bhadram
     [not found]     ` <53C4BD24.9000503-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-07-15  5:36       ` Li.Xiubo-KZfg59tc24xl57MIdRCFDg
     [not found]   ` <1405398183-31345-3-git-send-email-Li.Xiubo-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2014-08-20  8:05     ` Thierry Reding
2014-08-20  9:14       ` Li.Xiubo-KZfg59tc24xl57MIdRCFDg
2014-08-20  9:43         ` Thierry Reding [this message]
2014-08-06  1:58 ` [PATCHv6 0/2] add DT endianness binding support for regmap Li.Xiubo
2014-08-16 13:14 ` Mark Brown

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=20140820094340.GC15414@ulmo \
    --to=thierry.reding@gmail.com \
    --cc=Li.Xiubo@freescale.com \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@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;
as well as URLs for NNTP newsgroup(s).