From patchwork Mon Sep 16 10:07:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11146689 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2E5461599 for ; Mon, 16 Sep 2019 10:07:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0BC392067D for ; Mon, 16 Sep 2019 10:07:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="RaQjexg3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732258AbfIPKHV (ORCPT ); Mon, 16 Sep 2019 06:07:21 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:40139 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729987AbfIPKHV (ORCPT ); Mon, 16 Sep 2019 06:07:21 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190916100719euoutp014e60059354654b220ffa185f52a79c72~E40EyH6gh2490524905euoutp01Z for ; Mon, 16 Sep 2019 10:07:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190916100719euoutp014e60059354654b220ffa185f52a79c72~E40EyH6gh2490524905euoutp01Z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568628439; bh=ZKaiWSmqXLW7DVvyiRQxVpgxuqi4JmNHQmIPrM7zpG4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RaQjexg304X+1nxmgwp7F8+nrAVq1g7DNko4kCtIGakV+SQJcQklrrFPA1O6c4/je Jz90fbSwgZldWFI7Vlsmg+Wy4+4GwwACxjN0uoj3n6vYhRVjVNEjC9xSEtQOy60PX8 oGWecPN+vY7Lk3aCg4q28lbbjzvw8uXVmWDYdun4= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190916100718eucas1p1aad84200fd91ed069b4d28e79b8bca55~E40EEeD850720607206eucas1p1S; Mon, 16 Sep 2019 10:07:18 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 9A.DC.04309.6DE5F7D5; Mon, 16 Sep 2019 11:07:18 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190916100717eucas1p1b8d24c74c4d0bb385aa3455cf98c76bd~E40DPjyUN0447104471eucas1p1o; Mon, 16 Sep 2019 10:07:17 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190916100717eusmtrp2a2341e524e06682a4f45e7b04bd5b885~E40DBeMRs2883028830eusmtrp20; Mon, 16 Sep 2019 10:07:17 +0000 (GMT) X-AuditID: cbfec7f4-f2e849c0000010d5-23-5d7f5ed6b7a6 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 9C.48.04117.5DE5F7D5; Mon, 16 Sep 2019 11:07:17 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190916100716eusmtip27dbb5ac2a4a788a86d3748e0b88fcf0d~E40CWSJIl3249232492eusmtip2C; Mon, 16 Sep 2019 10:07:16 +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-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, 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, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v2 1/3] memory: Exynos5422: minor fixes in DMC Date: Mon, 16 Sep 2019 12:07:02 +0200 Message-Id: <20190916100704.26692-2-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916100704.26692-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSf0yMYRz33Pu+9753vHk7qe9oNReGEZm1Z1iyMTf+0IzZIhy9/Zju4t4u JdOhX24qw1Dzo5J1u7tGJ5WTpC6h1SEq/ZrV5FcYFTEurjf893k+z+fXnj0MobBRM5hYbQKv 06rjlFI5WXH/e8uith2pEUsahjxx2flrFG4ffk3hy44WCuf2vyew03mdxs1HB2ncafDFtv42 CrfaL0jxULYD4fPOGgkudfTQ+Gr7EwnuOmKS4vQ7DhrXD2ZS+OuDPhTqqbJesiLVrfweWmUz H5eqbhSnqu59rJaocsrNSDVk8wujw+UrI/m42ERetzhklzzGMtBL7iucnNR1ep0BtcqMSMYA twy6LUbKiOSMgjMhuNpRisTDMIJjRS7CrVJwQwjeHPX96/hirCVFUQmCXJNL8s9xpq9TakQM I+UCocq8323w4q4g+Fof7sYEVyGB7JHxoGlcCPzMqqLcmOTmwLeOJtKNWW4VuOwvkVjmD5br teMjZFwojJoaCHcXcPdpyOrsJ0XRGrjZbaVEPA3eNZbTIvaFsVuXJSIWwJBdOBF6CPpzL05o VkB94xPKvZng5sM1+2KRXg05rlKJmwbOAzo+eIrzPeBUxTlCpFnIylCI6nlQfuLxRJE3lFjP ToSroODtgFR8ndMIHr9x0ieRf/7/sgKEzMiH1wuaaF5YquUPBApqjaDXRgfuidfY0J+f1ORq HK5C9p+76xDHIOUU1pB+OEJBqROFZE0dAo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TdTe5pF ptVbJucF7V/xlSesWDNINfzBHL/5wo3nHBdtnTzpN5vBkdjJS1MKXi2qnKGpXbK65vQEt+dW nx5f2LSjVbNA70pJhBJLcUaioRZzUXEiADMC3mSpAgAA X-CMS-MailID: 20190916100717eucas1p1b8d24c74c4d0bb385aa3455cf98c76bd X-Msg-Generator: CA X-RootMTR: 20190916100717eucas1p1b8d24c74c4d0bb385aa3455cf98c76bd X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190916100717eucas1p1b8d24c74c4d0bb385aa3455cf98c76bd References: <20190916100704.26692-1-l.luba@partner.samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Small fixes for issues captured by static analyzes: used kfree() insead of devm_kfree() and missing 'static' in the private function. Checks which show the issues: - drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp' - drivers/memory/samsung/exynos5422-dmc.c:736:1: warning: symbol 'exynos5_dmc_align_init_freq' was not declared. Reported-by: Krzysztof Kozlowski Signed-off-by: Lukasz Luba --- drivers/memory/samsung/exynos5422-dmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index 8c2ec29a7d57..a809fa997c03 100644 --- a/drivers/memory/samsung/exynos5422-dmc.c +++ b/drivers/memory/samsung/exynos5422-dmc.c @@ -269,7 +269,7 @@ static int exynos5_init_freq_table(struct exynos5_dmc *dmc, return 0; err_free_tables: - kfree(dmc->opp); + devm_kfree(dmc->dev, dmc->opp); err_opp: dev_pm_opp_of_remove_table(dmc->dev); @@ -732,7 +732,7 @@ static struct devfreq_dev_profile exynos5_dmc_df_profile = { * statistics engine which supports only registered values. Thus, some alignment * must be made. */ -unsigned long +static unsigned long exynos5_dmc_align_init_freq(struct exynos5_dmc *dmc, unsigned long bootloader_init_freq) { From patchwork Mon Sep 16 10:07:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11146693 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C971C76 for ; Mon, 16 Sep 2019 10:07:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A86F22067D for ; Mon, 16 Sep 2019 10:07:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="OU5UqgGj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732226AbfIPKH3 (ORCPT ); Mon, 16 Sep 2019 06:07:29 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:40150 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732196AbfIPKHV (ORCPT ); Mon, 16 Sep 2019 06:07:21 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190916100720euoutp01a438f20ab873a4ceade61b6aab3a507d~E40Fk9VlH2526325263euoutp01U for ; Mon, 16 Sep 2019 10:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190916100720euoutp01a438f20ab873a4ceade61b6aab3a507d~E40Fk9VlH2526325263euoutp01U DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568628440; bh=Uy8PbI8Ay//0lPtuuye0Cr4E/yS+/gJgE62W7KlqB88=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OU5UqgGjGY6HuGv5V+CorBe0NhspzeUHj22GF68n4ohALSAkrlZkq41jakFiHbAeY U5VOwE4zf9MZrLktuDUxOBQhqrgaTNmFqWfkj6tX357GShUd+6aXUd5NijgtEbdafE O5c2iMvCXC2rdCsr4h4baLBPr2NREPEYci/3JJZw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190916100719eucas1p1e84d4fa680983ee4ec5878e476e7022c~E40Ey87c90424904249eucas1p1x; Mon, 16 Sep 2019 10:07:19 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 7F.DE.04469.7DE5F7D5; Mon, 16 Sep 2019 11:07:19 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190916100718eucas1p1efcbabdf9dbe17a062ae83b8c19ac256~E40D-SBI20720607206eucas1p1N; Mon, 16 Sep 2019 10:07:18 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190916100718eusmtrp2b28c2b52b5b47de5f999ceecc557c737~E40DxPHpI2883028830eusmtrp25; Mon, 16 Sep 2019 10:07:18 +0000 (GMT) X-AuditID: cbfec7f2-54fff70000001175-ea-5d7f5ed77158 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id DD.48.04117.6DE5F7D5; Mon, 16 Sep 2019 11:07:18 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190916100717eusmtip283feedbd6c1b28f23253ea84770886ce~E40DCHngk2339323393eusmtip2X; Mon, 16 Sep 2019 10:07: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, linux-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, 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, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v2 2/3] ARM: dts: exynos: fix too long line in memory device Date: Mon, 16 Sep 2019 12:07:03 +0200 Message-Id: <20190916100704.26692-3-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916100704.26692-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0VSa0hTYRj229nZjqPFcUa+LFFZBSXkDYMPEjPox6B+SESRYTn1pJJbtqOW GbkC85Z5qdRE00pTlqJOGVM0vDVNTZ1SimWoIzIvWZtXsIvzrPr3vM/7PN/z8PJRhKSJlFIx qnhGrVLEygQivt64MXho7EJKqI9BS+CGojoSjy1/IXFZ9yCJc8zzBB4aqhfit3cWhHhC44p1 5vckHm0pEWBrdjfCRUOveLi2e1KIK8dMPPzhdrUAp7Z1C3HXQhqJV3tnUJCTvOZJDZI3F08K 5TpthkDeWJEi7/jWypPfb9IiuVXnFiwMEQVEMrExiYzaOzBMFG1oHyXivgiut318ytOgUTIT OVJA+8NiRpogE4koCV2N4Guf0T4sI3j8eZnHDVYEd6atxF/LsqWC5BZVCGZbf/D/WfSbj7b8 FCWgvcCgvWoz7KKfI1jtCrFhgtbzIHvF1Yad6ZOwMLu03YNP74es3Axkw2L6KNSurAq4MHd4 Wd++HexIB8F69WvClgW0UQjajVR7o+OQN7SEOOwMcz1NQg67wu/mMh6HWdBkP7VrboI5p9Su OQJdPSbS1pmgD0JdizdHH4Ppkk2+jQZ6J4wvOnH1d0K+vpDgaDGk35Vw6gPQdG/YHrQbqmoK 7I/LYaK3wH7QBwgmlr7zc5F78f+wcoS0yIVJYJVRDOurYq55sQolm6CK8oq4otShrb/U/6vH YkArI+GdiKaQbIdYk3orVEIqEtkkZScCipDtEp9NTw6ViCMV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/ubYmW7DsT92aJ5Bwvp09X5h79djbx1kNP0Z0asaXv WA57vro+5dDOD/KzlFiKMxINtZiLihMBMglGiasCAAA= X-CMS-MailID: 20190916100718eucas1p1efcbabdf9dbe17a062ae83b8c19ac256 X-Msg-Generator: CA X-RootMTR: 20190916100718eucas1p1efcbabdf9dbe17a062ae83b8c19ac256 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190916100718eucas1p1efcbabdf9dbe17a062ae83b8c19ac256 References: <20190916100704.26692-1-l.luba@partner.samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Small fix moving the comment to line above making sure the lines do not exceed 80 characters. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi index fe885ca969af..059fa32d1a8f 100644 --- a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi +++ b/arch/arm/boot/dts/exynos5422-odroid-core.dtsi @@ -103,7 +103,8 @@ timings_samsung_K3QF2F20DB_800mhz: lpddr3-timings@800000000 { compatible = "jedec,lpddr3-timings"; - reg = <800000000>; /* workaround: it shows max-freq */ + /* workaround: 'reg' shows max-freq */ + reg = <800000000>; min-freq = <100000000>; tRFC = <65000>; tRRD = <6000>; From patchwork Mon Sep 16 10:07:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11146683 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33CBA1599 for ; Mon, 16 Sep 2019 10:07:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 07BE1214AF for ; Mon, 16 Sep 2019 10:07:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="QLhRI9XD" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730072AbfIPKHY (ORCPT ); Mon, 16 Sep 2019 06:07:24 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:48364 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732224AbfIPKHW (ORCPT ); Mon, 16 Sep 2019 06:07:22 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190916100720euoutp0249f00af8a564ec6b4726e64f5315a43a~E40F-okKg1472814728euoutp02R for ; Mon, 16 Sep 2019 10:07:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190916100720euoutp0249f00af8a564ec6b4726e64f5315a43a~E40F-okKg1472814728euoutp02R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568628440; bh=XCpywVkI329sDQjdpFeqg4Vg35D4fsOKYMe/L6jwhUk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QLhRI9XDofoN9AlreOWZuEFzLVBNZ7kc778gEi8PAyGDIHAT7TnhnFV8OmIZV8Mm2 6FhtP+ZdkT8Ry/uOI6EXlQqqJXzxA7WlwnfoCyUkxEUKAMjtV7+JCJf+xNc2qS5TKX U26Blqv1LKSe4XJ2b92wU5AjH9cxSU/SzInEUtdU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190916100719eucas1p1a5dd076b0f2cf3141be89bf5181ee3e1~E40FWmNTA0509905099eucas1p16; Mon, 16 Sep 2019 10:07:19 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 90.EE.04469.7DE5F7D5; Mon, 16 Sep 2019 11:07:19 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79~E40Ee3DKp1206112061eucas1p2B; Mon, 16 Sep 2019 10:07:19 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190916100719eusmtrp219462259880a3a41ca04f0e24f1e67c9~E40Ed-s1T2883028830eusmtrp2-; Mon, 16 Sep 2019 10:07:19 +0000 (GMT) X-AuditID: cbfec7f2-569ff70000001175-eb-5d7f5ed7318b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C8.93.04166.6DE5F7D5; Mon, 16 Sep 2019 11:07:19 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190916100718eusmtip21012935db0b900e96025d78b50e5e327~E40DxKu8Z3251632516eusmtip2A; Mon, 16 Sep 2019 10:07:18 +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-arm-kernel@lists.infradead.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, 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, willy.mh.wolff.ml@gmail.com, Lukasz Luba Subject: [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories Date: Mon, 16 Sep 2019 12:07:04 +0200 Message-Id: <20190916100704.26692-4-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190916100704.26692-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe0hTYRjG+3Z2do7Do8ej5IuOxEEXo6wg8IuyGpisKMwoIsVq5UGtTW1H TStqRdayplFkoeUlFW15nWKaGbp57eK6TxKhXKiURniJIrqts+q/3/u8l+fh46MJrpYMoJOS 03h9skarlMmlzT1f7Usdu0/ELa98tRQ3XKsjsWNmjMTFXQMkznN+ILDdXk/hx6cmKPzaoMAW 5ysSP797XYanTV0IX7Pfl+CarmEKVzieSvDQySoZzm7vorBt4iyJP/eNoPU+6uqiaqRuLRim 1BbzOZm6sfyEuvPjPYk6t8mM1NOWeVupGPmaeF6blMHrl63dK08sb9mSOu2ZOTgaaEAOeQ6i aWBXQnvVphwkpzm2CkGupUcqFjMIOi0F7mIawcOpMkkO8viz4ZyZosRGJYKTRYPUv5X+R62U 666MDYUW8yHXgh9bhuCzLcbFBNssAdOswsW+7Hb4XtFHuljKzofC0WLKxQy7DuwV791mQXC7 voNwsQe7Hr5UdROi3kNBqTVN5Ai4+bpRKrIvvO9tokRWwM/WYvcdAQymUiTyMXDm3XDPrAZb 71PSFZlgQ6Du7jJRVkH7kyZSfCEvGJz0EdN7waXmq4QoM2A8w4nTi6DpwhO30VyorM6nxBE1 fHrwJy/HXkbwsjDsIgoq+G9VgpAZ+fPpgi6BF1Yk84dDBY1OSE9OCN2forOg37/o4Y/eqRY0 +2yfFbE0UnoyhuzjcRypyRCydFYENKH0Y3Yaj8ZxTLwm6wivT9mjT9fyghUF0lKlP3N0zptY jk3QpPEHeT6V1//tSmiPAANizquctm/DI2EjQwGDE7dGtObxhYYa/5J0VZG9OcL7Q/678BfU tgO8KnqJcRLs37+mDXl4B888Cu7fasiENxsViccCP4Z3m7ULOiOndkSd9t3ASRs+rbqSuytr bDxa8dakzGjLjeqMjcwfeGFsuXO8w4dx1CpCOK/ZBx2bLzJtSqmQqFmxmNALml8tLT/IQQMA AA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprCIsWRmVeSWpSXmKPExsVy+t/xe7rX4+pjDT6pWmycsZ7V4vqX56wW 84+cY7Xof/ya2eL8+Q3sFmeb3rBb3GqQsdj0+BqrxeVdc9gsPvceYbSYcX4fk8XaI3fZLZZe v8hkcbtxBZtF694j7BaH37SzWnw78YjRQdBjzbw1jB47Z91l99i0qpPNY/OSeo+D7/YwefRt WcXo8XmTXAB7lJ5NUX5pSapCRn5xia1StKGFkZ6hpYWekYmlnqGxeayVkamSvp1NSmpOZllq kb5dgl7Gkh2+BZ95Km48k25gvM7VxcjJISFgIvH4yyd2EFtIYCmjxKrdBRBxMYlJ+7azQ9jC En+udbF1MXIB1XxilDjee4exi5GDg01AT2LHqkKQuIjAckaJY6veMoM4zAJHmCT6d81jBekW FgiSOLNsGSOIzSKgKjH72XywqbwC9hLnl75igtggL7F6wwFmEJtTwEHix4qjzBAX2UtMuf6D cQIj3wJGhlWMIqmlxbnpucWGesWJucWleel6yfm5mxiBMbLt2M/NOxgvbQw+xCjAwajEw9vQ WhcrxJpYVlyZe4hRgoNZSYQ3vKM6Vog3JbGyKrUoP76oNCe1+BCjKdBRE5mlRJPzgfGbVxJv aGpobmFpaG5sbmxmoSTO2yFwMEZIID2xJDU7NbUgtQimj4mDU6qBUTB++Wq1Z6s/f1U6K+jh I5nJ5Xx1Xq3dtvqSy5YqJgn/P17v/Z/hf/+gv8Rzz9mG37hS/Bckvpt2+LUDz8//L5auP+rq xsKZvrDsnMVPc8VNO64f3V+o/Wh3/wOejcu+Hj3I9sNpptLjMtYUNuFE97pJNsYmCSmpgfel xa1YDJ2/3Dvh8OdKhxJLcUaioRZzUXEiAB7ItF2nAgAA X-CMS-MailID: 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79 X-Msg-Generator: CA X-RootMTR: 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79 References: <20190916100704.26692-1-l.luba@partner.samsung.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Add compatible for Samsung k3qf2f20db LPDDR3 memory bindings. Introduce minor fixes in the old documentation. Signed-off-by: Lukasz Luba --- Documentation/devicetree/bindings/ddr/lpddr3.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt index 3b2485b84b3f..49afe794daaa 100644 --- a/Documentation/devicetree/bindings/ddr/lpddr3.txt +++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt @@ -1,7 +1,9 @@ * LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C Required properties: -- compatible : Should be - "jedec,lpddr3" +- compatible : should be one of the following: + Generic default - "jedec,lpddr3". + For Samsung 542x SoC - "samsung,K3QF2F20DB", "jedec,lpddr3". - density : representing density in Mb (Mega bits) - io-width : representing bus width. Possible values are 8, 16, 32, 64 - #address-cells: Must be set to 1 @@ -43,7 +45,7 @@ Child nodes: Example: samsung_K3QF2F20DB: lpddr3 { - compatible = "Samsung,K3QF2F20DB", "jedec,lpddr3"; + compatible = "samsung,K3QF2F20DB", "jedec,lpddr3"; density = <16384>; io-width = <32>; #address-cells = <1>; @@ -73,7 +75,8 @@ samsung_K3QF2F20DB: lpddr3 { timings_samsung_K3QF2F20DB_800mhz: lpddr3-timings@800000000 { compatible = "jedec,lpddr3-timings"; - reg = <800000000>; /* workaround: it shows max-freq */ + /* workaround: 'reg' shows max-freq */ + reg = <800000000>; min-freq = <100000000>; tRFC = <65000>; tRRD = <6000>;