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+th0Qm2Bcy6KjyE9mL1ULnVzct6iS7ElxjviIq 2TB4WZAqzRYA1XXNhMgebDjUFP6eTQK2m4aqBpNMknZBoc1OSewFn9odtMS+0HHVTEosgOly GZL4DAxcuTHnhEBrexcl5hLsaqhtCpLKO+BtzgQt3dYT3n5eJA3vCYX1RYRUVsKF8yrJDgSH +cXcMEugsub63OEcOEpMlPR+hQgsl/T5KKD4f9YthGzIm08R9LG8sCmRP6URdHohJTFWc9yg t6OZD9Ux3T7ZgJqmjrUglkH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re8aF6d7v7jfSbj3 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>;