Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5090817yba; Wed, 8 May 2019 07:45:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqx0oLfP6414ypBCDqvsFCHTBjmoWe1T3fME82X8Wq1GswbbHYhIzvbnFW3nGkkuDrNuhZ4o X-Received: by 2002:a17:902:3324:: with SMTP id a33mr15655136plc.1.1557326745193; Wed, 08 May 2019 07:45:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557326745; cv=none; d=google.com; s=arc-20160816; b=vj0aKnHI+lBGWGCCb0xmJvxTeLdlVzGXR1GexICG6SGY618wnfgKFmDi3N4ubGtAqR iueceRUSZ3+01zlebgg1Yh1xE1haAosY4jOzoI2Vc7UEZ9mMAygbY6Tsdr7T7YcXYM/e /guqeVUjdYnie6OD4UMcG04SNDkS8lnfDbFj1YbpqwTupyYAz6Z0kwxBf4u37MxPT8P+ JMU+Niy7iftD4vaF/RM2ZJUjKdrBqwBV927ICDjII07ucnFIyWrbbGPJT/AiycxSCl2+ 3ws3/SCYF1OzypljcGiAjxWTC7pOvT+r45uOwxc5DVZGiJF7SRe5DkLPwCltEmsy79F2 7g1A== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=eXhCUDgM0oIHnRivX2ZhfLzQLHq/huckSvDHj9jbwrY=; b=P4vUofyNZWd8pkz0iRknI34rrRor3u8cF9YOZWLYIQQh3Skz41oJmGOpOxT+KANRFy VfxYigv9Mg/ETO1gBnDfHXNVpzvHdX64MsIX6q31LzJHA1O5YV2qKUdMajIO8v1qtTmW zqxBxVX9h/bVC/1CQ/ddXlqrH+49KiFSw5uEUWC4CeaZSgVi49fjj4L8rBvI2qtuUaAO w5s8C1/YnB/eAYetMxkiypL/DxhTA3Han0kercD9NnKnmNuEhPB4xhvmCtKz6mATeTdy qt4uWADXID0Gxmg/dE1udDsspCJ+2PKJ3k2nj/ZQy9TMFavpzPt6yIWZOiY2LZwg13Oi lUsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NQNam05B; 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 f64si24827736plb.180.2019.05.08.07.45.28; Wed, 08 May 2019 07:45:45 -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=NQNam05B; 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 S1727592AbfEHNNH (ORCPT + 99 others); Wed, 8 May 2019 09:13:07 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:60903 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727453AbfEHNNG (ORCPT ); Wed, 8 May 2019 09:13:06 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190508131305euoutp023accc314190940ce755b149630368cf9~ct132zIGQ0030400304euoutp02D for ; Wed, 8 May 2019 13:13:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190508131305euoutp023accc314190940ce755b149630368cf9~ct132zIGQ0030400304euoutp02D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1557321185; bh=eXhCUDgM0oIHnRivX2ZhfLzQLHq/huckSvDHj9jbwrY=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=NQNam05B7uPudHnTdG5BxMpqH5SkCKOLcazEjlvqq0r3z8WZxBlt4g0QvcKWjeuO4 EbuIVTROArxPAR7E1mvf/WFA6dpvZzP8UhXFVoXAODMcZsCoM1nMe+cY3mtTWTozUU qYOtuVBlkq4/+yIEC5rdKVwJ7g7CU8MTNS+ztZOA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190508131304eucas1p1c5466948d6a2dad412a52db9e4ef6d6c~ct13DMXrs2066020660eucas1p1O; Wed, 8 May 2019 13:13:04 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 87.25.04298.0E5D2DC5; Wed, 8 May 2019 14:13:04 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190508131303eucas1p15db96735e01d8bd535861b91aa7298b8~ct12NBAx-0289202892eucas1p1R; Wed, 8 May 2019 13:13:03 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190508131303eusmtrp24dd788c179063640d11b24074a8c30ad~ct11_14KZ0688306883eusmtrp2K; Wed, 8 May 2019 13:13:03 +0000 (GMT) X-AuditID: cbfec7f2-f2dff700000010ca-85-5cd2d5e065ed Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id E3.C0.04140.FD5D2DC5; Wed, 8 May 2019 14:13:03 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190508131302eusmtip2160fd4fca1c240b849c598e039e50fbd~ct11KeAkx0788807888eusmtip2z; Wed, 8 May 2019 13:13:02 +0000 (GMT) Subject: Re: [PATCH v7 11/13] ARM: dts: exynos: add syscon to clock compatible To: Krzysztof Kozlowski Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , =?UTF-8?Q?Bart=c5=82omiej_=c5=bbo=c5=82nierkiewicz?= , kgene@kernel.org, Chanwoo Choi , kyungmin.park@samsung.com, Marek Szyprowski , 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 From: Lukasz Luba Message-ID: Date: Wed, 8 May 2019 15:13:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0gUURjFuzszO+PibuNq+WVStBVUlCYEXirCoGQoCIMCM6O2nDR1zHZ8 m7RWWq2ZpVS6alZQmibqJmoWBj7zlWmJoliigpFamo8o0XKcjfzv3PP9Lt85l8sQ2q+UE3Mu JIw3hOiDdUoVWVb/q21bf2eH73ZLmQaXpBdRuGtqmMI5te8oXDAxiHBaU7YCtyQJOGVwhMBt bcU0br08SuMPlVlKPJlci3B6W5UCF9b20bg3Pk+Ja0avUfjNxwO4d1aDZ94OIA8tNzOdSnKZ xnaSe2nuozlL/g0ll3zlm5K7VZqPuBfNsdykZY0X46Pa7ccHn4vgDa57TqkC7iYkk6HjK6Ky ujMJI5pnTYhhgN0BuaZDJmTDaNk8BPXl+0xItaCnEDzOalHIh0kED2qGFRIlXSice0XIg1wE VR1JVmoMwUDBtUXKnvWC8t9ppKQd2M3QNfeTkiCCLSGhvKKSlnYrWReoyL8gMWrWE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hKnJz5BMzmFAiUaH73gQ3EZhYwk5i3+SEzhC0ucevJfCYIW15i+9s5zBMYhWYhaZ+F pGUWkpZZSFoWMLKsYhRJLS3OTc8tNtIrTswtLs1L10vOz93ECIz9bcd+btnB2PUu+BCjAAej Eg9vxqFLMUKsiWXFlbmHGCU4mJVEeK9PBArxpiRWVqUW5ccXleakFh9iNAV6biKzlGhyPjAt 5ZXEG5oamltYGpobmxubWSiJ83YIHIwREkhPLEnNTk0tSC2C6WPi4JRqYOwqX7rz1hmnMxe/ W81/lpnv7ZrrWl05WX9X10HuPi0lg733Dy8RTv33ce1X5X015W81Z/yffuf+n+vc+b9/M5/b lLCqjLP5WcgFnl67ORPf3I7WS5/4vca9Is9TwXHq3AO7J5xUOZJiUyfK+aWF6Y/H10Tnx9ou Z3Vq92eFKzmmd95meG3zuUCJpTgj0VCLuag4EQCliK9xEwMAAA== X-CMS-MailID: 20190508131303eucas1p15db96735e01d8bd535861b91aa7298b8 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190506151219eucas1p2feab00f7b7c1c5fdd5614423fb38eae2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190506151219eucas1p2feab00f7b7c1c5fdd5614423fb38eae2 References: <1557155521-30949-1-git-send-email-l.luba@partner.samsung.com> <1557155521-30949-12-git-send-email-l.luba@partner.samsung.com> <8d02ef2c-c5dd-6a72-9638-d858df3ea16d@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/8/19 12:17 PM, Krzysztof Kozlowski wrote: > On Wed, 8 May 2019 at 11:50, Lukasz Luba wrote: >> >> >> On 5/8/19 9:22 AM, Krzysztof Kozlowski wrote: >>> On Mon, 6 May 2019 at 17:12, Lukasz Luba wrote: >>>> >>>> In order get the clock by phandle and use it with regmap it needs to be >>>> compatible with syscon. The DMC driver uses two registers from clock >>>> register set and needs the regmap of them. >>>> >>>> Signed-off-by: Lukasz Luba >>>> --- >>>> arch/arm/boot/dts/exynos5800.dtsi | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/arch/arm/boot/dts/exynos5800.dtsi b/arch/arm/boot/dts/exynos5800.dtsi >>>> index 57d3b31..0a2b328 100644 >>>> --- a/arch/arm/boot/dts/exynos5800.dtsi >>>> +++ b/arch/arm/boot/dts/exynos5800.dtsi >>>> @@ -17,7 +17,7 @@ >>>> }; >>>> >>>> &clock { >>>> - compatible = "samsung,exynos5800-clock"; >>>> + compatible = "samsung,exynos5800-clock", "syscon"; >>> >>> What about Exynos5420 DTSI? >> OK, I will also add it to 5420 dtsi. >> --------------------------8<------------------------------------------ >> diff --git a/arch/arm/boot/dts/exynos5420.dtsi >> b/arch/arm/boot/dts/exynos5420.dtsi >> index aaff158..d9203f0 100644 >> --- a/arch/arm/boot/dts/exynos5420.dtsi >> +++ b/arch/arm/boot/dts/exynos5420.dtsi >> @@ -173,7 +173,7 @@ >> }; >> >> clock: clock-controller@10010000 { >> - compatible = "samsung,exynos5420-clock"; >> + compatible = "samsung,exynos5420-clock", "syscon"; >> reg = <0x10010000 0x30000>; >> #clock-cells = <1>; >> }; >> diff --git a/arch/arm/boot/dts/exynos5800.dtsi >> b/arch/arm/boot/dts/exynos5800.dtsi >> index 57d3b31..0a2b328 100644 >> --- a/arch/arm/boot/dts/exynos5800.dtsi >> +++ b/arch/arm/boot/dts/exynos5800.dtsi >> @@ -17,7 +17,7 @@ >> }; >> >> &clock { >> - compatible = "samsung,exynos5800-clock"; >> + compatible = "samsung,exynos5800-clock", "syscon"; >> }; >> ----------------------------->8----------------------------------- >> >> Can I add your ack after that? > > No need for ack. The DTS have to go through arm-soc so I will pick it > up when dependencies get in and bindings are accepted (acked or > applied). We have now merge window so I guess this will go to v5.4-rc1 > at earliest. > > If you want to speed up things in future, be sure that dependencies > (headers) are applied as early as possible. Thank you Krzysztof for the explanation, good to know that. Regards, Lukasz > > Best regards, > Krzysztof > >