Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9807013ybi; Wed, 24 Jul 2019 10:16:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqyyyi3Ajf5U5rW2hYsK0lVUuUZvU+amrmwS1XVcAc1LZZ209A4VfcOBzOaLVWP3+IfvPrqN X-Received: by 2002:a17:902:6b81:: with SMTP id p1mr83847087plk.91.1563988565349; Wed, 24 Jul 2019 10:16:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563988565; cv=none; d=google.com; s=arc-20160816; b=qO6G+W7/pcsDytiqKQzEa1PSCfvSw1isTUzBJdFFNfgIw7BesTOLugaiaVrEx3KWZu VtOPmocIq4xqYhk5SfSKL1pSj2f7n7yPi451l7lrsyDcrVPRXS6OZa6mu44YkHyvSwaq 03e+y12RD/dgx6aWaJTBtJpwobGcIBDDVU1mhVO4t83Nxiefd9MeUnAe0icCHFQrdm3+ iubLCJCu2NQ39A7RevtHy0VK17a5IDmrtua2EkoWof4EXB5F9IO7/MfclHaBE553jPrx WtvewZI+eHkceAAvbnVpFbfXah6HJHxBm5zr7q/uFV8vJTIKfR9dnfSUFpwvTUs/MZ/Q 8HIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=WXZ1g7GkxFmyDSWuDgpIVN7PNvx6qdlx90diYuseAHM=; b=oAUqxripv/9fbLTYJ3RZIeZf4RiO9ojoo9Vm5tHZNSeDOqMoYdhhsclEjmplR2iApk Re7XC0xsG8yKgOTbge/4okyWgwXXnLnv+aLd4X5zSN1avIqYb8NxF17JwmrYQWr/h2Ku WOcsy8Y+/Mgj6ioqmXmqrn4u0JpQfGndYUHxzq6G0qsS1D4ncb0BIiqYt3cQHAtwoWEG +QXUHWNAuTynCoL50+wyRg2+UWpbw8EoWrs2dlUzZb7PCmmHE+Wvdy1WF7J1TNjGkLJ2 SeFpv4j03pgAMIOwN+4oZOvDSf2wfSL+RycajSEK5nuN4+MQE6Zjdjhk4nbZQfgCae0a z4wQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si15793001pgs.87.2019.07.24.10.15.50; Wed, 24 Jul 2019 10:16:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728191AbfGXRKy (ORCPT + 99 others); Wed, 24 Jul 2019 13:10:54 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:35967 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726031AbfGXRKy (ORCPT ); Wed, 24 Jul 2019 13:10:54 -0400 Received: by mail-wr1-f68.google.com with SMTP id n4so47882748wrs.3; Wed, 24 Jul 2019 10:10:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WXZ1g7GkxFmyDSWuDgpIVN7PNvx6qdlx90diYuseAHM=; b=OxcpcrsB+Nh2xELyiA1Yv99FUMYEvIzlG+yG6yit/9f+ygFbVXl643sfdbjfTELuxq idsz3sFggjLg/Gg6NF+dJf2rjjIRxeqPZ5MDsKX1ZrRlC4uObhXX86heyKh95Wkodj1v U4WUJ7pn/cEGUy5B5uC2ApCHw4MAEq+lXuXA+rMOTNcVtDEAwKk6NUb1f1FN3r/AIsc8 ydWZ8mnHClDLJXGMtD/8V6agsp4T0+iwtYvMAjPnf2irlIjEZitUM59y9ZDzfCsL2+Qn OPFMhSkgXvUBr7kctdng2R97yfAlcf3Qmp7mL9KGMN6Xx8w/c8vAMK5xFNQHkZNZVGJh eLWw== X-Gm-Message-State: APjAAAVD+MFvB6sQcMX6EAM6DmggUnFOkh3csKTByiHJ7qYFVClzvfqa 1NesBTuV8WdHIkf0Yv4Ae+k= X-Received: by 2002:adf:da4d:: with SMTP id r13mr57744544wrl.281.1563988252192; Wed, 24 Jul 2019 10:10:52 -0700 (PDT) Received: from kozik-lap ([194.230.155.239]) by smtp.googlemail.com with ESMTPSA id n9sm88609422wrp.54.2019.07.24.10.10.50 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jul 2019 10:10:51 -0700 (PDT) Date: Wed, 24 Jul 2019 19:10:49 +0200 From: Krzysztof Kozlowski To: Lukasz Luba Cc: 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, mturquette@baylibre.com, sboyd@kernel.org, b.zolnierkie@samsung.com, kgene@kernel.org, mark.rutland@arm.com, robh+dt@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 Subject: Re: [PATCH v12 6/9] ARM: dts: exynos: add chipid label and syscon compatible Message-ID: <20190724171049.GA11333@kozik-lap> References: <20190722094646.13342-1-l.luba@partner.samsung.com> <20190722094646.13342-7-l.luba@partner.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190722094646.13342-7-l.luba@partner.samsung.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 22, 2019 at 11:46:43AM +0200, Lukasz Luba wrote: > 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. > I cannot find its usage in DMC driver. Best regards, Krzysztof > 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 >