Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp617030ybe; Thu, 19 Sep 2019 00:39:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqb4BQYcj/OOYUxucih9ahRDdd1lW4ZYjtwviG5lw48eA5KlC6hN2N7oTgLvNryXkHP3od X-Received: by 2002:aa7:d295:: with SMTP id w21mr7428117edq.302.1568878753050; Thu, 19 Sep 2019 00:39:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568878753; cv=none; d=google.com; s=arc-20160816; b=xixl58Y0pwi74mq6tgFuacYbTEVdUmKcaHkz3pBWktJuGgNJI0NdEOUBPp2ivY4fC5 5ichx2Y3B72khe5uSSGuMeUs7TgQsda5Uu+8hciGzqQ71RcaZVj5yJVoZqBjNB42Ms/O pKY449QN8jaQOj9N+V7gE0qWTl5xCDs9QMAyGkSAkFzQdfKbj265P4s1p5oBGL+5kR5j oyaFkGeC4fGEbvVx1+Bbl++ZePlKJ7FHjG1Xu0KE7B48AX+GoUbPzTDKqb2J45FoWS+B t9lwGI0GjxKEjrwfCiaCqXzLaS8LvrPjtW19bdNydiXo0GDtFqhRHz6yIMQZsOya6piT GV1Q== 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=p7qbrmP5w9u16xdsgKqpm4yWd7pNksehgriKSn5DTq0=; b=hI8sJ3rpF/RE8dq0B8KgrAF0a8CijILfyh1FvAVtr01umSoQSFEU20EXyFSp4LA3Qe tct2zbE19fjz/gkTzwdkoP2BzHxpkhJZk12srC/bpUbUODzggWIgM6fShTLRHJQs/TR5 q1/Ql3YRArPDcXXH6pRCUqk1b1BRcnm5xSKACzCtZY6HhA4HgK4V1VqS8x7jzuDwRke7 Q+Aio89OYnK3N0dCYvTD+UBmasU+iqecnpWAUHJ77g5IcgDoWy8I5daxyXQfG0rroU+l kfFGfXtDWfUtmFfD75BM8ca5KbLzkiDAJMglNbOOr2edSZvzHP+RZqzO6T46btdcvdnY 9T9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="Il5L/Gad"; 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 j18si4038646ejv.201.2019.09.19.00.38.48; Thu, 19 Sep 2019 00:39:13 -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="Il5L/Gad"; 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 S2388504AbfISGtO (ORCPT + 99 others); Thu, 19 Sep 2019 02:49:14 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:49837 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388141AbfISGtN (ORCPT ); Thu, 19 Sep 2019 02:49:13 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190919064911euoutp02f153f37092583b11e8619aa89fc4e203~FxC8NDdgW1598015980euoutp02J for ; Thu, 19 Sep 2019 06:49:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190919064911euoutp02f153f37092583b11e8619aa89fc4e203~FxC8NDdgW1598015980euoutp02J DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568875751; bh=p7qbrmP5w9u16xdsgKqpm4yWd7pNksehgriKSn5DTq0=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=Il5L/GaddKTrNT403tAY0NHMzilpvdBoZlBOF3X5UXNMFdBMIktCZvYpKr/qBfb7L v76RqXyLfpPOCFN531Ap+5FA5allt0HjsgG76ACO2DY1q/h6UbAxXqrYMxIj91ipgb b/Yq67SjhIqMjKLYn2PF+c52VBdtKAk3DYiB8AhE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190919064910eucas1p1f5d583718810e243d7a5d531253e04ea~FxC7XnmQd2575425754eucas1p1K; Thu, 19 Sep 2019 06:49:10 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 62.95.04309.6E4238D5; Thu, 19 Sep 2019 07:49:10 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190919064909eucas1p1ba3cd25428c7b0162de535cf3f038cc6~FxC6jS9eX2169821698eucas1p1m; Thu, 19 Sep 2019 06:49:09 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190919064909eusmtrp15d2cf82b862c88a7e834d47d06e671a3~FxC6Sc9VV1215012150eusmtrp1t; Thu, 19 Sep 2019 06:49:09 +0000 (GMT) X-AuditID: cbfec7f4-ae1ff700000010d5-69-5d8324e6ff34 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 11.94.04117.5E4238D5; Thu, 19 Sep 2019 07:49:09 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190919064908eusmtip27eebb3e295389c59a871b84f5b28a15b~FxC5pTwOV1178711787eusmtip25; Thu, 19 Sep 2019 06:49:08 +0000 (GMT) Subject: Re: [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories To: Krzysztof Kozlowski Cc: 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, =?UTF-8?Q?Bart=c5=82omiej_=c5=bbo=c5=82nierkiewicz?= , kgene@kernel.org, mark.rutland@arm.com, robh+dt@kernel.org, Chanwoo Choi , kyungmin.park@samsung.com, Marek Szyprowski , s.nawrocki@samsung.com, myungjoo.ham@samsung.com, willy.mh.wolff.ml@gmail.com From: Lukasz Luba Message-ID: <4a0d1d2c-cd1d-5df4-d4b1-f2dd1ef3bb72@partner.samsung.com> Date: Thu, 19 Sep 2019 08:49:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTcRTH++3eu3sVZ9dpetCoGFrZQ3tzoRJ7EIOIEioiEZvuoqLTtesj s2gZPvERaaXDR1Iy05m2hppghK5UJJ1WmoqoaWqlUD5WllabV8n/Pud7vud3zhd+FCbuJVyp sMhoVhUpi5AIbfGa1/PtO8fcbwXsqk1zZJ7mVRFMz+w4wRQb2wkme+QrxnR0VJPMm8RJktGP dBPM2/oCITOTaURMXscLAVNpHCCZ0p5OAdN/s0zIJDUYSaZpMoVgzC0fkS8t1RXpkPS5ZoCU 6svThNJnj25IswzlSDqj33BGeNH2kJyNCItlVd4+l2xDzWneyi7HK98m7mJq9IRORzYU0Pvg c9YkkY5sKTFdhiApo1XAF7MI0pIHML6YQfCyqES4MtI/XojzDS0C7WgOyR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hMjiM0ioCqx4ec3sG2iQEMP75jFCFEjKHFy5hMWkFZOgUCJTX9S QMLMAmYS8zY/ZIawxSVuPZnPBGHLS2x/O4d5AqPQLCTds5C0zELSMgtJywJGllWMIqmlxbnp ucVGesWJucWleel6yfm5mxiBUb3t2M8tOxi73gUfYhTgYFTi4f2h3hQrxJpYVlyZe4hRgoNZ SYR3jilQiDclsbIqtSg/vqg0J7X4EKMp0G8TmaVEk/OBCSevJN7Q1NDcwtLQ3Njc2MxCSZy3 Q+BgjJBAemJJanZqakFqEUwfEwenVAOjw3veWSEGC69u2jAtxJxn6TKHRWeeR3U8tvd2exSU 5ZilvMSgPSh6kvMG+7gnNe91S/5Ozdn+U/Xl91nl+5iFc5fLPNhfX81ZHihzvledN5R5EjMv 74x4NrOD2h8+rbtz/0apNLvquWe86xIfBt1f+3ve09APt+9Pc9h3Vu68+LF/5f/50yYZKLEU ZyQaajEXFScCAHgiRS8AAwAA X-CMS-MailID: 20190919064909eucas1p1ba3cd25428c7b0162de535cf3f038cc6 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190916100719eucas1p206fe95982b774840b5d6e62ba9c42c79 References: <20190916100704.26692-1-l.luba@partner.samsung.com> <20190916100704.26692-4-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Krzysztof, On 9/18/19 8:51 PM, Krzysztof Kozlowski wrote: > On Mon, 16 Sep 2019 at 12:07, Lukasz Luba wrote: >> >> 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". > > The convention is first compatible, then description. I gave you the > example to base on - at25. Why making it different? I have checked at25 that you pointed me to and also checked at24, which has a bit longer "compatible" section. I found that there are many "jedec,spi-nor" compatible devices, which I thought would be a better example for my "jedec,lpddr3". For example, two configurations, where you have a single labels or dual (with specific device) arch/arm/boot/dts/imx6dl-rex-basic.dts: compatible = "sst,sst25vf016b", "jedec,spi-nor"; arch/arm/boot/dts/imx6q-ba16.dtsi: compatible = "jedec,spi-nor"; The 'compatible' in documentation for the "jedec,spi-nor" is slightly different (similar to at24). Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt It has a long explanation, which is also OK. So I thought that it is quite flexible what you put in there. I have also checked Cadance QSPI controller. Documentation/devicetree/bindings/mtd/cadence-quadspi.txt The controller might be built-in into different vendor SoC's and the "compatible" is ready to reflect it in similar fashion but with a short explanation in this section. Therefore, what you see in the patch draw heavily on Cadence's qspi, with a bit of inspiration from jedec,spi-nor usage. Should I change it to at25 "compatible" style and send next patch? PS. Thank you for taking the other two patches. I will not respond in their threads to keep the traffic low. Regards, Lukasz