Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp259316ybi; Fri, 7 Jun 2019 07:38:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmmtoNXV2bw+i0FWW+O9i8429Gyf/aFIFtk2NEij7veMfZWbBZLehjSL7Gz5FPs9UQzJQB X-Received: by 2002:a63:fa4a:: with SMTP id g10mr2946080pgk.147.1559918299528; Fri, 07 Jun 2019 07:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559918299; cv=none; d=google.com; s=arc-20160816; b=HDUevMBFSK5D/HhwC/zcLNuhZZYyh2syThsy0HMK1eeMHctXsVIW/KIanS9jLOnNU6 kiW5VkoR+LYVxSdvd/EDg7Vm9fMqz4Sx5O9wiyEs6dFQGyuyebzghcy1vjsSyQhQDMxt vk44kBWMOkcC8L9rLRFCdvBbw0vocNPu6dZq6yjaKZHaVmr3U3+vLZqYJjGLQuzLtYcV dfWg84PRftk6NGkpf6DyywuoOERNWQe9/n1PDAp/XKejrOPl+I8+jMCb8XESzERE5BIa zaF7o+3Cz/0881Wh5/qqRyqQt5fZ9IaBWBa4J8nfoPHEMK0lCGjdXEcvADPzh6d+B+Cz 6xGg== 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=PbgS+MrCyf62v/QoiWMCM8gDRSYF5FAZhtz8EjrOEe/L1Bz7M919Kv/rv6nNbFUA6/ kxY/7d/YhnBIFCA/4Q2my3DGkTfGw9qRik9sRhBvw3ZeBs/RlCTWcPY+aj7HGtK9kV2t hnc91S0d1a5ECv9zwHSGaF6pYeHbLf2clUX6W0JrojGuSWmx9ZulTh8JFVnfZtpTEqvZ gEdalWV9LGhSKFQP2V4fvPiSx/OjkbbjfO2nn6DOxzozRkBJaNCYsgKo6yLiEibNvcqy wvljWq3xu4cb2+v9HfuRSUe8wkxhOnad2ef61sE6KGrxh3Qys3MSUBzfBRMJKCPStvUt Ux3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=CASbRO6b; 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 c4si690316pgg.292.2019.06.07.07.38.02; Fri, 07 Jun 2019 07:38:19 -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=CASbRO6b; 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 S1729225AbfFGOfj (ORCPT + 99 others); Fri, 7 Jun 2019 10:35:39 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:50148 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729522AbfFGOfg (ORCPT ); Fri, 7 Jun 2019 10:35:36 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190607143535euoutp01adcfe78d251af7051098593cb261b217~l8UeHyD660114101141euoutp017 for ; Fri, 7 Jun 2019 14:35:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190607143535euoutp01adcfe78d251af7051098593cb261b217~l8UeHyD660114101141euoutp017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1559918135; bh=3WP8EDAu+5H7APsQt9nFgGZ+xA43IHtfClvOa7dqrls=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CASbRO6bne+AKXcLqtSKKK0L1LI8E09gye6ZYl7eVMkOmoqg5xD7mDfII9sNKbWTZ ebiZG3Bfte8cmm7aw9wVBBy6n31mIZ8Jl2e5JlVOeq2RIPH5ZxOcioOHHUjan2iqBX aQqMXOhEjfPk7X/k8i+mgpm50OFNnl0gAPUj1ciY= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190607143534eucas1p1cd2502bda19c9ed1a14d96ebf7b560ac~l8UdNWnxF1837618376eucas1p1N; Fri, 7 Jun 2019 14:35:34 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 9F.D0.04325.6367AFC5; Fri, 7 Jun 2019 15:35:34 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190607143533eucas1p15b29a74650422ff1eb1fec4307333e8d~l8UcPP4nk0703007030eucas1p1S; Fri, 7 Jun 2019 14:35:33 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190607143533eusmtrp2479ff2d4fc4843495a1dde9eb6caaa41~l8Ub-h4jE1498514985eusmtrp21; Fri, 7 Jun 2019 14:35:33 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-a3-5cfa76367dfd Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 5B.56.04146.5367AFC5; Fri, 7 Jun 2019 15:35:33 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190607143532eusmtip162083ae74dbdd3284b983ecc035457a0~l8UbBRqxR2644726447eusmtip1x; Fri, 7 Jun 2019 14:35:32 +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 v9 10/13] ARM: dts: exynos: add chipid label and syscon compatible Date: Fri, 7 Jun 2019 16:35:04 +0200 Message-Id: <20190607143507.30286-11-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190607143507.30286-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSe0hTURz27O4+nM5u09ovs4xRUYaW9OBADzQKLv0VGARlj1k3tdysXV3a i5mUr8wyKtPsHYkVTh1mFpmPMqa2WfZAMzIjo/Ix50QtLbc767/v953v8TuHwxCKTtKfidUm 8DqtOk5FyaQVz0deBq/Qj0YuuThA49K8EhK/G+wm8dX6lyS+a+tCOPVmCYXPmQsluClLg3O6 fhDYYjHSuPn4Txq3GQKw7dRHEr+uukxhe3Y9wnmWJxJ8v76Dxi3m9bg9pYjCdT/TSDz+tlSK q1s34PZfPnjoxWcUpuSGHLlSru/9CZorMLRIuYf5HTRXVpxBcdWF92guO7WX4mp6H0u406Zi xJU3HubsZbM3em2RrdrNx8Xqed3iNTtlMeZnDmJ/E5XUes2BDMhEZiJPBthlUJNxi8pEMkbB FiHo/5bvHgYR5I6lEeJgR9B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RR9YpS4ffcGUIKDg01AT2LHqkKQuIjAHEaJn13bwCYxC5xllti94g0TSLewQJDE 8eefwWwWAVWJW4vOM4PYvAIOEqfmzWGD2CAvsXrDAbA4J1B89rYdbCALhATsJVY9d5jAyLeA kWEVo0hqaXFuem6xoV5xYm5xaV66XnJ+7iZGYBRuO/Zz8w7GSxuDDzEKcDAq8fA6MPyMEWJN LCuuzD3EKMHBrCTCW3bhR4wQb0piZVVqUX58UWlOavEhRlOgmyYyS4km5wMTRF5JvKGpobmF paG5sbmxmYWSOG+HwMEYIYH0xJLU7NTUgtQimD4mDk6pBkb74PpYn59f31/03/DhwZk7xf3q v+paopU+7atnPL1GhOMO+5f5h+8Hu+1oKWd+bPVwbaOapugtxkrWCdezvZau3/60t6rC9o22 67aI7wWhMbVMr9dY3axaefxrUvM/zfzHTC5H17+cJ/fkj3VBtKenRmRTWLzA5XPa71aZNT0K cu+Qsej9eVOJpTgj0VCLuag4EQDY+7Fs2AIAAA== X-CMS-MailID: 20190607143533eucas1p15b29a74650422ff1eb1fec4307333e8d X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190607143533eucas1p15b29a74650422ff1eb1fec4307333e8d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190607143533eucas1p15b29a74650422ff1eb1fec4307333e8d References: <20190607143507.30286-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