Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2578022yba; Mon, 6 May 2019 08:15:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqwiYJ1WFxdZLUV+qjlnnalHBImkskU4LchNTcQPOeEB2jUbq+W+8wOuR15/3QKNexwDDvSq X-Received: by 2002:a65:4b88:: with SMTP id t8mr32535584pgq.374.1557155720278; Mon, 06 May 2019 08:15:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557155720; cv=none; d=google.com; s=arc-20160816; b=hkfSjwY5tdiWggOqZKBRMrLvQnYxSBAuJWCrsLRpLJbZgVF0LKb0G5Eq7StNBp37Fl Yy0qR0R3e5lk7o8/HM2dHjc+SSPmkTcjU0fcrNDIlFXIJz2zMM4aJ426AFsqWOhCeAT/ 5Ib4ymrtGtEn5sLahGfORhqWt1deW8gGwwkUv5tJn/nKp553+AqzTe2I6L+PZbnqAZz1 NeuEFhujm9p9GcyohbccNW0vE3YWzGKFlYA453819A9UiUCZ4DzbxvcYo+LF+/QL+Yr8 dt7Kve74B4NK/sB6hWCgF232OjRBqjHThDvDUdehiI2ib1vtdFvwl6bqLU3hgqbV1/vc xC1Q== 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=dbC39dHhZokC+Zaz0CxIqpmaX0JLlXOu8hvQxqLnfeU=; b=iOXbDa1HlsgoHbxoPcH8BFLfWrvUJ8wjUiQhs/AQ2jzrn2xUSbutEnP2abuE9sH5tF igv0kEDZ5gcYddcGeel3J9E0Qtj22ruJkOrXPLs32cLO33fYbLAGbkWb76JL2HyLvDhh dfrGV8Kwi4qUEdmK5KMSQ60jLVb4iiAIkupLq7xuszMLuJ/OxnwjiXDoaSgnYizF0BuC qnR8LYvWCRKLgFLfLEtRNifa/LKai57ezZEzpGUg0urPUBYuqBREI2kZ++P/xSurlJ3L JkCmdponZa5Ka9Vb4PBDT2TjOWX1gYw7RKj5ZkveXvTRab0G0KNZlcIII824JM/kH34q +TSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=ZtoMYkX1; 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 e1si16842495pln.52.2019.05.06.08.15.04; Mon, 06 May 2019 08:15:20 -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=ZtoMYkX1; 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 S1726988AbfEFPMy (ORCPT + 99 others); Mon, 6 May 2019 11:12:54 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:50050 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbfEFPMV (ORCPT ); Mon, 6 May 2019 11:12:21 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190506151220euoutp02272eae41199d9f4ab19301e6e346da05~cILaqTKFh3008330083euoutp02A for ; Mon, 6 May 2019 15:12:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190506151220euoutp02272eae41199d9f4ab19301e6e346da05~cILaqTKFh3008330083euoutp02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557155540; bh=dbC39dHhZokC+Zaz0CxIqpmaX0JLlXOu8hvQxqLnfeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZtoMYkX1ExrI+nFOaTTv4lJTenhOvCtB5cj88GCEEMH5sK/0ean8qnVXQaaMGKM+f 5gtBaMVF7ObbE+Vhj5QB4fxhMWwN8GAofkvYc9X9UBgrBGk5Bbxsnp3RFzGCA4kdbM UY9GxYDzxRZIhEbL3aEwkbkrM0Kv5o97B4ArDSFg= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190506151219eucas1p1a9dae8b2fa31257c98ec5c9fba6b91b0~cILaPbITd1016510165eucas1p1z; Mon, 6 May 2019 15:12:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 89.A3.04377.3DE40DC5; Mon, 6 May 2019 16:12:19 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190506151218eucas1p1f3bf0b48470595537a893bd0b39e75b7~cILZBYekA2011820118eucas1p1i; Mon, 6 May 2019 15:12:18 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190506151218eusmtrp236e672c5ad255ffec09c9304fd591767~cILYzW0ZA0409004090eusmtrp2g; Mon, 6 May 2019 15:12:18 +0000 (GMT) X-AuditID: cbfec7f4-113ff70000001119-8a-5cd04ed39ff2 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 53.6D.04146.2DE40DC5; Mon, 6 May 2019 16:12:18 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190506151217eusmtip166d04db1fad6bc53dd22f48c755dd3aa~cILYBuLWF3136331363eusmtip18; Mon, 6 May 2019 15:12:17 +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 Cc: 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, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v7 10/13] ARM: dts: exynos: add chipid label and syscon compatible Date: Mon, 6 May 2019 17:11:58 +0200 Message-Id: <1557155521-30949-11-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1557155521-30949-1-git-send-email-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKKsWRmVeSWpSXmKPExsWy7djP87qX/S7EGJy9LWqxccZ6VovrX56z Wsw/co7VYvXHx4wWk0/NZbI4051r0f/4NbPF+fMb2C3ONr1ht7jVIGNxedccNovPvUcYLWac 38dksfbIXXaL240r2CwOv2lntdh/xcvi9m8+i28nHjE6CHt8+zqJxWN2w0UWj52z7rJ7bFrV yebR2/yOzePguz1MHn1bVjF6bD5d7fF5k1wAZxSXTUpqTmZZapG+XQJXxroW/oKDbBVbbp9m a2BcydrFyMkhIWAi8fHmJZYuRi4OIYEVjBJH3p9ng3C+MEqcOL6MCcL5zCixZ/YsZpiWBysu QCWWM0osufkPoeVv/0agDAcHm4CexI5VhSANIgLVEneu72cGqWEWeMMkcfbXDxaQhLBAiMS/ HS/BprIIqErcfbIILM4r4C3x6cVjdohtchI3z3WC1XACxf92HGIEGSQhcI9d4vC0R0wQRS4S 698ugLKFJV4d3wLVLCPxf+d8qHixREPvQkYIu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gw8xCnAwKvHwPrC9ECPEmlhWXJl7iFGCg1lJhDfx2bkYId6UxMqq1KL8+KLSnNTi Q4ymQEdNZJYSTc4HRnleSbyhqaG5haWhubG5sZmFkjhvh8DBGCGB9MSS1OzU1ILUIpg+Jg5O qQZGn42vJvgd/RSfvVKMlc1ck6mDe6lL7NHnWz9ftcu/Jfhz/f/dr4JPXRZoErl878LS49P2 9E07/0nyqXG9X7gVC5Ot1GPt4z9bmjzFFp66cGXWEqWT/1evVql+qPRn6lsJpw8931wPBtzR mz1jAWOX8Z4vMbYVNw7+EpRZaikj2RD244e9pJXzWyWW4oxEQy3mouJEAKz9DPO6AgAA X-CMS-MailID: 20190506151218eucas1p1f3bf0b48470595537a893bd0b39e75b7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190506151218eucas1p1f3bf0b48470595537a893bd0b39e75b7 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190506151218eucas1p1f3bf0b48470595537a893bd0b39e75b7 References: <1557155521-30949-1-git-send-email-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 67f9b45..4801ca7 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.7.4