Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4339599ybe; Mon, 16 Sep 2019 10:30:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqzralwMUnULibxWNybnznd8gJOcY2iK20eVuMZ1ELrf+KMUvx9kExZn4qIB/oi05xmSLccU X-Received: by 2002:a17:906:2ec8:: with SMTP id s8mr1074386eji.275.1568655015336; Mon, 16 Sep 2019 10:30:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568655015; cv=none; d=google.com; s=arc-20160816; b=HGm/moolEZFw/QGCwgOF1rw5kFI0gRdT0WXZWyTo9EH/s4iX1uualKmcN3Q9NvbTGx DA17gil1vXp97DYVdzIbGJk7CiGYYo1+Z1Ok/fQzjn7QltRfvL6hMrlQ4UZzUPsPoBMl DSbnBbhbyXmWmCoiR58hlPguGoUCenaQfYp5nidT3TG7CQHhQF9bP7w2sL0Y7HEGcGDs 8lXImjj1vvy1OpyD7GwiKW3lyMR1Y9VEN3RrhDBl8EydhKSl0aUduBuEoHH3en7NCDPf EzOHMfKv8ca3njDS3iUPCN6w6xDiY/uO3hOb1sdRCC2WJP33dxhI6YVy8TOipirVamCV 26Vg== 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=iuHLb85Z2D3Szb5HcwZ4eEWC4tX/t5FH2HMb/lXL8xM=; b=FuHkFzbvQmpGdFVgYflXBqj5Ag+9fHmkn2EgW+mRHLtOlm7i52+Z3C+L5TOeZ/h1Tg Ij/BNtlIWDZI9UkapRSH2dAFwd+4DBrzuzke2z+KJKcAMAJsSM+YzRtkgU9RffnZ4+qA 4EapVnCK+B3BdvQRGxPpnnI3TxdcXZeSOdgpHolpdTx50cEUhiAEgSf7npVLJMqP8B+n X2Nm8tQ7OajvBD8E5H88bP9lcAVQxNUNMibqKig4LXJVaA9RkRQrWTtGh+ejdVlhoQ/r CMasNh/xQ2AAD23WcglBWWXYApnsHA1g5w5F696aveErPV79zhLOLZhlb9rmujef37iE xlrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LUYpa4Sh; 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 f8si19703620edv.198.2019.09.16.10.29.51; Mon, 16 Sep 2019 10:30:15 -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=LUYpa4Sh; 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 S1732173AbfIPJuA (ORCPT + 99 others); Mon, 16 Sep 2019 05:50:00 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:41174 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728985AbfIPJt7 (ORCPT ); Mon, 16 Sep 2019 05:49:59 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190916094957euoutp027346ce9ff951682a4ae8ec8d8c772492~E4k6v_tz10348003480euoutp025 for ; Mon, 16 Sep 2019 09:49:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190916094957euoutp027346ce9ff951682a4ae8ec8d8c772492~E4k6v_tz10348003480euoutp025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1568627397; bh=iuHLb85Z2D3Szb5HcwZ4eEWC4tX/t5FH2HMb/lXL8xM=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=LUYpa4Sh3S8XjbZGY7vITT/EJ2IwD14Svik/lE5EvSYeHsJJ2Gg9EfVQmJ6I4DS1f IVz8ZJFtLTOd/DZ/78TydKSRZjizifz9P7Ut2Ak33BDiZjoavUaf1UIKqt4Zk08s7N ppojjdbIUeBAgzWV0v50tmR2hIQwVSrrt82gbEmI= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190916094957eucas1p1035b14c56a867a0206e2e1d11c19645b~E4k5-3U-E2395523955eucas1p1O; Mon, 16 Sep 2019 09:49:57 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 15.1B.04374.4CA5F7D5; Mon, 16 Sep 2019 10:49:56 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20190916094956eucas1p24cc2a1dfa8565ba6e1ff3d4fd1f09f73~E4k5KmyED0502405024eucas1p2M; Mon, 16 Sep 2019 09:49:56 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190916094955eusmtrp2debf0d072bbc1b2e06241b7ea59df52d~E4k48V3iW1858618586eusmtrp2l; Mon, 16 Sep 2019 09:49:55 +0000 (GMT) X-AuditID: cbfec7f5-4ddff70000001116-2e-5d7f5ac4b73e Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4B.F0.04166.3CA5F7D5; Mon, 16 Sep 2019 10:49:55 +0100 (BST) Received: from [106.120.51.20] (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190916094954eusmtip11d9afbb904d4a61073bd82cea965e2cb~E4k33i_DG2359023590eusmtip12; Mon, 16 Sep 2019 09:49:54 +0000 (GMT) Subject: Re: [PATCH 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories To: Rob Herring , 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, 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: Date: Mon, 16 Sep 2019 11:49:53 +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: <5d7ba95a.1c69fb81.bfd81.77ba@mx.google.com> Content-Language: en-US Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTYRjG+3Z2Li4nn1PzRaNwEN1Q0/rjWNIFREYEldGFYtmqg0Zu051W qyRXoGml3cDLMldQrdZqtWxeikW6vJS6ZFR2o4uDoKaBWiSrzHkm+d/vfd7n430e+BhC9paM Y/Zo9nE6jSpPTknEzrbRnkT31iLloiFHInu32k6yr0a+kKzZ3UOyp/u/EazHc4dmu4/5adbR /5Jkvc21FDtc7kZstcclYm+539Ps1Ve9Ivbt0esUO/awkWZb/cdJ9mfHZ7QSK2x1NqRoMr2n FQ5rGaW4d6VIUVFvRYphx6x11FZJ+m4ub89+Tpe8fIckt/mkXZTfFGfwtV6mjMgZcwKFMYCX wOO2TnQCSRgZvo6gq+sJIQwjCDpGn9DCM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AXWsUgsnviaCaLhILNE51G9LkYO DjYBPYkdqwpBwrwCbhJPVk4E28UioCrRefEUM4gtKhAhcXjHLEaIGkGJkzOfgNVwClhKtG0/ D2YzC5hJzNv8kBnCFpe49WQ+E4QtL7H97RzmCYxCs5C0z0LSMgtJyywkLQsYWVYxiqSWFuem 5xYb6hUn5haX5qXrJefnbmIERvW2Yz8372C8tDH4EKMAB6MSD29Da12sEGtiWXFl7iFGCQ5m JRHe8I7qWCHelMTKqtSi/Pii0pzU4kOMpkDPTWSWEk3OByacvJJ4Q1NDcwtLQ3Njc2MzCyVx 3g6BgzFCAumJJanZqakFqUUwfUwcnFINjDxuaQvCPuYennXzMbu58wXbnBnc6bO2yy6aaavs Oenz3hNLQ/3izCduPJInuJb9+CeefN4NLUZCM7+n9NUJXlOXDJ7KP6/h57726lsm7Q+jUk59 beZnP7ms/4R0z4/8sGU1wWY7SoqdObMZn625e+GX0g2n3GL53/LS5ms0rLqXLdz7mL3ipRJL cUaioRZzUXEiACZDB4wAAwAA X-CMS-MailID: 20190916094956eucas1p24cc2a1dfa8565ba6e1ff3d4fd1f09f73 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> <20190906101344.3535-4-l.luba@partner.samsung.com> <52963d0d-cf48-7085-5581-a94c6e15e0bd@partner.samsung.com> <5d7ba95a.1c69fb81.bfd81.77ba@mx.google.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, On 9/13/19 4:36 PM, Rob Herring wrote: > On Fri, Sep 06, 2019 at 01:50:26PM +0200, Krzysztof Kozlowski wrote: >> On Fri, 6 Sep 2019 at 13:39, Lukasz Luba wrote: >>> >>> Hi Krzysztof, >>> >>> On 9/6/19 12:56 PM, Krzysztof Kozlowski wrote: >>>> On Fri, 6 Sep 2019 at 12:14, Lukasz Luba wrote: >>>>> >>>>> 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 >>>> >>>> If you decided to repeat all properties again, then it deserves its >>>> own bindings file. However I though about simpler solution - just >>>> document compatible. Exactly the same as AT24 or AT25 EEPROM bindings. >>>> There is not much benefit from copying all these properties. >>> OK, I see. I will add only 'compatible' and skip the rest then. >>> So the lpddr3.txt file will get this addition: >>> >>> +Samsung K3QF2F20DB LPDDR3 memory >>> +------------------------------------------------------------ >>> + >>> +This binding uses the LPDDR3 binding (described above) >>> + >>> +Required properties: >>> +- compatible: Should be: >>> + "samsung,K3QF2F20DB" >>> + followed by "jedec,lpddr3" >>> + >>> +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. >>> + >>> >>> Is it OK? >> >> To me it is still a lot of text just for one compatible and I can >> image more of such entries for other memories... However I do not mind >> and anyway, YAML will simplify it. If you're in doubt, wait for Rob's >> reply as this is his part. > > We can't have multiple (top-level) schema in one file, so better to add > in where the existing compatible strings are. Thank you for your comment. I will add the needed string into existing compatible then. Regards, Lukasz