Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp758498ybi; Fri, 14 Jun 2019 02:54:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxT5V0r/zJQADajww/nYHN2RME2Uwos6ND4CADrfigqHEvL8tqknjeDHgutU3sDEQDf7g+J X-Received: by 2002:a63:1666:: with SMTP id 38mr16971267pgw.428.1560506080793; Fri, 14 Jun 2019 02:54:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560506080; cv=none; d=google.com; s=arc-20160816; b=nKN18+YCiwSMVhJqzqV2eJ/xOV9JZaf4IUEnVVfWH3WhXK8xmYWZP0/x+gHDPhciy0 xWgBN4UHLJCZmrI1lVoGVmtdh++ROZSt+M4GiVsZgbcsu4UDm4jVtkXAbtdviVWcp83F N6okraz8h0BdJ69I8jYXzJ1LM1SeB0t/JYWTM7/NBDMNdMTQImz/m9l/GTe2RN3xTMe+ uEJSzRUMZL0mWwmejJGL3di2HW04YEsI5O/J7MDbGX+Ac4VKHblEXTSTFD/JXArcoxuF ukEZVrLXB9QtTRkh9xJmtHT5s/NMdlx9BhEjKWtzPCHqnDSxm8ZUCQgJRZinu+EZgK5b lDXw== 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=qM0TNZzH6jhDlb+apabgJUpVuVnRtCVGC776m4CTGRyASOjpPskVKRTmO0Z4/gIA+n 3zCgwe2NAIeqpBq54P+4Ks631lhDWPf9Jap10DKeh8PXTrabc7qcNv09hAxNbpDyoozC Z8bs7Q7G8hhIfLCuIhwXjSxxXh6C6h45o8A8ga6TqrmQMk7Qcd3VbyUdITVdTbETQzxP SUHol6JwnnIbZlfGbY4oMEdQkQKOCIay1JdBiQCU5zps1LQyM+6jwErBLQOYXL03NXw6 0scUeDKHLEUWWwCfv91JcxIsPVhHgxtQ5ZPO/ceAAXAqClpgXN3ExEem7bvRy47Rg0iU nfMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="BBoSP/Jf"; 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 w11si1878942pjq.17.2019.06.14.02.54.24; Fri, 14 Jun 2019 02:54:40 -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="BBoSP/Jf"; 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 S1727513AbfFNJx6 (ORCPT + 99 others); Fri, 14 Jun 2019 05:53:58 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:54618 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727389AbfFNJxd (ORCPT ); Fri, 14 Jun 2019 05:53:33 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190614095331euoutp0246b9a8ed920aab05e1c1144b2d6a973f~oB-MtV1NI1678516785euoutp025 for ; Fri, 14 Jun 2019 09:53:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190614095331euoutp0246b9a8ed920aab05e1c1144b2d6a973f~oB-MtV1NI1678516785euoutp025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1560506011; bh=3WP8EDAu+5H7APsQt9nFgGZ+xA43IHtfClvOa7dqrls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BBoSP/JfJJTRgXu0aKvZ/4X9ssVCKBtOs7zD0rbMszqWiCklG5z3OUGy2w+O+b941 CjqsGDBKsPEyBspJ4nvIeTEQEgvYEjQrk4sAOnHnJuEMfTBJb8nSJ+Hm95Dg3K+/TZ FO569DTUyEyVJDHEEu0bB2hYGVt+GpxufZRxY+eM= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190614095330eucas1p1484189a2d0e7f14ae2ed9a6567e31d47~oB-L2A05u1135711357eucas1p1U; Fri, 14 Jun 2019 09:53:30 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id F9.F1.04325.A9E630D5; Fri, 14 Jun 2019 10:53:30 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190614095329eucas1p267244e53d4f5612c46d6cc2c6bc0ed75~oB-K1Qhk20481304813eucas1p2E; Fri, 14 Jun 2019 09:53:29 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190614095329eusmtrp2a2f884bccaf5c5740f0273008ab65404~oB-Klccoq2148621486eusmtrp2E; Fri, 14 Jun 2019 09:53:29 +0000 (GMT) X-AuditID: cbfec7f5-b75ff700000010e5-27-5d036e9ab2a2 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 19.EA.04140.99E630D5; Fri, 14 Jun 2019 10:53:29 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190614095328eusmtip25b243a5db5b914867ff8f07033c2204d~oB-JotxdA2320823208eusmtip2S; Fri, 14 Jun 2019 09:53:28 +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 v10 10/13] ARM: dts: exynos: add chipid label and syscon compatible Date: Fri, 14 Jun 2019 11:53:06 +0200 Message-Id: <20190614095309.24100-11-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190614095309.24100-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTYRjG+3Z2Lq4mxyn5ZVGwblY4uxEfWlmRcIqCQDQyRq08qbhN21HT jFjKrKxVJNmy5rTswso0XZZWXqZmrMuyiUVmaAuM1Mx0gqSWp7Pqv+d93t/7Pu8HH4XJuvEg KlGbyuq0KrWckIirn469CinUYsrlnUML0D1TOY7ejvTiyNL8Cke3h9wA5VwrJ1C+wyxCL05p 0Fl3H4aczgoSvczuJ9F7/Rw0dPojjly1Vwg0bGwGyOSsE6Gy5i4StTkiUeexWwRq6j+Oo8mO e2JU374Vdf70RaPPPoENgcyo57yYGXxnIJnL+jYxU1PYRTKV1pMEU2++QzLGnG8E0/jtsYg5 Y7MCpup5FjNcOXfH9FjJ2jhWnZjO6kLX75UkOFo8WMoLIqO92AP0wIbnAR8K0quhJbeDzAMS SkbfAr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C4mMSkfdvZ IWxhiT/XuthAbCGBT4wS7x66gvSyCehJ7FhVCNIrIjCHUeJn1zZGEIdZ4CyzxO4Vb8AGCQsE S8y89hOsmUVAVeLPz8tgcV4BB4kZD48wQiyQl1i94QAziM0JFD86/w0byAIhAXuJ7zP4JzDy LWBkWMUoklpanJueW2ykV5yYW1yal66XnJ+7iREYgduO/dyyg7HrXfAhRgEORiUe3gNWTLFC rIllxZW5hxglOJiVRHjnWTPHCvGmJFZWpRblxxeV5qQWH2I0BbppIrOUaHI+MDnklcQbmhqa W1gamhubG5tZKInzdggcjBESSE8sSc1OTS1ILYLpY+LglGpgnNjlpVqiWWz1Vvi9+7RClr6w k78nOGR91Cra++UcV97r6xtr5uv94rq5eI+12qRdGRM+/lDrzIiMiVMNfOaXqHdXlEsm5MuG b+v/bfGunNo/oangoWncfRbJqFtCttKh0zpPFxjs2XSL93TQBSG7BrllWSUFuvuUIjf2/V2m do7nuemnDQZ+SizFGYmGWsxFxYkAOuKcwdYCAAA= X-CMS-MailID: 20190614095329eucas1p267244e53d4f5612c46d6cc2c6bc0ed75 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190614095329eucas1p267244e53d4f5612c46d6cc2c6bc0ed75 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190614095329eucas1p267244e53d4f5612c46d6cc2c6bc0ed75 References: <20190614095309.24100-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