From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krzysztof Kozlowski Subject: Re: [PATCH v6 3/4] dt-bindings: arm: fsl: Add Kontron i.MX6UL N6310 compatibles Date: Wed, 21 Aug 2019 19:54:58 +0200 Message-ID: <20190821175458.GA25168@kozik-lap> References: <1566315318-30320-1-git-send-email-krzk@kernel.org> <1566315318-30320-3-git-send-email-krzk@kernel.org> <20190820202142.GA15866@kozik-lap> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Rob Herring Cc: Schrempf Frieder , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" List-Id: devicetree@vger.kernel.org On Tue, Aug 20, 2019 at 03:27:39PM -0500, Rob Herring wrote: > > I see. If I understand the schema correctly, this should look like: > > Looks correct, but a couple of comments. > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml > > index 7294ac36f4c0..eb263d1ccf13 100644 > > --- a/Documentation/devicetree/bindings/arm/fsl.yaml > > +++ b/Documentation/devicetree/bindings/arm/fsl.yaml > > @@ -161,6 +161,22 @@ properties: > > items: > > - enum: > > - fsl,imx6ul-14x14-evk # i.MX6 UltraLite 14x14 EVK Board > > + - kontron,imx6ul-n6310-som # Kontron N6310 SOM > > Is the SOM ever used alone? If not, then no point in listing this here. SoM alone: no, because it requires some type of base board. However it will be used by some customer designs with some amount of changes/addons. Looking at other aproaches, usually SoMs have their own compatible. In such case - I should document it somewhere. > > > + - const: fsl,imx6ul > > + > > + - description: Kontron N6310 S Board > > + items: > > + - enum: > > + - kontron,imx6ul-n6310-s > > This could be a 'const' instead. It depends if you think there will > ever be more than one entry. Indeed, I'll make this and entry below for S 43 board const. Best regards, Krzysztof