From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCHv6 2/2] dt/bindings: Add the DT binding documentation for endianness Date: Wed, 20 Aug 2014 10:05:50 +0200 Message-ID: <20140820080549.GA15414@ulmo> References: <1405398183-31345-1-git-send-email-Li.Xiubo@freescale.com> <1405398183-31345-3-git-send-email-Li.Xiubo@freescale.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Return-path: Content-Disposition: inline In-Reply-To: <1405398183-31345-3-git-send-email-Li.Xiubo-KZfg59tc24xl57MIdRCFDg@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Xiubo Li Cc: broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, pawel.moll-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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' >=20 > For one device driver, which will run in different scenarios above > on different SoCs using the devicetree, we need one way to simplify > this. >=20 > Signed-off-by: Xiubo Li > --- > .../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 --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT9FbdAAoJEN0jrNd/PrOhlnYP/3IymfkKbB3C10ACu+v8eMQl xwXINsbbOFkyA94+1+54L0KTxatC5ukRPgS8Kxf/i6ZGmK3D2HfeAUXp5qbd27uX 4vDkgcqnxVPjmRvUq7tPzMDAuyxucbcECrMAVAKnEMaYHG2hlmNwVOZ7crHAkIzF TwkbydbxK/aAFGZD9z+agLVdgMwnw54j0fyeUb5erLUwuKKujck5b/WhTAilnL2R zPf0BOnlkw0rYRGcamDcqVc8W8yMteeyvV1egi92MxCq9Kr4cCpq+OHHq+FTXflJ Q6aTR+T/tZ6MoU+Tq4H3spq9Mc4sXr8Be01eQLVuzCpV137rDoPxv7T3bNW5GVum fhxKGG99Zt4fqgvIiNcTUEs9kZblTDEOH0/vsj9t8zb4VtOqJLbGBZaWMA1yvtBe 1zo8aUdGI+0D4xMzx5bYb7ZC+JlgGuEvHAloypShDhIGn7IRLQ1bPGgisZ+ysI2f lkSTzm0sU23fyaEcn7fcbjSVPe3WFk1iQ5vUfDQHETj+0WzEToDja2MJNZYvUH5p GPQ9jAG9lrV5oYHBYnzDYDOk8FU71OnFUtVCOtnuy1jh2w9NIXhTjui9ZScPLNxr F+8NBqEMvmN5hoRT4wsNLHzOe9mFBupW/PTm6glx3t/4AEHEo0DbT6j++YYnhZxT MWmfD6sAIdbFpEtRUoqf =iFNE -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html