From patchwork Mon Jul 1 13:11:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11025907 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D29813B1 for ; Mon, 1 Jul 2019 13:12:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4F9C3204FA for ; Mon, 1 Jul 2019 13:12:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 42C34285CD; Mon, 1 Jul 2019 13:12:24 +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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable 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 E485A2018E for ; Mon, 1 Jul 2019 13:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728727AbfGANMW (ORCPT ); Mon, 1 Jul 2019 09:12:22 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:57944 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728756AbfGANL6 (ORCPT ); Mon, 1 Jul 2019 09:11:58 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190701131157euoutp012de8ad39bcb49381bc0d8031855dbb68~tSqTDD9Nr2458924589euoutp01i for ; Mon, 1 Jul 2019 13:11:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190701131157euoutp012de8ad39bcb49381bc0d8031855dbb68~tSqTDD9Nr2458924589euoutp01i DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561986717; bh=3WP8EDAu+5H7APsQt9nFgGZ+xA43IHtfClvOa7dqrls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZkVvb9x6XuzlCS15am3RgkK31F3w2oiL7yCRqFDPW54YZKoIess+ndy6lmY0//DHM J3lLEn5FOPxViVVlKleB4OZ/ODF95vqYou8HgTRXWpTJpiQViotvm0C/odHekfhq5t TNIovEieopdzSxY3h4fuV+ORkrJ3OvtHg3NjHNDA= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190701131156eucas1p18fe3f9d993e0f29d29cf24a5079cfef7~tSqSAoocr2887728877eucas1p1C; Mon, 1 Jul 2019 13:11:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 35.87.04325.B960A1D5; Mon, 1 Jul 2019 14:11:55 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677~tSqRL5l-m1003810038eucas1p1M; Mon, 1 Jul 2019 13:11:55 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190701131155eusmtrp2edc7471d6b24b073583c79efc33480ee~tSqQ9wQRL0788807888eusmtrp2E; Mon, 1 Jul 2019 13:11:55 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-df-5d1a069b4488 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 05.EA.04140.A960A1D5; Mon, 1 Jul 2019 14:11:54 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190701131154eusmtip1fba7469971607afadf65bde5a40b0d11~tSqQA8iKX2804728047eusmtip1T; Mon, 1 Jul 2019 13:11:53 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org Cc: mturquette@baylibre.com, sboyd@kernel.org, b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, keescook@chromium.org, tony@atomide.com, jroedel@suse.de, treding@nvidia.com, digetx@gmail.com, gregkh@linuxfoundation.org, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v11 6/9] ARM: dts: exynos: add chipid label and syscon compatible Date: Mon, 1 Jul 2019 15:11:35 +0200 Message-Id: <20190701131138.22666-7-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190701131138.22666-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSZ0xTURjl9k2qxWcx9hNXUjcqDtBcRwQSTV5c0fADoyFa5AWItGgfKKjB KnFTNDUqggRwBGSVUWXEsBUDSEVRlCEGElFAFKEYByrl1fjv3DO+892byxLKLsqNDdVFCHqd JkxNy8kHj783Lk2i3QKW3zV54vwEM4VbhnsonFLTSOGswW6EY2+baXylLlmGGy5q8aXuPgJb rXkMfnqqn8Gthhl4MO4thV+U3qTxkLEG4QRrmQzn1HQwuKluE247mUHj6v6zFP79Kp/E5c2b cdtPFzzypAv5qPgRm4nkP78+zfBJhiaSL0nsYPiCzPM0X56czfDG2AGarxx4KOPjLZmIL6w/ xg8VzNoxYbd8fZAQFnpY0C/bsE8eUvfIRhxso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2MG5h7WLk5JAQMJHY3jeTuYuRi0NIYCmjxKT3y6ESYhKT9m1nh7CF Jf5c62KDKPrEKHHp7jvGLkYODjYBPYkdqwpB4iICcxglfnZtYwRxmAXOMkvsXvGGCaRbWCBQ Yu+zB2A2i4CqxPbLPSwgNq+AvUT7mjZmiA3yEqs3HACzOQUcJC59vcsGYgsB1axbfINxAiPf AkaGVYwiqaXFuem5xUZ6xYm5xaV56XrJ+bmbGIFxuO3Yzy07GLveBR9iFOBgVOLh1bglESvE mlhWXJl7iFGCg1lJhHf/CslYId6UxMqq1KL8+KLSnNTiQ4ymQEdNZJYSTc4Hpoi8knhDU0Nz C0tDc2NzYzMLJXHeDoGDMUIC6YklqdmpqQWpRTB9TBycUg2MG9XO6e7V1lvzdkrSGg2TD1du ZQffzw5nMNS8t0VOs/zKief5k1/+Za9Pu636+HDMJf1/Sx9Yrw24Exa1qLjM7cWDA0lHXy4T XVDNyPNyAuN0pdeePgZaelU1c/M+rl0Y++7JGzG76+bFax8U582KncQu9nMav1gYN/ciEdHZ spsPRT3REpSoUGIpzkg01GIuKk4EAPVNaMfZAgAA X-CMS-MailID: 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677 X-Msg-Generator: CA X-RootMTR: 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677 References: <20190701131138.22666-1-l.luba@partner.samsung.com> 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 Add the chipid label which allows to use it in phandle from other device. Use syscon in compatible to get the regmap of the device register set. The chipid is used in DMC during initialization to compare compatibility. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index 67f9b4504a42..4801ca759feb 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -35,8 +35,8 @@ #size-cells = <1>; ranges; - chipid@10000000 { - compatible = "samsung,exynos4210-chipid"; + chipid: chipid@10000000 { + compatible = "samsung,exynos4210-chipid", "syscon"; reg = <0x10000000 0x100>; };