From patchwork Thu Sep 19 09:26:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11151985 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 05E81197C for ; Thu, 19 Sep 2019 09:27:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D8A1621D7B for ; Thu, 19 Sep 2019 09:27:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="cZyqvcWv" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387881AbfISJ1E (ORCPT ); Thu, 19 Sep 2019 05:27:04 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:48018 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388306AbfISJ04 (ORCPT ); Thu, 19 Sep 2019 05:26:56 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190919092654euoutp0153e5d9aad7a73d9c9ad3038bcff9010f~FzMpTHHFY2448924489euoutp01j for ; Thu, 19 Sep 2019 09:26:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190919092654euoutp0153e5d9aad7a73d9c9ad3038bcff9010f~FzMpTHHFY2448924489euoutp01j DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568885214; bh=QKl6bKsImeYe2y5vJhT/E+HB0W0bBjwvflM/iNImEIQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=cZyqvcWvTHECWrEjsIUc7kjYlT0T20FSh76D2ZQhaPkO3WmABrZQzHRwEaoBxykBh sce1gerMnTYrUmLo3Y2ZULjslEXfPBKGcsfaPpCpgv/czQffm2tT5Nq12Oz5h+efKE BOIN8nFo8ssToDOcV3td+GOZekD62DvukT/7sZ4U= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190919092653eucas1p238340b5058f0eb78d7af190f878d6ffd~FzMohGwLT1191911919eucas1p2Y; Thu, 19 Sep 2019 09:26:53 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 74.0D.04374.DD9438D5; Thu, 19 Sep 2019 10:26:53 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190919092652eucas1p12dbf9ba9d60a0c89cb7de05ab61893be~FzMnr75wQ1758317583eucas1p1c; Thu, 19 Sep 2019 09:26:52 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190919092652eusmtrp17ee39a34b9eab5365ad120704dfbd2bd~FzMndLl0K1357513575eusmtrp1S; Thu, 19 Sep 2019 09:26:52 +0000 (GMT) X-AuditID: cbfec7f5-4f7ff70000001116-7a-5d8349ddbbe9 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id A6.25.04166.CD9438D5; Thu, 19 Sep 2019 10:26:52 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190919092651eusmtip1a26dd7cd24e24a0bd26abf96cb3c8ebe~FzMmsm_Pp1700417004eusmtip1C; Thu, 19 Sep 2019 09:26:51 +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, dan.carpenter@oracle.com, Lukasz Luba Subject: [PATCH v3 1/2] memory: samsung: exynos5422-dmc: Fix kfree() of devm-allocated memory and missing static Date: Thu, 19 Sep 2019 11:26:40 +0200 Message-Id: <20190919092641.4407-2-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190919092641.4407-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSa0hTYRjHfc/Z2TmuJqcV+pRmsSi70DJq8JZdDApOEdSHPhVS0x105abu pJkFTaOLZhmTUsS0sDJtoS1R05TS1WqrpkRaXlIUE/JSoZmhSTueSd9+/C/P8/DyMqSqnlrC GEwnebNJF6+WK2TVr/68X9+993xUeO73YPw4v4LC7eODFB6ayZPhYsd7Cuf0D5HY46mk8buM YRp3WEKwvb+Nwh/qCuV47KoD4XxPI4EfObppfK+9lcCd6Q/k+EKDg8bNw5coPPG6D0WqOFuR DXFPC7ppzl6eKeee3D3H/RzokHEvRp8R3LWqcsSN2UMPMocV2/R8vCGFN2/YcUwRZ3FN0ol3 AlLTs7qQBU3Oy0L+DLCboaNolBRZxT5A0GpPkXgcgdtJZCGFl8cQ1NecJ+cK6Z+75JJRiuCb QzQUUuNK3y+vwzByVgO15UliYRFbgmCi+bDIJNtCgLtsqcgLWTNMFk/PDpWxK6Gsvni2qmR3 wGiLQdq1DB5WPp+N+LM7wWadosVVwLbRkOseJqTQbnANjcslXgjfnFW0xCHgzs2WSSyA5eod JPFZ6M+55ctEQLOzlRL3kuwaqKjbIMm7YLCmnhRlYAPg08gC6foAsFbn+WQlXL6oktKroSq7 xXdMIJTabvqGczCR1+h7QiuChu+l9HW0rOD/stsIlaMgPlkwxvLCJhN/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nuTdlLDXJnzmcdmbN7I5dtzr+3pPuPWJ1NbDv5yrLsc1sEo9sJtbbj35bF1i 9tnPrMkbPG4vvTep9Y/sac0n8+fsv/OyJUfAf8OGjWsn5LZkSxdu7Wj6e//Dw4OGlee4WtW9 8jI4ThV51u+bHrfZPlpBqWPPgxw3hadKLMUZiYZazEXFiQCf50J1tAIAAA== X-CMS-MailID: 20190919092652eucas1p12dbf9ba9d60a0c89cb7de05ab61893be X-Msg-Generator: CA X-RootMTR: 20190919092652eucas1p12dbf9ba9d60a0c89cb7de05ab61893be X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190919092652eucas1p12dbf9ba9d60a0c89cb7de05ab61893be References: <20190919092641.4407-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 Fix issues captured by static checkers: used kfree() and missing 'static' in the private function. Fixes Smatch warning: drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp' Fixes Sparse warning: drivers/memory/samsung/exynos5422-dmc.c:736:1: warning: symbol 'exynos5_dmc_align_init_freq' was not declared. Reported-by: kbuild test robot Reported-by: Dan Carpenter Reported-by: Krzysztof Kozlowski Signed-off-by: Lukasz Luba --- drivers/memory/samsung/exynos5422-dmc.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/memory/samsung/exynos5422-dmc.c b/drivers/memory/samsung/exynos5422-dmc.c index 8c2ec29a7d57..1b54fc8c912e 100644 --- a/drivers/memory/samsung/exynos5422-dmc.c +++ b/drivers/memory/samsung/exynos5422-dmc.c @@ -258,7 +258,7 @@ static int exynos5_init_freq_table(struct exynos5_dmc *dmc, opp = dev_pm_opp_find_freq_floor(dmc->dev, &freq); if (IS_ERR(opp)) - goto err_free_tables; + goto err_opp; dmc->opp[idx - i].freq_hz = freq; dmc->opp[idx - i].volt_uv = dev_pm_opp_get_voltage(opp); @@ -268,8 +268,6 @@ static int exynos5_init_freq_table(struct exynos5_dmc *dmc, return 0; -err_free_tables: - kfree(dmc->opp); err_opp: dev_pm_opp_of_remove_table(dmc->dev); @@ -732,7 +730,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 Thu Sep 19 09:26:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Luba X-Patchwork-Id: 11151983 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 E334814ED for ; Thu, 19 Sep 2019 09:27:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73D1421D79 for ; Thu, 19 Sep 2019 09:27:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="h/olSvEO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388754AbfISJ06 (ORCPT ); Thu, 19 Sep 2019 05:26:58 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:48032 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388724AbfISJ05 (ORCPT ); Thu, 19 Sep 2019 05:26:57 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190919092655euoutp01e4f45816eb9354a88d8e93d04243194b~FzMqWGukp2448924489euoutp01l for ; Thu, 19 Sep 2019 09:26:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190919092655euoutp01e4f45816eb9354a88d8e93d04243194b~FzMqWGukp2448924489euoutp01l DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568885215; bh=D+m0aHcd9T/WfIv+1XDM1QO0NNkgoqwe0icYPM320Tk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h/olSvEOyQuyOEVis58DWSi7ol24q+z4XOett+XRzw+w4n51Lzqm6iMGYQdgHRIFV 0AnyOXXHniWHVd8CARixRIKL/fM9X35z6jUzsKN41drQq19QQXZknGAm07GkB/sJPz uJ+WwA81ODHZRXuu4oMG61zsn5Bsf0MOGggA8k20= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190919092654eucas1p15fd8edd4afc32fde3ab3afbb24d2dc83~FzMpToHlA1757917579eucas1p1x; Thu, 19 Sep 2019 09:26:54 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 58.BE.04309.ED9438D5; Thu, 19 Sep 2019 10:26:54 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190919092653eucas1p21a1caa00589649fbc972bc7b84fe0d89~FzMoazQZf0154301543eucas1p2M; Thu, 19 Sep 2019 09:26:53 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190919092653eusmtrp1a8e29865528ca40187f3d975bcff403a~FzMoLftNt1357513575eusmtrp1X; Thu, 19 Sep 2019 09:26:53 +0000 (GMT) X-AuditID: cbfec7f4-f2e849c0000010d5-fb-5d8349de0794 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id FF.EB.04117.DD9438D5; Thu, 19 Sep 2019 10:26:53 +0100 (BST) Received: from AMDC3778.digital.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190919092652eusmtip1c5d69d1c43c191f4332651f74bf56ade~FzMnbAi4E1634516345eusmtip1c; Thu, 19 Sep 2019 09:26:52 +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, dan.carpenter@oracle.com, Lukasz Luba Subject: [PATCH v3 2/2] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories Date: Thu, 19 Sep 2019 11:26:41 +0200 Message-Id: <20190919092641.4407-3-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190919092641.4407-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSbUhTURjHO7v37l5Xs9uMfDJfYhTZ26woOaVoRcKtCArmhwqpldcXci53 1TSDplKWLVOLHGKWaDinpa0hKhWmMwOtZS8axiQ0MdJE095N8nqNvv3Oc37P+T/ncBhC1Uj5 MPGJybwxUZeglivI+ic/Xev7dmdHbcgdY/E9Sy2FeyaHKDw8XUTim87nFL4yMExgl6uOxs+y Rmjca/LF9oFuCr9qKpHjictOhC2uRzJ8x+mm8e2eLhl+l2mV43MPnTRuHcmh8Len/Wi7iqsp rUFcY7Gb5uy2i3LufsVZbnywl+Qejz6QcXkOG+Im7P77mUOK0Gg+IT6VNwaFHVXEParPJ066 lWk9lhzShBzzc5EHA+xmmP7xmshFCkbFWhFk1ZXS0mISwceuMVK0VOwEgmpzaC5iZjuKTRmS U4ng+5/u/w22piGZKMlZDTTYksTexWw5gm+th0Qm2Bcy6KjyE9mL1ULnVzct6iS7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t4CRYRWjSGppcW56brGRXnFibnFpXrpecn7uJkZg5Gw79nPLDsau d8GHGAU4GJV4eH+oN8UKsSaWFVfmHmKU4GBWEuGdYwoU4k1JrKxKLcqPLyrNSS0+xGgKdNJE ZinR5HxgVOeVxBuaGppbWBqaG5sbm1koifN2CByMERJITyxJzU5NLUgtgulj4uCUamCM3iVR le59/1jMqUYv1/lHqpfX2s26XP2n7NYX5WtrW7tUFx5emjfBfam+Ul5tre8aF6d7v7jfSbj3 JOkbyknsthFsbZsV723sdyKae4PQ3Tc1X0KCF7r7HLvdWfBWyOqxleWxm5vDzzrb+CZGnci0 t7oyTypmqRnrBMNr+U4zbwZw/RI5uVuJpTgj0VCLuag4EQDT0o7qsgIAAA== X-CMS-MailID: 20190919092653eucas1p21a1caa00589649fbc972bc7b84fe0d89 X-Msg-Generator: CA X-RootMTR: 20190919092653eucas1p21a1caa00589649fbc972bc7b84fe0d89 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190919092653eucas1p21a1caa00589649fbc972bc7b84fe0d89 References: <20190919092641.4407-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. Suggested to based on at25.txt compatible section. Introduce minor fixes in the old documentation. Suggested-by: Krzysztof Kozlowski Signed-off-by: Lukasz Luba --- Documentation/devicetree/bindings/ddr/lpddr3.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt index 3b2485b84b3f..a0eda35a86ee 100644 --- a/Documentation/devicetree/bindings/ddr/lpddr3.txt +++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt @@ -1,7 +1,10 @@ * LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C Required properties: -- compatible : Should be - "jedec,lpddr3" +- compatible : Should be ",", and generic value "jedec,lpddr3". + Example "," values: + "samsung,K3QF2F20DB" + - 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 +46,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 +76,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>;