Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp919045ybe; Fri, 6 Sep 2019 09:12:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsc+gbrg0dRuxU3kJGGTcgvUw7dfL8ci59f0Tw8r70j6UEkRLXqYF3n6A6CwmCkEM+uvpZ X-Received: by 2002:a63:e20a:: with SMTP id q10mr8463420pgh.24.1567786365959; Fri, 06 Sep 2019 09:12:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567786365; cv=none; d=google.com; s=arc-20160816; b=lsDI5mmjcNvtjVmkZqESghFbQ9vTu/ihoMlCaFnH2XzttXwIzkhxrFmBsWdErjMW+k jLu9YdZvvtE9LqvaZa99ofa0WdznS4wkU3utdsg8PjyPh1PXYu2Xg5hY25FlkE+9oh7M 9+kMcPYcpY9KFkFEHLy/imHpKxZM4AxgsqeGSfqnUO1zf0d8VKT8c/fJ8cjYC9728i9f GCbT7csMjv8GxtGdv3TIFzNwCRjS/o5YKSm1AmvBbw9T2p7DX/esveew4Tdl6HiFCbTH Q3gxxvAFzIPjvSPpD9G7Glx2F5Z8gb1rrESST7YyVm6q9AiUgHA7ib0rPDY0/alDvkL3 HTOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PajssEy7qsFsVuQtTrFK70xD9TT6pwL/AcqTXe3FvJY=; b=Iylzcn0u8wYfwAfvg/Z6Vx1usn3Pdsf8spTVA1gNc3J0gJkr9eW9i8ShroOQ9n3Pv4 PBnAtqPpaNi+bRj8xPRWpdfHJvRaj1UXh2HJ197n+IXJOwXsVhNKQIDXOr1Ik0zWAPBI EK8RgjVUCUnMKsMmw+/+TyIYQaOZojQi0sI1NTfzYFttdIHdB/jX8liaqNUeIWypF+xU 81qHvFqtuT8l/Y13BzoZ0KX29YF2UeXkbvww1Tp8FIGGhznWYoRkLejsvaT0T1UrUbel LoXU5a7VBxzNT/E/qf4cMw2nRAQkv+WqWfFEQKXQZobVB2g7QMmS73m46iInXYB5CGzo mywg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iwe7A6PO; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l67si5242078pje.100.2019.09.06.09.12.29; Fri, 06 Sep 2019 09:12:45 -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=@kernel.org header.s=default header.b=iwe7A6PO; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391839AbfIFK45 (ORCPT + 99 others); Fri, 6 Sep 2019 06:56:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:45266 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388816AbfIFK45 (ORCPT ); Fri, 6 Sep 2019 06:56:57 -0400 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B505208C3; Fri, 6 Sep 2019 10:56:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1567767415; bh=eKqQLsZ1CqXLPChoayXDfV/yXKBUa6ki7SK6YURr7JQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=iwe7A6POO/AXJafBwclGZTdDimAL7JL/4tkeyQ2Hmmn/p1RAKgcK1OXWpNcost0c6 vb6M7H3Hkn2NmTAYYE4TKKuMQBsOeTRnrzB3CLFIS0u69fCfWWPHZAnzndjTpfAjSt FTUs49YdlcffPsxSnWGKYkGzC9ON7Sqxu9LEJ72k= Received: by mail-lf1-f46.google.com with SMTP id w67so4643365lff.4; Fri, 06 Sep 2019 03:56:55 -0700 (PDT) X-Gm-Message-State: APjAAAX7QwOnVMGx9VyFBlAipKtctxddwMZyP5E2ngKc3f/PStM44rI4 BADpwCTBLEpKc+BXgcabB9zaf+m39yPd8ELcLtk= X-Received: by 2002:a19:c649:: with SMTP id w70mr5991002lff.33.1567767413630; Fri, 06 Sep 2019 03:56:53 -0700 (PDT) MIME-Version: 1.0 References: <20190906101344.3535-1-l.luba@partner.samsung.com> <20190906101344.3535-4-l.luba@partner.samsung.com> In-Reply-To: <20190906101344.3535-4-l.luba@partner.samsung.com> From: Krzysztof Kozlowski Date: Fri, 6 Sep 2019 12:56:42 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories To: Lukasz Luba 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?B?QmFydMWCb21pZWogxbtvxYJuaWVya2lld2ljeg==?= , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Best regards, Krzysztof