Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp810234ybe; Fri, 6 Sep 2019 07:40:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqz2j5nqQlPnBybMLx+91o+f8wTvfHLyZ+5QSufKBDPtW6/RIkPRr101nWQrIrul7nAIsVf7 X-Received: by 2002:a17:90b:909:: with SMTP id bo9mr7017279pjb.41.1567780810040; Fri, 06 Sep 2019 07:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567780810; cv=none; d=google.com; s=arc-20160816; b=i69t60mcPowy+6jeq/2AiCTi2/dqCAPlGYpIXJsKqX7oKUmUJ47JyEWvxoWhpaSYLF FX7Fm3r/SQGiY+DARBlnRCwJP9X1LI/t154Doh6ZoMnk92Z7w+J5/i+DBK5SLIOicHGC lje0lowoSnBZWuReNyTFIcoqt3Do4q+j7BL6g8hMWyBqlSOLGfR0nklJiMIumuEwxX71 I06Xmcme7hYUc1cyz1nAKE4fXBEAU/uGwPRvsJh8Z0hl2rvvKeP+SmOiic0tOxHLdmRj Ivkm4XBlL7QMOBv6Et2bAnozqaHdhI8y3abGDRZ3J1egGfM3TGT6t7ITV/Y17tV+urug BlgQ== 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:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=OHYIHhGJeuiILvH2fW3MHBtLQfu9LguRK9+tcyvHP4c=; b=n8CPjPclxV1yUbNWx32U3EiyTl9NPXaHlRNpXoMRPHkgw07QVrtMIriNP/SomYEhF1 8dpK6xiAQF7cuCg/hZDlMXA3A//dLvnyh9P9mRW2F1CeXF2pFA1SwtjveWOJ1pTJrouH lViFsHayQojWySRlH9sUKOnQQ9ltU2HD+UHYlWqsC57ioc1KYjBImR7zUtmczq5EpUGS B2UQnBjPMYOssZguiwnkyQeEj1uRm301cBRyGjB1S4DLEnR6VJEUvzbpYRmn3U1K8s3k FSPE0asQyMH45m9aMqa6owcg8suovYYZvVPMmwqRD5fSeYFPOr41KdJRjbpV4/DN7c2R LGAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=NdPtgxNi; 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 o8si4554893pgj.239.2019.09.06.07.39.53; Fri, 06 Sep 2019 07:40:10 -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=NdPtgxNi; 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 S2391529AbfIFKOM (ORCPT + 99 others); Fri, 6 Sep 2019 06:14:12 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:35059 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391473AbfIFKOK (ORCPT ); Fri, 6 Sep 2019 06:14:10 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190906101409euoutp02a7e0b7f089227cc5621b1b89bcd86d84~B0dL421O11083310833euoutp02_ for ; Fri, 6 Sep 2019 10:14:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190906101409euoutp02a7e0b7f089227cc5621b1b89bcd86d84~B0dL421O11083310833euoutp02_ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1567764849; bh=OHYIHhGJeuiILvH2fW3MHBtLQfu9LguRK9+tcyvHP4c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NdPtgxNiZMP1AMJx/AbbQL+wxEl2+EPgvsKMjA9i2vERZsb5M9D20Wu8IoVlnhLDS F0/1uxfvZ2jR00TYVHlNh3Z6RFFJHJeBh0XQmLBX95y+Wj2xK5om+KFrEdFJpqoOqW ERw1fp0KAttIAFBKgAiuTPiZt10ulZm1KmZSR0eA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190906101408eucas1p2caf15ca314d5e5d19d9fffb64873f487~B0dLFjkyq0165501655eucas1p2S; Fri, 6 Sep 2019 10:14:08 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 05.C7.04469.071327D5; Fri, 6 Sep 2019 11:14:08 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190906101407eucas1p15eb0df53374b27497b4793eab24becf6~B0dKEa8Lv0522205222eucas1p1v; Fri, 6 Sep 2019 10:14:07 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190906101407eusmtrp137eb26ab183ca80cb8352672348ab41e~B0dJ16fBx1272412724eusmtrp1e; Fri, 6 Sep 2019 10:14:07 +0000 (GMT) X-AuditID: cbfec7f2-569ff70000001175-e9-5d723170a0e3 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AB.9E.04166.F61327D5; Fri, 6 Sep 2019 11:14:07 +0100 (BST) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190906101406eusmtip12f0d144656723f3a4441858294962e36~B0dJBndGY2707427074eusmtip19; Fri, 6 Sep 2019 10:14:06 +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 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories Date: Fri, 6 Sep 2019 12:13:44 +0200 Message-Id: <20190906101344.3535-4-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190906101344.3535-1-l.luba@partner.samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA0WSe1BMYRjGfXvO2XNqbL5Wo3cqmlmMW7qMy3yqcRmXOaNh9IcxI4ZVRzUq 2zlFYVi5N8KsySWJblPWEqtpSC3VTiFsGIqtJnZMLiG2Iky0zuK/3/u8z/O977zzcZS6kvHj ElPSBDFFm6RRetJVjYMPp+vCxLWhJUYvcvVUBUNa+7oZcs76kCFHHe8pYrNdYcmDrB6WvNAH ELPjGUOeVOcriTPHisgpm0VBLlk7WFLa+khB7LvLlWRfrZUlDT0HGDJw5xWa782bCkyIv5HX wfJm4yElf61kF1/3sUbBH6k0It5pHreCXe0ZGSckJW4RxJC56z0THPbvCl0RzqjtPEPpUb0q G3lwgGeC/e1lRTby5NS4HEHXUBMjF30ITpi+UnLhRFBeWMT8jZSettJyowxBtsWA/kVM9qrh CMcpcTBcN6a6Aj64GMFAw2oXU7hKATn9AS4ejaMhN7eOdTGNJ8I3cxHtYhWeC4PX3tDysEC4 eOU25WIPPA8MFbl/BgNuZKF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Q5GJR5e gS8FsUKsiWXFlbmHGCU4mJVEeNdvBArxpiRWVqUW5ccXleakFh9iNAU6aiKzlGhyPjCO80ri DU0NzS0sDc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MBZ2dDVv8wrpsbb03P79 molSXODx7mSrXvaSBtdDS94YZjyoCIzw/X9uZd++4K+LHH5uOfv8o+9j1rcZDudPrw9/U1yo riL6fkXlra/b9oUoTngrJ2LC/WZmUHqI6PaP7zl6Xzi2lffdefcup1XX706Yz10vrdmeJa7f 3u92LDaKuKc1T/TkQiWW4oxEQy3mouJEAAynBn+rAgAA X-CMS-MailID: 20190906101407eucas1p15eb0df53374b27497b4793eab24becf6 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190906101407eucas1p15eb0df53374b27497b4793eab24becf6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190906101407eucas1p15eb0df53374b27497b4793eab24becf6 References: <20190906101344.3535-1-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add description of bindings for Samsung k3qf2f20db LPDDR3 memory. Minor fixes in the old documentation. Signed-off-by: Lukasz Luba --- .../devicetree/bindings/ddr/lpddr3.txt | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt index 3b2485b84b3f..de0905239767 100644 --- a/Documentation/devicetree/bindings/ddr/lpddr3.txt +++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt @@ -40,10 +40,34 @@ Child nodes: a given speed-bin. Please see Documentation/devicetree/ bindings/ddr/lpddr3-timings.txt for more information on "lpddr3-timings" +Samsung K3QF2F20DB LPDDR3 memory +------------------------------------------------------------ + +This binding uses the LPDDR3 binding (described above) + +Required properties: +- compatible: Should be: + "samsung,K3QF2F20DB" + followed by "jedec,lpddr3" +- density : representing density in Mb (Mega bits) +- io-width : representing bus width. Possible value 32 +- #address-cells: Must be set to 1 +- #size-cells: Must be set to 0 + +Optional properties: + +The optional properties are the same as in the LPDDR3 generic bindings and +values should be taken from the data-sheet. Detailed bindings are described +above. + +Child nodes: + +Detailed bindings are described in LPDDR3 generic bindings described above. + Example: samsung_K3QF2F20DB: lpddr3 { - compatible = "Samsung,K3QF2F20DB", "jedec,lpddr3"; + compatible = "samsung,K3QF2F20DB", "jedec,lpddr3"; density = <16384>; io-width = <32>; #address-cells = <1>; @@ -73,7 +97,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>; -- 2.17.1