Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755945Ab3IFQ6l (ORCPT ); Fri, 6 Sep 2013 12:58:41 -0400 Received: from smtp.codeaurora.org ([198.145.11.231]:59373 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752605Ab3IFQ6i (ORCPT ); Fri, 6 Sep 2013 12:58:38 -0400 Message-ID: <522A09BD.3090802@codeaurora.org> Date: Fri, 06 Sep 2013 09:58:37 -0700 From: Rohit Vaswani User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Kumar Gala CC: David Brown , Rob Herring , Pawel Moll , Mark Rutland , Stephen Warren , Ian Campbell , Russell King , Daniel Walker , Bryan Huntsman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCHv2 1/2] ARM: msm: Add support for MSM8974 Dragonboard References: <1378425890-4225-1-git-send-email-rvaswani@codeaurora.org> <97899226-465A-4B78-9FFD-B6B14136420B@codeaurora.org> In-Reply-To: <97899226-465A-4B78-9FFD-B6B14136420B@codeaurora.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1935 Lines: 81 On 9/6/2013 7:28 AM, Kumar Gala wrote: > On Sep 5, 2013, at 7:04 PM, Rohit Vaswani wrote: > >> diff --git a/arch/arm/boot/dts/msm8974-db.dts b/arch/arm/boot/dts/msm8974-db.dts >> new file mode 100644 >> index 0000000..74106a8 >> --- /dev/null >> +++ b/arch/arm/boot/dts/msm8974-db.dts >> @@ -0,0 +1,7 @@ >> +/include/ "msm8974.dtsi" >> + >> +/ { >> + model = "Qualcomm MSM8974 Dragonboard"; >> + compatible = "qcom,msm8974-db", "qcom,msm8974"; >> +}; >> + >> diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi >> new file mode 100644 >> index 0000000..aa3bb2f >> --- /dev/null >> +++ b/arch/arm/boot/dts/msm8974.dtsi >> @@ -0,0 +1,30 @@ >> +/dts-v1/; >> + >> +/include/ "skeleton.dtsi" >> + >> +/ { >> + model = "Qualcomm MSM8974"; >> + compatible = "qcom,msm8974"; >> + interrupt-parent = <&intc>; >> + >> + soc: soc { }; >> +}; >> + >> +&soc { > We should probably have: > > #address-cells = <1>; > #size-cells = <1>; > ranges; > compatible = "simple-bus"; Sure. Not sure how that got left off. > >> + intc: interrupt-controller@f9000000 { >> + compatible = "qcom,msm-qgic2"; >> + interrupt-controller; >> + #interrupt-cells = <3>; >> + reg = < 0xf9000000 0x1000 >, >> + < 0xf9002000 0x1000 >; >> + }; >> + > Let's be consistent on white space around < > Done. > >> + timer { >> + compatible = "arm,armv7-timer"; >> + interrupts = <1 2 0xf08>, >> + <1 3 0xf08>, >> + <1 4 0xf08>, >> + <1 1 0xf08>; >> + clock-frequency = <19200000>; >> + }; > > >> +}; Thanks, Rohit Vaswani -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/