From patchwork Wed Oct 28 07:37:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 7507721 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 91D4A9F40A for ; Wed, 28 Oct 2015 07:39:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A63C42080B for ; Wed, 28 Oct 2015 07:39:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A9C9520802 for ; Wed, 28 Oct 2015 07:39:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrLIx-00056z-Sf; Wed, 28 Oct 2015 07:37:55 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZrLIu-00050o-6s for linux-arm-kernel@lists.infradead.org; Wed, 28 Oct 2015 07:37:53 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWX00JCY6IHQF40@mailout3.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Wed, 28 Oct 2015 07:37:29 +0000 (GMT) X-AuditID: cbfec7f4-f79c56d0000012ee-9c-56307b396b40 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 83.17.04846.93B70365; Wed, 28 Oct 2015 07:37:29 +0000 (GMT) Received: from [0.0.0.0] ([106.116.37.23]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWX0035N6IBIW90@eusync3.samsung.com>; Wed, 28 Oct 2015 07:37:29 +0000 (GMT) Subject: Re: [GIT PULL 4/5] Late Samsung driver updates for v4.4 To: Kukjin Kim , arm@kernel.org, Arnd Bergmann , 'Olof Johansson' , Kevin Hilman References: <562AA40E.4050407@kernel.org> <562AA603.7040600@kernel.org> From: Krzysztof Kozlowski X-Enigmail-Draft-Status: N1110 Message-id: <56307B33.90608@samsung.com> Date: Wed, 28 Oct 2015 16:37:23 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <562AA603.7040600@kernel.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBLMWRmVeSWpSXmKPExsVy+t/xq7qW1QZhBmeXCFsc+7KFzeLvpGPs Fq9fGFr0P37NbPH18ApGi02Pr7FazDi/j8ni1PXPbBavLq1ic+D0+P1rEqPHplWdbB53ru1h 89i8pN7jyokmVo++LasYPT5vkgtgj+KySUnNySxLLdK3S+DK2PP0J0vBecmKwwf7WBoYr4t0 MXJySAiYSKx6e4sNwhaTuHBvPZgtJLCUUeLP7fouRi4g+wujRPvFe8wgCWEBB4nfO18zgyRE BGYxStyZsY6pi5EDqMpdYt92c5A4s8BWRokXN1awgzSwCRhLbF6+BGqDnERv9yQWEJtXQEPi z7Q7rCA2i4CqxLtJs8FqRAUiJCZOaGCFqBGU+DH5Hlg9p4CWRM//n6wgu5gF9CTuX9QCCTML yEtsXvOWeQKj4CwkHbMQqmYhqVrAyLyKUTS1NLmgOCk911CvODG3uDQvXS85P3cTIyQ+vuxg XHzM6hCjAAejEg+vQYVemBBrYllxZe4hRgkOZiUR3hpBgzAh3pTEyqrUovz4otKc1OJDjNIc LErivHN3vQ8REkhPLEnNTk0tSC2CyTJxcEo1MFYcLchN0Xrf8mqpmW698MEJK296rYqy2JV5 /0ZZ+0aRv9KVTR+fpq5WnvDKfpvcFfez2s5dXWtVBdzEdPvvB/28EmG+i6Gz1OADy+5tVsaR Xts1eHvbjrSnP+22XVPwvvyj+Y86Npv3xRmsil7Gr49989d1zGFMfvVBnC14p3vfNOUE8593 lFiKMxINtZiLihMBJqVGD4sCAAA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151028_003752_437155_029A116B X-CRM114-Status: GOOD ( 28.35 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "linux-samsung-soc@vger.kernel.org" , p.fedin@samsung.com, "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On 24.10.2015 06:26, Kukjin Kim wrote: > The following changes since commit 6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f: > > Linux 4.3-rc1 (2015-09-12 16:35:56 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung.git > tags/samsung-driver > > for you to fetch changes up to c612d5a7785b307df96938d590c3a1edfb624ccf: > > cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs (2015-10-24 > 04:34:50 +0900) > > ---------------------------------------------------------------- > Samsung driver udpates for v4.4 > > - add support for exynos SROM controller DT based driver > (drivers/soc/samsung/exynos-srom.c) > : Since the exynos SROM registers are used during Suspend to RAM > so the exynos SROM driver handles the S2R and then we can remove > static mapping for SROM registers. > : Pankaj tested boot and S2R functionality on Peach-Pi chromebook > : Pavel tested on SMDK5410 board > : Krzysztof tested on Trats2 (exynos4412) board > - update Maintainer entry accordingly > - remove superfluous CONFIG_PM ifdefs with Viresh's ack > > ---------------------------------------------------------------- > Bartlomiej Zolnierkiewicz (1): > cpufreq: s5pv210: remove superfluous CONFIG_PM ifdefs > > Pankaj Dubey (8): > ARM: EXYNOS: remove unused static mapping of CMU for exynos5 > ARM: EXYNOS: code cleanup in map.h > dt-bindings: add exynos-srom device tree binding > ARM: dts: add SROM device node for exynos4 > ARM: dts: add SROM device node for exynos5 Hi Olof and Kukjin, I see that this pull request was not pulled yet. (Un)Fortunately I spotted one mistake in DTS changes above - the length of mapped region is too small by one word. This does not produce any visible effect but actually is wrong because driver will read from unmapped memory. The question is - do you prefer us to send a following up patch or to fix it by amending the commit? Here is a fix which can be squashed into these two commits: -- >8 -- Subject: [PATCH] ARM: dts: Fix size of mapped SROMC memory region on exynos[45] The SROMC memory region contains 5 registers so the size of mapped memory should be 0x14 instead of 0x10. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos4.dtsi | 2 +- arch/arm/boot/dts/exynos5.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 2f31f773b096..ffda7f5118cd 100644 --- a/arch/arm/boot/dts/exynos4.dtsi +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -78,7 +78,7 @@ sromc@12570000 { compatible = "samsung,exynos-srom"; - reg = <0x12570000 0x10>; + reg = <0x12570000 0x14>; }; mipi_phy: video-phy@10020710 { diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index b5d3437922c5..fb52d16fba33 100644 --- a/arch/arm/boot/dts/exynos5.dtsi +++ b/arch/arm/boot/dts/exynos5.dtsi @@ -32,7 +32,7 @@ sromc@12250000 { compatible = "samsung,exynos-srom"; - reg = <0x12250000 0x10>; + reg = <0x12250000 0x14>; }; combiner: interrupt-controller@10440000 {