Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1381455

Re: [PATCH] dspi: config dspi master regmap with right mode depend on BE or LE

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Mark Brown <broonie@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] dspi: config dspi master regmap with right mode depend on BE or LE
Date Mon, 18 Apr 2016 12:20:01 +0200
Message-ID <rperD-3OG-1@gated-at.bofh.it> (permalink)
References <rntEu-2pv-17@gated-at.bofh.it> <roLpD-5Z7-3@gated-at.bofh.it>
X-Original-To Scott Wood <scott.wood@nxp.com>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="movZSYdJ761vCHaE"
Content-Disposition inline
X-Cookie Tomorrow, you can be anywhere.
User-Agent Mutt/1.5.24 (2015-08-30)
X-Sa-Exim-Connect-IP 2a01:348:6:8808:fab::3
X-Sa-Exim-Mail-From broonie@sirena.org.uk
X-Sa-Exim-Version 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000)
X-Sa-Exim-Scanned Yes (on mezzanine.sirena.org.uk)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 37
Organization linux.* mail to news gateway
X-Original-Cc Po Liu <po.liu@nxp.com>, "linux-spi@vger.kernel.org" <linux-spi@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
X-Original-Date Mon, 18 Apr 2016 11:11:17 +0100
X-Original-Message-ID <20160418101117.GP3217@sirena.org.uk>
X-Original-References <1460545402-8162-1-git-send-email-po.liu@nxp.com> <DB5PR0401MB19281A317BFB1D9001F97ABB916A0@DB5PR0401MB1928.eurprd04.prod.outlook.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1381455

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sun, Apr 17, 2016 at 02:41:40AM +0000, Scott Wood wrote:

> Looking more closely, the binding has a big-endian property.  It says
> the default if that property is absent is native endian, which is
> insane.  Fix the binding to say that little endian is the default (this
> change shouldn't break any existing trees), and make sure that's what
> the code implements.  I think you need val_format_endian_default, not
> val_format_endian.

The binding defaults to little endian and (in implmentation terms)
always has done though that used to be unintentional.  There *are* a
reasonable number of devices out there which are native endian, for
example most of the MIPS chips switch the endianness of the entire chip
rather than just the CPU, but most of the current usage has been on ARM
devices which only switch the core.

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH] dspi: config dspi master regmap with right mode depend on  BE or LE Scott Wood <scott.wood@nxp.com> - 2016-04-17 05:20 +0200
  Re: [PATCH] dspi: config dspi master regmap with right mode depend  on BE or LE Mark Brown <broonie@kernel.org> - 2016-04-18 12:20 +0200
    RE: [PATCH] dspi: config dspi master regmap with right mode depend on  BE or LE Po Liu <po.liu@nxp.com> - 2016-04-19 05:10 +0200

csiph-web