From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755556AbcCUNOe (ORCPT ); Mon, 21 Mar 2016 09:14:34 -0400 Received: from mail.kernel.org ([198.145.29.136]:34506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754400AbcCUNOd (ORCPT ); Mon, 21 Mar 2016 09:14:33 -0400 Date: Mon, 21 Mar 2016 08:14:28 -0500 From: Rob Herring To: Arnd Bergmann Cc: Mark Brown , Xiubo Li , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] regmap: fix documentation to match code Message-ID: <20160321131428.GA28046@rob-hp-laptop> References: <1458235427-3856540-1-git-send-email-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458235427-3856540-1-git-send-email-arnd@arndb.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 17, 2016 at 06:23:40PM +0100, Arnd Bergmann wrote: > The regmap binding talks about one thing, which is register > endianess, and it gets almost every aspect of it wrong. > > This replaces the current text of the file with a version > that makes more sense and that matches what we implement > now. > > Signed-off-by: Arnd Bergmann > Fixes: a06c488da0b0 ("regmap: Add explict native endian flag to DT bindings") > Fixes: 275876e208e2 ("regmap: Add the DT binding documentation for endianness") [...] > +Note: > +Regmap defaults to little-endian register access on MMIO based > +devices, this is by far the most common setting. On CPU This seems a bit Linux specific to me, but I guess if we are defining the binding to be this way it is fine. Acked-by: Rob Herring > +architectures that typically run big-endian operating systems > +(e.g. PowerPC), registers can be defined as big-endian and must > +be marked that way in the devicetree.