From patchwork Tue Feb 6 11:25:52 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maciej Purski X-Patchwork-Id: 10202791 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 AA36D60327 for ; Tue, 6 Feb 2018 11:26:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BAAA283D8 for ; Tue, 6 Feb 2018 11:26:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6FFEF28871; Tue, 6 Feb 2018 11:26:08 +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=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9DF7B283D8 for ; Tue, 6 Feb 2018 11:26:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752574AbeBFL0H (ORCPT ); Tue, 6 Feb 2018 06:26:07 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:32845 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752278AbeBFL0F (ORCPT ); Tue, 6 Feb 2018 06:26:05 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180206112603euoutp02aa8d23c5361cbccecb5d909419b00329~QuOP5FEmn2999529995euoutp02A; Tue, 6 Feb 2018 11:26:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180206112603euoutp02aa8d23c5361cbccecb5d909419b00329~QuOP5FEmn2999529995euoutp02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1517916363; bh=ZrkzcfCtLKc1IL8fjY+lDTLfSV5OR5jceLx32sngFbE=; h=From:To:Cc:Subject:Date:References:From; b=tGFUkEHT3yi+VjpBPoRePgyWUWQi42bPoOv/kneze2Zf+BG3JlhB6lL8jhd1u3WNx jxr6Joi4pR8LNA4X9LglAzPfewigsthAz0deEIWgezu4pPeZbJVJEMw18Hvfij2rxi n2oaJqWZY80U6YP4LI94wA3Bv9siwGvnqUobBYqk= Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180206112603eucas1p294500aa97338b0032b8c2fbe35b1c3a7~QuOPPYqbA1232712327eucas1p2K; Tue, 6 Feb 2018 11:26:02 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 17.4E.30163.AC0997A5; Tue, 6 Feb 2018 11:26:02 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180206112602eucas1p28e3a797fe752adc65dbe7571aa02a8aa~QuOOhQ-vu1081910819eucas1p2x; Tue, 6 Feb 2018 11:26:02 +0000 (GMT) X-AuditID: cbfec7f4-f790c6d0000075d3-19-5a7990ca785f Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id FE.06.18832.AC0997A5; Tue, 6 Feb 2018 11:26:02 +0000 (GMT) Received: from AMDC2075.DIGITAL.local ([106.120.51.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P3Q003GY7R8Z1A0@eusync1.samsung.com>; Tue, 06 Feb 2018 11:26:02 +0000 (GMT) From: Maciej Purski To: linux-samsung-soc@vger.kernel.org Cc: Kukjin Kim , Krzysztof Kozlowski , devicetree@vger.kernel.org, m.szyprowski@samsung.com, b.zolnierkie@samsung.com, Maciej Purski Subject: [PATCH] ARM: dts: exynos: Use pmu label in exynos4412 Date: Tue, 06 Feb 2018 12:25:52 +0100 Message-id: <1517916352-13614-1-git-send-email-m.purski@samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCIsWRmVeSWpSXmKPExsWy7djPc7qnJlRGGRxeqGuxccZ6Vov5R86x WvQ/fs1scf78BnaLGef3MVkseHmLxWLtkbvsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxv2DuQX7uCqe7HvF1sC4haOLkYNDQsBE4lOTZRcjJ5ApJnHh3nq2LkYuDiGBpYwS n979Z4JwPjNKPDn3lRmiykTizO4zTCC2kMAyRon1j3Qgiv4zShz93swGMpVNQEtiTXs8SI2I gKrE57YF7CA1zAKHgKa2XGIHSQgL2Ensn3cBzGYBKjr67zUbiM0r4CLRtvcrE8QyOYmb5zqZ QZolBJ6ySjx4fJcFIuEi8ftMNxuELSzx6vgWdghbRqKz4yBUc7XExa+7oGpqJBpvb4CqsZb4 PGkL2DfMAnwSk7ZNZ4YEBa9ER5sQRImHxLV9N6HKHSU+floE9XCsxOm/r9kmMEotYGRYxSiS Wlqcm55abKJXnJhbXJqXrpecn7uJERh3p/8d/7KDcfExq0OMAhyMSjy8O1IrooRYE8uKK3OB gcDBrCTCm9FUGSXEm5JYWZValB9fVJqTWnyIUZqDRUmc1zaqLVJIID2xJDU7NbUgtQgmy8TB KdXAmJFRf+nJkeO/DO6aBB26Pic98+YEjw0bCl+lRuumap752vQyN2fKC4vd8rfmcfE4PRZz bxTXu2sja3/n28dCo8+fD+X4LFppx/A2xehP+b9O7ZqzuucWu/39X7j1xc3kWfolVx3EitPV Jy8UW7Rma0v1LsWJ6xdevvzV9Iaa59W37PlxHyfl8iqxFGckGmoxFxUnAgCvPIQRtwIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAJMWRmVeSWpSXmKPExsVy+t/xy7qnJlRGGUw8xWOxccZ6Vov5R86x WvQ/fs1scf78BnaLGef3MVkseHmLxWLtkbvsDuwem1Z1snn0bVnF6PF5k1wAcxSXTUpqTmZZ apG+XQJXxv2DuQX7uCqe7HvF1sC4haOLkZNDQsBE4szuM0wQtpjEhXvr2boYuTiEBJYwSjy7 vokRwmlkkph2ZQeQw8HBJqAlsaY9HqRBREBV4nPbAnaQGmaBQ4wS+9Y9YwdJCAvYSeyfdwHM ZgEqOvrvNRuIzSvgItG29yvUNjmJm+c6mScwci9gZFjFKJJaWpybnltsqFecmFtcmpeul5yf u4kRGA7bjv3cvIPx0sbgQ4wCHIxKPLw7UiuihFgTy4orc4GWcjArifBmNFVGCfGmJFZWpRbl xxeV5qQWH2KU5mBREuc9bwCUEkhPLEnNTk0tSC2CyTJxcEo1MLa+u7dsgmdLWLci+663+zZN UnnMeXjDdN1PbvG3655rl6ffz/3B4hfmZZb8vfr5xIknA56m3b17Yoed61uhxtglZfUTK1cv Yiv3DRFeF63jsfDczV88xvttXl75/qPPanuCXpTXoX67wj1Ju09nL6h+klOQyvFK8v40p7L6 0zr9H23lDkuu/6/EUpyRaKjFXFScCABcXvHDAwIAAA== X-CMS-MailID: 20180206112602eucas1p28e3a797fe752adc65dbe7571aa02a8aa X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180206112602eucas1p28e3a797fe752adc65dbe7571aa02a8aa X-RootMTR: 20180206112602eucas1p28e3a797fe752adc65dbe7571aa02a8aa References: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP In order to use soc node, we need to reference soc child nodes by label in exynos4412. Define pmu label in exynos4.dtsi. Use it in exynos4412 instead of redefining the node. Signed-off-by: Maciej Purski --- arch/arm/boot/dts/exynos4.dtsi | 2 +- arch/arm/boot/dts/exynos4412.dtsi | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 6d4775a..da284f3 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -162,7 +162,7 @@ reg = <0x10440000 0x1000>; }; - pmu { + pmu: pmu { compatible = "arm,cortex-a9-pmu"; interrupt-parent = <&combiner>; interrupts = <2 2>, <3 2>; diff --git a/arch/arm/boot/dts/exynos4412.dtsi b/arch/arm/boot/dts/exynos4412.dtsi index a6f3f59..e012cda 100644 --- a/arch/arm/boot/dts/exynos4412.dtsi +++ b/arch/arm/boot/dts/exynos4412.dtsi @@ -546,10 +546,6 @@ opp-hz = /bits/ 64 <100000000>; }; }; - - pmu { - interrupts = <2 2>, <3 2>, <18 2>, <19 2>; - }; }; &combiner { @@ -724,6 +720,9 @@ <&clock CLK_SCLK_HDMI>, <&clock CLK_VP>; }; +&pmu { + interrupts = <2 2>, <3 2>, <18 2>, <19 2>; +}; &pmu_system_controller { compatible = "samsung,exynos4412-pmu", "syscon";