From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH] iommu/ipmmu-vmsa: Include SoC part number in DT binding docs Date: Tue, 20 Oct 2015 13:27:47 +0300 Message-ID: <1833179.ksYYvY8Qgn@avalon> References: <20151019031003.7878.28510.sendpatchset@little-apple> <9833652.FLB0aRvpVP@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-sh-owner@vger.kernel.org To: Magnus Damm Cc: "devicetree@vger.kernel.org" , Mark Rutland , Laurent Pinchart , Geert Uytterhoeven , Pawel Moll , "ijc+devicetree@hellion.org.uk" , joro , SH-Linux , iommu@lists.linux-foundation.org, Rob Herring , Kumar Gala , Simon Horman List-Id: devicetree@vger.kernel.org Hi Magnus, On Tuesday 20 October 2015 17:58:17 Magnus Damm wrote: > On Mon, Oct 19, 2015 at 3:44 PM, Laurent Pinchart wrote: > > On Monday 19 October 2015 12:10:03 Magnus Damm wrote: > >> From: Magnus Damm > >> > >> Add part numbers for APE6 and current set of R-Car Gen2 SoCs to the > >> IPMMU DT binding documentation. The example is also updated to show > >> how the generic compatible string may be used as fallback. > > > > I'd use a wording stronger than "may" here, as the generic compatible > > value is required. I would also explicitly state that in the bindings > > documentation. > > I don't mind using a different wording, but it becomes a bit difficult > to describe exactly when to use the generic compatible string and when > not to. Is it always required, or does it depend on the hardware? > > "For compatible hardware please use the generic compat string." > Compatible with what? =) > > Any ideas how to describe it correctly in the binding documentation? Given that the generic compat string is always required I'd just say so. We can then update the DT bindings later when we'll introduce the first SoC not compatible with the generic compat string. -- Regards, Laurent Pinchart