RE: [PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread li.xi...@freescale.com
> > + * of_regmap_endian_by_type() - Parse and lookup the endian referenced > > + * by a device node > > + * @np: pointer to clock consumer node > > This is not the clock consumer, right? > Yes, you are right. I will fix it. > > + * @type: type of consumer's endian input > > + * > > + * This

Re: [PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread Markus Pargmann
Hi, On Wed, Apr 30, 2014 at 12:43:49PM +0800, Xiubo Li wrote: [...] > diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c > index 8e8cea1..946e901 100644 > --- a/drivers/base/regmap/regmap.c > +++ b/drivers/base/regmap/regmap.c > @@ -15,6 +15,7 @@ > #include > #include >

Re: [PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread Markus Pargmann
Hi, On Wed, Apr 30, 2014 at 12:43:49PM +0800, Xiubo Li wrote: [...] diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 8e8cea1..946e901 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -15,6 +15,7 @@ #include linux/export.h

RE: [PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-30 Thread li.xi...@freescale.com
+ * of_regmap_endian_by_type() - Parse and lookup the endian referenced + * by a device node + * @np: pointer to clock consumer node This is not the clock consumer, right? Yes, you are right. I will fix it. + * @type: type of consumer's endian input + * + * This function

[PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-29 Thread Xiubo Li
For many drivers which will support rich endianness of CPU<-->Dev need define DT properties by itself without the binding support. The endianness using regmap: IndexCPU Device Endianess flag for DT bool property 1

[PATCHv3 2/2] regmap: add DT endianness binding support.

2014-04-29 Thread Xiubo Li
For many drivers which will support rich endianness of CPU--Dev need define DT properties by itself without the binding support. The endianness using regmap: IndexCPU Device Endianess flag for DT bool property 1LE