From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751787AbcAZUFe (ORCPT ); Tue, 26 Jan 2016 15:05:34 -0500 Received: from mezzanine.sirena.org.uk ([106.187.55.193]:47548 "EHLO mezzanine.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750939AbcAZUFc (ORCPT ); Tue, 26 Jan 2016 15:05:32 -0500 Date: Tue, 26 Jan 2016 20:05:17 +0000 From: Mark Brown To: Arnd Bergmann Cc: Johannes Berg , Simon Arlott , linux-kernel@vger.kernel.org Message-ID: <20160126200517.GF6042@sirena.org.uk> Mail-Followup-To: Arnd Bergmann , Johannes Berg , Simon Arlott , linux-kernel@vger.kernel.org References: <1453759675-28461-1-git-send-email-johannes@sipsolutions.net> <1453800262.2759.9.camel@sipsolutions.net> <20160126113652.GC6588@sirena.org.uk> <2829394.8U4Fl4Zf7k@wuerfel> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9ADF8FXzFeE7X4jE" Content-Disposition: inline In-Reply-To: <2829394.8U4Fl4Zf7k@wuerfel> X-Cookie: Brain fried -- Core dumped User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: 94.175.94.161 X-SA-Exim-Mail-From: broonie@sirena.org.uk Subject: Re: [PATCH] Revert "regmap-mmio: Use native endianness for read/write" 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --9ADF8FXzFeE7X4jE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 26, 2016 at 02:16:16PM +0100, Arnd Bergmann wrote: > So if we default to little-endian for all regmap-mmio mappings, and let > the driver or DT override that, and the regmap core already has the > logic to read the ordering from DT, should we remove the parsing of=20 > the byteorder attributes from syscon and just let regmap do its thing? > I was thinking about adding the patch below, but it sounds like we can > just remove the parsing completely. Probably, yes. I've got a patch for that now, just trying to work out what to do to resolve the readl/writel thing without breaking MIPS which is harder than it sounds without doing a proper fix (which I obviously want to avoid in -rc). --9ADF8FXzFeE7X4jE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWp9F8AAoJECTWi3JdVIfQPeAH/1NuWyBzkMyqrW8Z9+74D+bA 11hBLsh/qDLa/NwpaIILF6/UKG8v9c449xy8fcLk9RyVlsIC5+6HGqbbDrNBfB6m ivI0Howvxof26bQyxbXR/HWztqMqlRjXn8N6WBEyu1ZTataGs4w8bKPlmCNcLyP7 FvQqYDnpeSrTE8zt7tfHzF3itSlNS3/u2zHc7hCWAAGwuMUVhyFuzrM/oU70C3c1 6GMsXn8sr9z6A0cegpbYSwnF9zEoDAttKzuq6WvD6/OdqqyTWI1WHX7fqHs3/Y9J zTiGSS7AsvW3rooSQgiAwvHdqlq5hFv1KFdmABKJQADP8l48Xk9mlg1FzbAwWkM= =NQTU -----END PGP SIGNATURE----- --9ADF8FXzFeE7X4jE--