Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5339911yba; Tue, 30 Apr 2019 13:07:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZSWdXww9sqXTOKI5wqIebZnHyyr1HY1Y3RyOUKf4Ru4Qa7pXnctvlfCNgEqAjdxZmfo8r X-Received: by 2002:a63:ee01:: with SMTP id e1mr57876073pgi.20.1556654843440; Tue, 30 Apr 2019 13:07:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556654843; cv=none; d=google.com; s=arc-20160816; b=maEJFpBSnbwh52VAnvdC0nPl1FmhddOLeCF4E3G2/viaLukdPtIDbvl8s6yyxvZwS9 GSt6d7ICdGI7fSDIUfZ0xq8iSR0hsi6ovIy8YSfB5baNbN5K3iEV4aEsUlC7/vwo589C 9oibPKvqo41rtqqFXcZdSmBQVTf2JmOa9XDGGCYC6l70COJt5KM0Q0kT83RnOOy+ZjFe ERwujt1V5/KU33drSVo3mffZ6ivHWI5pGUTqOP1Ed/WXkkJ2R0PUhbzltkXM/AN4YDbs WhNkc3r1w3qALrpsrTt2ub/JbRN9SkXD98UCPJyI4gAjPfW/pwZLIvwvcglYvXBzMXdQ UYYA== 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 :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:cc:to:subject:dkim-signature :dkim-filter; bh=Gpy8BLya4g2MHxARJxwy2Jm4W95tw290iv7EKrZLDV8=; b=Xth2byeb11tLjCMt9gdGlKzCoq/GxjvZVK3QeBr1ngU02YRuM8WocPUrT2hVH0prcs b9Vr3RABcwq9oye82DzgimfV00BDI8XvXopnChAnzBzvXtmqv9k1pjkZoo3TN29yNLa+ mw+tpqfpwLOAwCusZmJwCHCo/WPXskPnb856jlh78kKIzuNmU1MIJg0SHBnBOawlccPD Z4fSXMNcUyHj2+aQxbtDVEn7xJJYTzoxsX+z7OKQ/AdxKvasBCsjlDMtXFXAmd3SsXZw Fca3Evkea77Bvm/WeJs1l8LHp9Kb6GdOg3BGntdvU6zPHBRtZy3u5pj4cccEedYq881J 5pGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=KISzi5OK; 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 a16si7646405pls.280.2019.04.30.13.07.06; Tue, 30 Apr 2019 13:07:23 -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=KISzi5OK; 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 S1726793AbfD3UEj (ORCPT + 99 others); Tue, 30 Apr 2019 16:04:39 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:60463 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726049AbfD3UEi (ORCPT ); Tue, 30 Apr 2019 16:04:38 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190430200437euoutp01fa1779a8345ffed5a8f25ebed3efbce4~aWS5nfXVV1412914129euoutp01C for ; Tue, 30 Apr 2019 20:04:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190430200437euoutp01fa1779a8345ffed5a8f25ebed3efbce4~aWS5nfXVV1412914129euoutp01C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1556654677; bh=Gpy8BLya4g2MHxARJxwy2Jm4W95tw290iv7EKrZLDV8=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=KISzi5OKkCl1BAoQPlogjigM3qKs+Rx1iQDG5cfcRiFtcP1TrWSIWrwyDhSb9WAox 6082RJpmA6YFkvXfAMDdRHct3+4arjl2zfFfVukkPddjKFmSLy5piT/wCKxoMJiIo7 D9BGx5TLRBdkvtnLzh+phnjjvvumIwV39cK7ON1w= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190430200435eucas1p15920c8ae72064a01a4a7225d354561c4~aWS4TUu_Q3239632396eucas1p1V; Tue, 30 Apr 2019 20:04:35 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id AC.B4.04325.35AA8CC5; Tue, 30 Apr 2019 21:04:35 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190430200434eucas1p2efc6bb09f7af8ec07a7fdb55d0cb8f96~aWS22uWm12356923569eucas1p2_; Tue, 30 Apr 2019 20:04:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190430200433eusmtrp1cad2d4fcd586e20f5eb8655faab30509~aWS2nE0Dj1284412844eusmtrp1Z; Tue, 30 Apr 2019 20:04:33 +0000 (GMT) X-AuditID: cbfec7f5-b8fff700000010e5-3c-5cc8aa5331f7 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id AC.93.04146.15AA8CC5; Tue, 30 Apr 2019 21:04:33 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190430200432eusmtip14784aaba9aafcbbd8a66b7df6e497250~aWS1mADMd0208402084eusmtip1r; Tue, 30 Apr 2019 20:04:32 +0000 (GMT) Subject: Re: [PATCH v6 04/10] Documentation: dt: device tree bindings for LPDDR3 memories To: Rob Herring Cc: devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "open list:THERMAL" , linux-samsung-soc , Bartlomiej Zolnierkiewicz , Krzysztof Kozlowski , Kukjin Kim , Chanwoo Choi , Kyungmin Park , Marek Szyprowski , Sylwester Nawrocki , MyungJoo Ham , Kees Cook , Tony Lindgren , Joerg Roedel , Thierry Reding , Dmitry Osipenko , willy.mh.wolff.ml@gmail.com From: Lukasz Luba Message-ID: Date: Tue, 30 Apr 2019 22:04:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Sf0yMcRzHfe95nrun49rTVfqsWrjNpE1YxteyZDMemY1hMxqOnlXTVe5R 5MeUFEVlleiUq82PXIgkJ4ST7tJv+bXox2Rl6Th1FRVx92T67/V9f97fz+fz/u5LE/JvlDsd HrmPU0cqIxRiKVle/bNx3kadKXjByFNnfPt8CYXfWnsorK1qoHDx9y6Es17ki3DdKRXO6PpC 4MbGWxJcf6xPglsq8sR4IK0K4fONlSJ8o6pNgt8nFInx+EO9BD/rO0Hhx6+C8PtRRzxk+ogC ndmhwUySvRDfTLL3NW0StlSXImbTEr+K2fQyHWLv1B5iB0q91tNbpctCuIjwWE49P2CnNOzz cD8Vfd/9QFLfEyIe6V1TkQMNzCJIuJZI2FjOFCHIMwalIulftiKwpNSIhcMAgg+dN6lURNtv jFuWCvpVBMbmSxMmM4JU0whpa+XMbIPe9FeUjV2YWTCanEPZTAQzSEHy9Wxk6yRmf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UgDr4CbxIfPM5lBbBYBVYlP8++B LRYViJA4834FC0SNoMTJmU/AbE6BQIn5C5sZQWxmATOJeZsfMkPY4hK3nsxngrDlJba/ncM8 gVFoFpL2WUhaZiFpmYWkZQEjyypGkdTS4tz03GJDveLE3OLSvHS95PzcTYzABLDt2M/NOxgv bQw+xCjAwajEw3vB7USMEGtiWXFl7iFGCQ5mJRFej+NHY4R4UxIrq1KL8uOLSnNSiw8xmgI9 N5FZSjQ5H5ic8kriDU0NzS0sDc2NzY3NLJTEeTsEDsYICaQnlqRmp6YWpBbB9DFxcEo1MCqK 2M7d9uL+kf8/Fin9OPFcT47hq5Ho3PWZHz9pv5lgUxzVpnre/aXLMs4tj74+OKKpeC/dTFX/ HtdXyTrmSTwn86Y7nusO2Cz/TkL/HefRJLuyJbJBzqfVTX/uDJzz+HGq9Y6Dlg29z/mSJsye 0nVLPqxe7KKkxFr5ua7+vgUfYqfNdXjnLKzEUpyRaKjFXFScCACy877cFgMAAA== X-CMS-MailID: 20190430200434eucas1p2efc6bb09f7af8ec07a7fdb55d0cb8f96 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190419141945eucas1p1c95d65f261f82da5c856c0f2fcf1ce87 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190419141945eucas1p1c95d65f261f82da5c856c0f2fcf1ce87 References: <1555683568-20882-1-git-send-email-l.luba@partner.samsung.com> <1555683568-20882-5-git-send-email-l.luba@partner.samsung.com> <20190425195156.GA31128@bogus> <86715dda-c1b0-5354-17d2-419f8137cb91@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 4/29/19 6:36 PM, Rob Herring wrote: > On Mon, Apr 29, 2019 at 7:05 AM Lukasz Luba wrote: >> >> Hi Rob, >> >> On 4/25/19 9:51 PM, Rob Herring wrote: >>> On Fri, Apr 19, 2019 at 04:19:22PM +0200, Lukasz Luba wrote: >>>> The device tree bindings for LPDDR3 SDRAM memories. >>>> >>>> For specifying the AC timing parameters of the memory device >>>> the 'lpddr3' binding uses binding 'lpddr2-timings'. >>>> >>>> Signed-off-by: Lukasz Luba >>>> --- >>>> .../devicetree/bindings/lpddr3/lpddr3-timings.txt | 57 +++++++++++++ >>>> .../devicetree/bindings/lpddr3/lpddr3.txt | 93 ++++++++++++++++++++++ >>> >>> Please rename the lpddr2 directory to 'ddr' and add these to it. >> OK, I will rename it in the nex patch set. >>> >>> Maybe whatever properties are common should be put in a common doc. >> There are maybe a few common properties, but I would not dare to merge >> lpddr2 and lpddr3 before consulting it with TI engineers who made >> LPDDR2 support. > > Why not. You aren't changing anything. Just rearranging. True. > >> Could we work on a common file after the patch set got merged? > > Yes, but please still move everything to a common directory. OK, I am currently working on it and moving these lpddr* files into Documentation/devicetree/bindings/ddr/ Then after acceptance I will find the common stuff and do the merge. > >>> >>>> 2 files changed, 150 insertions(+) >>>> create mode 100644 Documentation/devicetree/bindings/lpddr3/lpddr3-timings.txt >>>> create mode 100644 Documentation/devicetree/bindings/lpddr3/lpddr3.txt >>>> >>>> diff --git a/Documentation/devicetree/bindings/lpddr3/lpddr3-timings.txt b/Documentation/devicetree/bindings/lpddr3/lpddr3-timings.txt >>>> new file mode 100644 >>>> index 0000000..ebf3e00 >>>> --- /dev/null >>>> +++ b/Documentation/devicetree/bindings/lpddr3/lpddr3-timings.txt >>>> @@ -0,0 +1,57 @@ >>>> +* AC timing parameters of LPDDR3 memories for a given speed-bin. >>>> +* The structures are based on LPDDR2 and extended where needed. >>>> + >>>> +Required properties: >>>> +- compatible : Should be "jedec,lpddr3-timings" >>>> +- min-freq : minimum DDR clock frequency for the speed-bin. Type is >>>> +- max-freq : maximum DDR clock frequency for the speed-bin. Type is >>>> + >>>> +Optional properties: >>>> + >>>> +The following properties represent AC timing parameters from the memory >>>> +data-sheet of the device for a given speed-bin. All these properties are >>>> +of type and the default unit is ps (pico seconds). >>>> +- tRFC >>>> +- tRRD >>>> +- tRPab >>>> +- tRPpb >>>> +- tRCD >>>> +- tRC >>>> +- tRAS >>>> +- tWTR >>>> +- tWR >>>> +- tRTP >>>> +- tW2W-C2C >>>> +- tR2R-C2C >>>> +- tFAW >>>> +- tXSR >>>> +- tXP >>>> +- tCKE >>>> +- tCKESR >>>> +- tMRD >>>> + >>>> +Example: >>>> + >>>> +timings_samsung_K3QF2F20DB_800mhz: lpddr3-timings@0 { >>> >>> Since the lpddr2 version was written, we've gotten stricter about >>> allowing unit-address without reg property. Perhaps 'reg' should be the >>> max-freq instead. >> OK, so I will rename 'max-freq' to 'reg' and add a comment with: >> '/* workaround: it shows max-freq */ >> Does it make sense? > > Sure. OK. Thank you. Regards, Lukasz > > Rob > >