Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2100745ybi; Mon, 1 Jul 2019 06:13:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjMdPOOTaeHtfo0lpY6uWqoyLV52Fb3o3lLXgzEPLMWZ7juRognRtYbkhJcXm4lP+QlIB0 X-Received: by 2002:a17:902:112c:: with SMTP id d41mr28616987pla.33.1561986784793; Mon, 01 Jul 2019 06:13:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561986784; cv=none; d=google.com; s=arc-20160816; b=XLTpVyLcUw9a+G5bPilopPDTxJRcHQZBIR2elZbdBsg/fxH4dwt2tHCUkD3JE4HNk2 +4V1cixw9h3UF4En1zWK31jDPFB6gYqJCOsM9S9Q99uNoHqnok6a0h6U28LYDDTSXq2g iAaMZtXW72TKTcvgVgeOK4/gdhG+uBfm69FDsQZzG75kqTI6xcsNM85DAlSNxqS9HVSb JCm0Wip14zxHjomGSX3NHFjCLluE7UUHSCzA41XEhmJ/Sm2TV0sqbaveJqanqYhjfz8v t3RFHUAAKs3NNhGAZvLj7ri6BwFbUc6LDrBYb/cStkRADWmce1EzgiUord1EwWyoHybA z0EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=3WP8EDAu+5H7APsQt9nFgGZ+xA43IHtfClvOa7dqrls=; b=aZwPPWcNZkv3wkbe/5l4vY7pw/jbomAcFcspCE0hg9rJPzCcvDAp1Ne2w2Ym8ZOfYe HE8+taRWnKI8uw+dM+Su26N4jxclRHqyUcW+bixxeF1s/onsdhQ978hrn7SoKcuJTki9 PbA4U/46HeVmJ1UrFjT45x1jHSnBfQuL6PCKQRXkoaHBdeOA5yumoWCGySQmwfDpxp4L C8OqZYZthb33RCk6PKwGokEFVDbtpbXNdUHwUQWyB2HgRLOLc7VmKWujE8Q7gLmUCg5l QV5V5oIMlIi/LI5VKy4kH1bzDJv+W8JwXR2d6Tv4IyB2ltd3QHAKfrVfc1L24lTyPR5S lHeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pYbmHMXq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si9130208plr.131.2019.07.01.06.12.49; Mon, 01 Jul 2019 06:13:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=pYbmHMXq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728274AbfGANM2 (ORCPT + 99 others); Mon, 1 Jul 2019 09:12:28 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49180 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728705AbfGANL5 (ORCPT ); Mon, 1 Jul 2019 09:11:57 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190701131156euoutp021b35ca5d29cebf4d353894f0530dc9c8~tSqSwLAWZ1207912079euoutp02W for ; Mon, 1 Jul 2019 13:11:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190701131156euoutp021b35ca5d29cebf4d353894f0530dc9c8~tSqSwLAWZ1207912079euoutp02W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1561986716; bh=3WP8EDAu+5H7APsQt9nFgGZ+xA43IHtfClvOa7dqrls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pYbmHMXqJPZJXoyxn2ub6VHICC1AdjDg4fbEwEXHVXm5XF5qhovbddyeY3+XHM53G qzVoyrIRgxuJpmRIcaAfStbafO9o1r2S36RBr/gmJ51gtoFpboHh3M2cWBbm0Epgqh XjAJFqtmG0tSYWSnACUXnMemX5yQ4Qej8+BAx6gs= 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/bsE8eUvfIRhxsoKOaU23IgCzUBeTMAucFOT2d6AKSs0ouA0FJ fDxjF5TcMIKs0ROSMITANFJJ/ksUxd8gJC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Hp7jvGLkYODjYBPYkdqwpB4iICcxglfnZtYwRxmAXOMkvsXvGGCaRbWCBQ 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 Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190701131155eucas1p1f51297a17dd902fc431f62234ef5e677 References: <20190701131138.22666-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; }; -- 2.17.1