[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <791ba45eb211460b9530099b77637257@BY2PR03MB505.namprd03.prod.outlook.com>
Date: Fri, 28 Mar 2014 06:24:33 +0000
From: "Li.Xiubo@...escale.com" <Li.Xiubo@...escale.com>
To: Mark Brown <broonie@...nel.org>
CC: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values.
> Subject: Re: [PATCH] regmap: Add REGMAP_ENDIAN_SWAP support for values.
>
> On Thu, Mar 27, 2014 at 04:17:39PM +0800, Xiubo Li wrote:
>
> > And using the REGMAP_ENDIAN_BIG and REGMAP_ENDIAN_LITTLE will make
> > the driver a bit more complex, and also the usage of it.
>
> What's the complexity here?
Well, maybe it not as complex as it likes, just relatively:
For some drivers that may support the following cases:
For the DT node:
CPU Dev LE/BE property need ?
----------------------------------------------
LE LE No
LE BE 'big-endian' property
BE BE No
BE LE 'little-endian' property
The driver will adapt to this too.
Thanks :)
Best Regards,
Xiubo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists