From: Krzysztof Kozlowski <krzk@kernel.org>
To: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>,
devicetree@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Schrempf Frieder <frieder.schrempf@kontron.de>,
NXP Linux Team <linux-imx@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>
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 [thread overview]
Message-ID: <20190821175458.GA25168@kozik-lap> (raw)
In-Reply-To: <CAL_JsqKBWB2FiVjYo9O7DPw1JYJvan7uRgbR0VBG=FfHDVYdZQ@mail.gmail.com>
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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Rob Herring <robh+dt@kernel.org>
Cc: Schrempf Frieder <frieder.schrempf@kontron.de>,
Mark Rutland <mark.rutland@arm.com>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
NXP Linux Team <linux-imx@nxp.com>,
devicetree@vger.kernel.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@lists.infradead.org>
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 [thread overview]
Message-ID: <20190821175458.GA25168@kozik-lap> (raw)
In-Reply-To: <CAL_JsqKBWB2FiVjYo9O7DPw1JYJvan7uRgbR0VBG=FfHDVYdZQ@mail.gmail.com>
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
next prev parent reply other threads:[~2019-08-21 17:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-20 15:35 [PATCH v6 1/4] dt-bindings: vendor-prefixes: Add Anvo-Systems Krzysztof Kozlowski
2019-08-20 15:35 ` Krzysztof Kozlowski
2019-08-20 15:35 ` [PATCH v6 2/4] dt-bindings: eeprom: at25: Add Anvo ANV32E61W Krzysztof Kozlowski
2019-08-20 15:35 ` Krzysztof Kozlowski
2019-08-20 15:35 ` [PATCH v6 3/4] dt-bindings: arm: fsl: Add Kontron i.MX6UL N6310 compatibles Krzysztof Kozlowski
2019-08-20 15:35 ` Krzysztof Kozlowski
2019-08-20 16:59 ` Rob Herring
2019-08-20 16:59 ` Rob Herring
2019-08-20 18:36 ` Krzysztof Kozlowski
2019-08-20 18:36 ` Krzysztof Kozlowski
2019-08-20 20:04 ` Rob Herring
2019-08-20 20:04 ` Rob Herring
2019-08-20 20:21 ` Krzysztof Kozlowski
2019-08-20 20:21 ` Krzysztof Kozlowski
2019-08-20 20:27 ` Rob Herring
2019-08-20 20:27 ` Rob Herring
2019-08-21 17:54 ` Krzysztof Kozlowski [this message]
2019-08-21 17:54 ` Krzysztof Kozlowski
2019-08-22 12:51 ` Rob Herring
2019-08-22 12:51 ` Rob Herring
2019-08-22 13:45 ` Krzysztof Kozlowski
2019-08-22 13:45 ` Krzysztof Kozlowski
2019-08-20 15:35 ` [PATCH v6 4/4] ARM: dts: imx6ul-kontron-n6310: Add Kontron i.MX6UL N6310 SoM and boards Krzysztof Kozlowski
2019-08-20 15:35 ` Krzysztof Kozlowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190821175458.GA25168@kozik-lap \
--to=krzk@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.