Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941566AbcKOKGo (ORCPT ); Tue, 15 Nov 2016 05:06:44 -0500 Received: from lelnx194.ext.ti.com ([198.47.27.80]:57140 "EHLO lelnx194.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941425AbcKOKGl (ORCPT ); Tue, 15 Nov 2016 05:06:41 -0500 Subject: Re: [PATCH 1/2] ARM: dts: da850: add the mstpri and ddrctl nodes To: Bartosz Golaszewski , Kevin Hilman , Michael Turquette , Rob Herring , Frank Rowand , Mark Rutland , Peter Ujfalusi , Russell King References: <1479144724-14231-1-git-send-email-bgolaszewski@baylibre.com> <1479144724-14231-2-git-send-email-bgolaszewski@baylibre.com> CC: LKML , arm-soc , linux-drm , linux-devicetree , Jyri Sarha , Tomi Valkeinen , David Airlie , Laurent Pinchart From: Sekhar Nori Message-ID: Date: Tue, 15 Nov 2016 15:35:52 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1479144724-14231-2-git-send-email-bgolaszewski@baylibre.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1525 Lines: 48 On Monday 14 November 2016 11:02 PM, Bartosz Golaszewski wrote: > Add the nodes for the MSTPRI configuration and DDR2/mDDR memory > controller drivers to da850.dtsi. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/boot/dts/da850.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi > index 1bb1f6d..1635218 100644 > --- a/arch/arm/boot/dts/da850.dtsi > +++ b/arch/arm/boot/dts/da850.dtsi > @@ -440,6 +440,11 @@ > interrupts = <52>; > status = "disabled"; > }; > + > + mstpri: mstpri@14110 { > + compatible = "ti,da850-mstpri"; > + reg = <0x14110 0x0c>; > + }; Instead of adding the node to the end, can you place it above the cfgchip node to keep it sorted by reg. We have not really followed that in this file. May be we should have. But lets start with this. > }; > aemif: aemif@68000000 { > compatible = "ti,da850-aemif"; > @@ -451,4 +456,8 @@ > 1 0 0x68000000 0x00008000>; > status = "disabled"; > }; > + ddrctl: ddrctl@b0000000 { > + compatible = "ti,da850-ddr-controller"; > + reg = <0xb0000000 0xe8>; > + }; Can you name the node memory-controller@b0000000? Thats the generic name suggested by ePAPR 1.1 for memory controllers. I could not find any naming suggestions for the bus master priority controller above, but based on the pattern used for other controllers, may be it should be called priority-controller@14110 instead of mstpri@14110 Thanks, Sekhar