From mboxrd@z Thu Jan 1 00:00:00 1970 From: valentin.longchamp@keymile.com (Valentin Longchamp) Date: Thu, 23 May 2013 15:17:52 +0200 Subject: [PATCH] ARM: kirkwood: refactor dtsi to largest common nodes In-Reply-To: <20130523114025.GO31290@titan.lakedaemon.net> References: <1369301130-29900-1-git-send-email-valentin.longchamp@keymile.com> <20130523114025.GO31290@titan.lakedaemon.net> Message-ID: <519E1700.5040906@keymile.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Jason, On 05/23/2013 01:40 PM, Jason Cooper wrote: > Valentin, > > On Thu, May 23, 2013 at 11:25:30AM +0200, Valentin Longchamp wrote: >> Some kirkwood variants (for instance present in the prestera SoCs) do >> not have all the peripherals whose nodes are initialized in the >> kirkwood.dtsi. These missing peripherals are SATA, SDIO, and RTC. > > Could you provide a little more detail here about the exact problem this > is solving? Sure, I will add more detail. > >> Their corresponding nodes are moved from kirkwood.dtsi to the >> kirkwood-628x.dtsi files so that they still are initialized for these >> variants. >> >> Signed-off-by: Valentin Longchamp >> --- >> arch/arm/boot/dts/kirkwood-6281.dtsi | 24 ++++++++++++++++++++++++ >> arch/arm/boot/dts/kirkwood-6282.dtsi | 24 ++++++++++++++++++++++++ >> arch/arm/boot/dts/kirkwood.dtsi | 24 ------------------------ >> 3 files changed, 48 insertions(+), 24 deletions(-) > > What about kirkwood-nsa310.dts? > Argh, this one slipped through my net when I checked that all .dts except km_kirkwood somehow include 628[x].dtsi. I guess it would be OK to just include kirkwood-6281.dtsi in kirkwood-nsa310.dts as well. Does someone have access to the HW to actually test it ? Valentin