Linux-Serial Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching
@ 2020-09-25 21:26 Krzysztof Kozlowski
  2020-09-28 12:56 ` Rob Herring
  2020-10-02 12:41 ` Greg Kroah-Hartman
  0 siblings, 2 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2020-09-25 21:26 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring, Shawn Guo, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	linux-serial, devicetree, linux-arm-kernel, linux-kernel
  Cc: Krzysztof Kozlowski

The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three
so update the binding to fix dtbs_check warnings like:

  serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not valid under any of the given schemas

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
---
 .../devicetree/bindings/serial/fsl-imx-uart.yaml          | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
index 3d896173b3b0..9ff85bc6859c 100644
--- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.yaml
@@ -18,8 +18,6 @@ properties:
     oneOf:
       - const: fsl,imx1-uart
       - const: fsl,imx21-uart
-      - const: fsl,imx53-uart
-      - const: fsl,imx6q-uart
       - items:
           - enum:
             - fsl,imx25-uart
@@ -28,12 +26,18 @@ properties:
             - fsl,imx35-uart
             - fsl,imx50-uart
             - fsl,imx51-uart
+            - fsl,imx53-uart
+            - fsl,imx6q-uart
           - const: fsl,imx21-uart
       - items:
           - enum:
             - fsl,imx6sl-uart
             - fsl,imx6sll-uart
             - fsl,imx6sx-uart
+          - const: fsl,imx6q-uart
+          - const: fsl,imx21-uart
+      - items:
+          - enum:
             - fsl,imx6ul-uart
             - fsl,imx7d-uart
             - fsl,imx8mm-uart
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching
  2020-09-25 21:26 [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching Krzysztof Kozlowski
@ 2020-09-28 12:56 ` Rob Herring
  2020-10-02 12:41 ` Greg Kroah-Hartman
  1 sibling, 0 replies; 5+ messages in thread
From: Rob Herring @ 2020-09-28 12:56 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Pengutronix Kernel Team, Rob Herring, Fabio Estevam,
	Greg Kroah-Hartman, Shawn Guo, devicetree, linux-kernel,
	linux-arm-kernel, NXP Linux Team, linux-serial, Sascha Hauer

On Fri, 25 Sep 2020 23:26:49 +0200, Krzysztof Kozlowski wrote:
> The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three
> so update the binding to fix dtbs_check warnings like:
> 
>   serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not valid under any of the given schemas
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  .../devicetree/bindings/serial/fsl-imx-uart.yaml          | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching
  2020-09-25 21:26 [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching Krzysztof Kozlowski
  2020-09-28 12:56 ` Rob Herring
@ 2020-10-02 12:41 ` Greg Kroah-Hartman
  2020-10-02 12:45   ` Krzysztof Kozlowski
  1 sibling, 1 reply; 5+ messages in thread
From: Greg Kroah-Hartman @ 2020-10-02 12:41 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Rob Herring, Shawn Guo, Sascha Hauer, Pengutronix Kernel Team,
	Fabio Estevam, NXP Linux Team, linux-serial, devicetree,
	linux-arm-kernel, linux-kernel

On Fri, Sep 25, 2020 at 11:26:49PM +0200, Krzysztof Kozlowski wrote:
> The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three
> so update the binding to fix dtbs_check warnings like:
> 
>   serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not valid under any of the given schemas
> 
> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
>  .../devicetree/bindings/serial/fsl-imx-uart.yaml          | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

This doesn't apply to my tty tree :(


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching
  2020-10-02 12:41 ` Greg Kroah-Hartman
@ 2020-10-02 12:45   ` Krzysztof Kozlowski
  2020-10-06 14:50     ` Rob Herring
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2020-10-02 12:45 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rob Herring
  Cc: Shawn Guo, Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, linux-serial, devicetree, linux-arm-kernel,
	linux-kernel

On Fri, 2 Oct 2020 at 14:41, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Fri, Sep 25, 2020 at 11:26:49PM +0200, Krzysztof Kozlowski wrote:
> > The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three
> > so update the binding to fix dtbs_check warnings like:
> >
> >   serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not valid under any of the given schemas
> >
> > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> > ---
> >  .../devicetree/bindings/serial/fsl-imx-uart.yaml          | 8 ++++++--
> >  1 file changed, 6 insertions(+), 2 deletions(-)
>
> This doesn't apply to my tty tree :(

It is rebased on my previous fsl-imx-uart dt-bindings patch which was
picked up by Rob. Otherwise there would be conflicts.

Rob,
Could you pick this up as well?

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching
  2020-10-02 12:45   ` Krzysztof Kozlowski
@ 2020-10-06 14:50     ` Rob Herring
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2020-10-06 14:50 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Greg Kroah-Hartman, devicetree, linux-serial, Shawn Guo,
	Sascha Hauer, linux-kernel, NXP Linux Team,
	Pengutronix Kernel Team, Fabio Estevam, linux-arm-kernel

On Fri, Oct 02, 2020 at 02:45:51PM +0200, Krzysztof Kozlowski wrote:
> On Fri, 2 Oct 2020 at 14:41, Greg Kroah-Hartman
> <gregkh@linuxfoundation.org> wrote:
> >
> > On Fri, Sep 25, 2020 at 11:26:49PM +0200, Krzysztof Kozlowski wrote:
> > > The i.MX 53 and i.MX6Q DTS use two compatibles, i.MX 6SL/6SLL/SX three
> > > so update the binding to fix dtbs_check warnings like:
> > >
> > >   serial@21ec000: compatible: ['fsl,imx6q-uart', 'fsl,imx21-uart'] is not valid under any of the given schemas
> > >
> > > Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
> > > ---
> > >  .../devicetree/bindings/serial/fsl-imx-uart.yaml          | 8 ++++++--
> > >  1 file changed, 6 insertions(+), 2 deletions(-)
> >
> > This doesn't apply to my tty tree :(
> 
> It is rebased on my previous fsl-imx-uart dt-bindings patch which was
> picked up by Rob. Otherwise there would be conflicts.
> 
> Rob,
> Could you pick this up as well?

Applied.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 21:26 [PATCH] dt-bindings: serial: fsl-imx-uart: fix i.MX 53 and 6 compatible matching Krzysztof Kozlowski
2020-09-28 12:56 ` Rob Herring
2020-10-02 12:41 ` Greg Kroah-Hartman
2020-10-02 12:45   ` Krzysztof Kozlowski
2020-10-06 14:50     ` Rob Herring

Linux-Serial Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-serial/0 linux-serial/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-serial linux-serial/ https://lore.kernel.org/linux-serial \
		linux-serial@vger.kernel.org
	public-inbox-index linux-serial

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-serial


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git