Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752300AbcCYGyR (ORCPT ); Fri, 25 Mar 2016 02:54:17 -0400 Received: from mail-am1on0091.outbound.protection.outlook.com ([157.56.112.91]:18336 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751938AbcCYGyN convert rfc822-to-8bit (ORCPT ); Fri, 25 Mar 2016 02:54:13 -0400 X-Greylist: delayed 952 seconds by postgrey-1.27 at vger.kernel.org; Fri, 25 Mar 2016 02:54:12 EDT From: Yangbo Lu To: Scott Wood , Rob Herring CC: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-clk@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "iommu@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-mmc@vger.kernel.org" , Russell King , "Jochen Friedrich" , Joerg Roedel , Claudiu Manoil , "ulf.hansson@linaro.org" , Bhupesh Sharma , "Zhao Qiang" , Kumar Gala , "Santosh Shilimkar" , Yang-Leo Li , Xiaobo Xie Subject: RE: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Thread-Topic: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory Thread-Index: AQHRee0MUT52ykwlLUOEoVgB0sUuLp9pzU3Q Date: Fri, 25 Mar 2016 06:38:16 +0000 Message-ID: References: <1457518131-11339-1-git-send-email-yangbo.lu@nxp.com> <1457518131-11339-4-git-send-email-yangbo.lu@nxp.com> <20160317170640.GB21009@rob-hp-laptop> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [123.151.195.51] x-ms-office365-filtering-correlation-id: d0d3c626-ed71-4621-f5f4-08d354780c82 x-microsoft-exchange-diagnostics: 1;VI1PR0401MB1933;5:8JUTE/Z9YRF4hOVdPte2ielT7nWA5+UrbGkWSlyDZV1AgSDmtN5ChIYRpxP4QJMVntgfjLC4JcyEvVbc1oJZlBF18GXWEvWGz8BS30LAD5EMYBDO578FIZfJAuDeuzQO2n6+XreP8KHqCkblD+Q4Lw==;24:B1FdvnhGYwIvbbpr1I9+ngBTq6x4VmzSW1Jfj4E1yk+T2aqmTwcZ4/XLHP8AbA5vmGcsKlPJ20dcNDRULBNq63E7FXqf37taAQybnLVfnYA= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB1933; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:VI1PR0401MB1933;BCL:0;PCL:0;RULEID:;SRVR:VI1PR0401MB1933; x-forefront-prvs: 0892FA9A88 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(377454003)(13464003)(24454002)(33656002)(122556002)(19580405001)(76576001)(50986999)(1096002)(1220700001)(10400500002)(76176999)(54356999)(5004730100002)(92566002)(86362001)(5001770100001)(5008740100001)(87936001)(11100500001)(66066001)(93886004)(74316001)(5003600100002)(3846002)(102836003)(6116002)(586003)(5002640100001)(189998001)(106116001)(3280700002)(4326007)(2906002)(81166005)(3900700001)(3660700001)(77096005)(2900100001)(2950100001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0401MB1933;H:HE1PR04MB0889.eurprd04.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Mar 2016 06:38:16.8808 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB1933 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3257 Lines: 83 > -----Original Message----- > From: Scott Wood > Sent: Saturday, March 19, 2016 2:16 AM > To: Rob Herring; Yangbo Lu > Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; > linux-kernel@vger.kernel.org; linuxppc-dev@lists.ozlabs.org; linux- > clk@vger.kernel.org; linux-i2c@vger.kernel.org; iommu@lists.linux- > foundation.org; netdev@vger.kernel.org; linux-mmc@vger.kernel.org; > Russell King; Jochen Friedrich; Joerg Roedel; Claudiu Manoil; > ulf.hansson@linaro.org; Bhupesh Sharma; Zhao Qiang; Kumar Gala; Santosh > Shilimkar; Yang-Leo Li; Xiaobo Xie > Subject: Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc > directory > > On 03/17/2016 12:06 PM, Rob Herring wrote: > > On Wed, Mar 09, 2016 at 06:08:49PM +0800, Yangbo Lu wrote: > >> Move guts devicetree doc to > >> Documentation/devicetree/bindings/soc/fsl/ > >> since it's used by not only PowerPC but also ARM. And add a > >> specification for 'little-endian' property. > >> > >> Signed-off-by: Yangbo Lu > >> --- > >> Changes for v2: > >> - None > >> Changes for v3: > >> - None > >> Changes for v4: > >> - Added this patch > >> Changes for v5: > >> - Modified the description for little-endian property Changes for > >> v6: > >> - None > >> --- > >> Documentation/devicetree/bindings/{powerpc => soc}/fsl/guts.txt | 3 > >> +++ > >> 1 file changed, 3 insertions(+) > >> rename Documentation/devicetree/bindings/{powerpc => > >> soc}/fsl/guts.txt (91%) > >> > >> diff --git a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt > >> b/Documentation/devicetree/bindings/soc/fsl/guts.txt > >> similarity index 91% > >> rename from Documentation/devicetree/bindings/powerpc/fsl/guts.txt > >> rename to Documentation/devicetree/bindings/soc/fsl/guts.txt > >> index b71b203..07adca9 100644 > >> --- a/Documentation/devicetree/bindings/powerpc/fsl/guts.txt > >> +++ b/Documentation/devicetree/bindings/soc/fsl/guts.txt > >> @@ -25,6 +25,9 @@ Recommended properties: > >> - fsl,liodn-bits : Indicates the number of defined bits in the LIODN > >> registers, for those SOCs that have a PAMU device. > >> > >> + - little-endian : Indicates that the global utilities block is > little > >> + endian. The default is big endian. > > > > The default is "the native endianness of the system". So absence on an > > ARM system would be LE. > > No. For this binding, the default is big-endian, because that's what > existed for this device before an endian property was added. > > "endianness of the system" is not a well-defined concept. > > > This property is valid for any simple-bus device, > > Since when does simple-bus mean anything more than that the nodes > underneath it can be used without bus-specific knowledge? > > > so it isn't really required to document per device. You can, but your > > description had better match the documented behaviour. > > Documented where? > > In fact, Documentation/devicetree/bindings/common-properties.txt > explicitly says of the endian properties, "If a binding supports these > properties, then the binding should also specify the default behavior if > none of these properties are present." > > -Scott [Lu Yangbo-B47093] So, Rob, could you accept this patch after so much discussion? :)