From patchwork Mon Jul 3 07:34:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Varadarajan Narayanan X-Patchwork-Id: 9822081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3152560353 for ; Mon, 3 Jul 2017 07:35:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 25BA126E51 for ; Mon, 3 Jul 2017 07:35:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A23628372; Mon, 3 Jul 2017 07:35:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 931F126E51 for ; Mon, 3 Jul 2017 07:35:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=kdGt1Gk+V38zGGY/+dXKz4mGRoBY+nZqO76uZs+6aqo=; b=AuLNtpGoO9h+a1mJKN76NmAOp5 2RF+eOTs9NrceV7VHtq/F9eBwLAf6CYOoj4fDGyWDj5xIAHwdXgsS5DuZUFMvg9JMBLLOQyxxa9Vx 1PCqtrJLZwMt2VVsLrQR+zem+cCcoEihjWeQ1bRfr68UNV+GPKFAFvIeFJA3+rXwol5v8fbbHW4yl 6anbh4Che6UgNlEChg03Jg05NDV5XuV13+yO3RbpdIIKfStjQcMA2BfKdq2LMu4H5BNTwA453/bZ0 gqHHc9ZmFpWpsKrWPpXW+CA2nWswug46z6I2nEwlNKgaTakUac/NPjtDQ5P3BmeEEKp1bKnW7xYzI YOOjazFQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dRvtb-0006IZ-T6; Mon, 03 Jul 2017 07:35:47 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dRvtH-0005hC-9w for linux-arm-kernel@lists.infradead.org; Mon, 03 Jul 2017 07:35:29 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id A9969607A7; Mon, 3 Jul 2017 07:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1499067309; bh=bx5GXM+Xur62PU0+XXawCRhq25uoU1nnJiM/maWn4XE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VUAJpiGfEShcb5t38xHs8WisOlUhN3jzD1Epr0qeKZ3Y3yUY4za4lhY+fBBggVGLD XIX+iB5o1zSYV6t+9JBJz1XVffzWNae48eg8D34YMyIPK2MpFPSA+jMkY99oR6Y9GV th07tjrRzYcilDun3goragThSksiCKwic2Mqvu+s= Received: from varda-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: varada@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 9CB5260AD7; Mon, 3 Jul 2017 07:35:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1499067308; bh=bx5GXM+Xur62PU0+XXawCRhq25uoU1nnJiM/maWn4XE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Hpr0XjIEg5dS1qGPr5WkylaBrSYJFVIBlJF0nP1U805mIbF0hd7g6cah+aUvDxVYT IgnfjcsgdfstKhc+PvwiImTZjGlgTtHObIGWbdFsO7yPmyu+OKv3fMIrnFYfM84SkB e97X2Eck6+Nj06cp8IXHX1D9R6HE8Czo+JMaNvYs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9CB5260AD7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=varada@codeaurora.org From: Varadarajan Narayanan To: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] Subject: [PATCH] dts: ipq4019: Move xo and timer nodes to SoC dtsi Date: Mon, 3 Jul 2017 13:04:44 +0530 Message-Id: <1499067284-21008-3-git-send-email-varada@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499067284-21008-1-git-send-email-varada@codeaurora.org> References: <1499067284-21008-1-git-send-email-varada@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170703_003527_462174_567B1BF4 X-CRM114-Status: GOOD ( 10.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Varadarajan Narayanan MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The node for xo and timer belong to the SoC DTS file. Else, new board DT files may not inherit these nodes. Signed-off-by: Varadarajan Narayanan --- arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 -------- arch/arm/boot/dts/qcom-ipq4019.dtsi | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi index de83bc9..c055a57 100644 --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi @@ -20,14 +20,6 @@ model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; compatible = "qcom,ipq4019"; - clocks { - xo: xo { - compatible = "fixed-clock"; - clock-frequency = <48000000>; - #clock-cells = <0>; - }; - }; - soc { pinctrl@1000000 { serial_pins: serial_pinmux { diff --git a/arch/arm/boot/dts/qcom-ipq4019.dtsi b/arch/arm/boot/dts/qcom-ipq4019.dtsi index 6defd0e..f4765e4 100644 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi @@ -96,6 +96,21 @@ clock-frequency = <32768>; #clock-cells = <0>; }; + + xo: xo { + compatible = "fixed-clock"; + clock-frequency = <48000000>; + #clock-cells = <0>; + }; + }; + + timer { + compatible = "arm,armv7-timer"; + interrupts = <1 2 0xf08>, + <1 3 0xf08>, + <1 4 0xf08>, + <1 1 0xf08>; + clock-frequency = <48000000>; }; soc {