From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA044C433E1 for ; Tue, 25 Aug 2020 02:42:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BBF2820706 for ; Tue, 25 Aug 2020 02:42:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598323354; bh=d64/o9q6aZOBfBt4eA/5iHB/SrFH/NVMTfW+dQ3EY2Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=LS0mYP3v9cD67/ga0WBRbGJlIjoO2RfEDSJZ1k5xMcL9WT/+nOIuvH5YpVZ4xk2fQ YtrrrhMJC3IpoRKtanIo9aSc5cnClOXCEIZW/8uXTkzx4IC0eTp8qaT+UMiOtPWjDs TgJsvxyMtBpNKVgiM3/xlOrea8V4ybuvfxyaMl7Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728382AbgHYCmd (ORCPT ); Mon, 24 Aug 2020 22:42:33 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:33459 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727913AbgHYCmd (ORCPT ); Mon, 24 Aug 2020 22:42:33 -0400 Received: by mail-il1-f196.google.com with SMTP id r13so9170719iln.0; Mon, 24 Aug 2020 19:42:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=/WdM/o7ZMD0IqugYhx8lyxEOEFTESZXMB5cmr4fyzog=; b=KGz+DKFXZ+hPPv4JNfMYdsotO714XMDNvjdadm4UphgLqE6irclrnZZBbyK0BpXOx+ j/y4sVqhTWD/rLyBCfQagoHPkruBSlgPQRYCHWxj60vOwOTXWzIA9nsH1R5gHjhrZEeK hR0P1bmd7EViiR/palF8JxHXy2ihCXhIrvjdh4ZZwnaluR0oE3XU1yCIepAAhO4KRQw7 sfi7vajXWMn6dAUHooy4nH8ZlClFly+Ei/Ggz/+y2tLlZU1I9cH67iwVv9a+qLCyDD1r yCAxF7QiatKgp5aQ+HMKc3s+nMd/wzxbwJJ8DcwSuc9kW7Du4IWdiNSN0OidLacLkizJ 3s6g== X-Gm-Message-State: AOAM533KzaUmN+IBiklakk6VvyjbjZpw07mUGZloLUzc/BtKv2YWtSHV o9epbsQHPwSxD7DPVJds/w== X-Google-Smtp-Source: ABdhPJwidQ7yo/gzPK50UABO+YMGeGvK85w0t85XXeOwlGQeq2eG79hrcePzshy++cECjBr5Fj4wfg== X-Received: by 2002:a05:6e02:cb0:: with SMTP id 16mr7178015ilg.147.1598323351719; Mon, 24 Aug 2020 19:42:31 -0700 (PDT) Received: from xps15 ([64.188.179.249]) by smtp.gmail.com with ESMTPSA id 79sm8642555ilc.9.2020.08.24.19.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2020 19:42:31 -0700 (PDT) Received: (nullmailer pid 3844411 invoked by uid 1000); Tue, 25 Aug 2020 02:42:26 -0000 Date: Mon, 24 Aug 2020 20:42:26 -0600 From: Rob Herring To: Krzysztof Kozlowski Cc: Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Miquel Raynal , Srinivas Kandagatla , Will Deacon , Mark Rutland , Thierry Reding , =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Philipp Zabel , Guenter Roeck , Li Yang , Han Xu , Frank Li , Fugang Duan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pwm@vger.kernel.org, linux-serial@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org Subject: Re: [PATCH v2 17/19] dt-bindings: serial: fsl-lpuart: Fix compatible matching Message-ID: <20200825024226.GA3843643@bogus> References: <20200824162652.21047-1-krzk@kernel.org> <20200824162652.21047-17-krzk@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200824162652.21047-17-krzk@kernel.org> Sender: linux-serial-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org On Mon, Aug 24, 2020 at 06:26:50PM +0200, Krzysztof Kozlowski wrote: > The i.MX 8QXP DTSes use two compatibles so update the binding to fix > dtbs_check warnings like: > > arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000: > compatible: ['fsl,imx8qxp-lpuart', 'fsl,imx7ulp-lpuart'] is too long > From schema: Documentation/devicetree/bindings/serial/fsl-lpuart.yaml > > arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: serial@5a060000: > compatible: Additional items are not allowed ('fsl,imx7ulp-lpuart' was unexpected) > > Signed-off-by: Krzysztof Kozlowski > > --- > > Changes since v1: > 1. New patch. > --- > .../devicetree/bindings/serial/fsl-lpuart.yaml | 18 +++++++++++------- > 1 file changed, 11 insertions(+), 7 deletions(-) > > diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml > index e82c2cf9fef7..8ee651f2ef0b 100644 > --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml > +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml > @@ -14,13 +14,17 @@ allOf: > > properties: > compatible: > - enum: > - - fsl,vf610-lpuart > - - fsl,ls1021a-lpuart > - - fsl,ls1028a-lpuart > - - fsl,imx7ulp-lpuart > - - fsl,imx8qxp-lpuart > - - fsl,imx8qm-lpuart > + oneOf: > + - enum: > + - fsl,vf610-lpuart > + - fsl,ls1021a-lpuart > + - fsl,ls1028a-lpuart > + - fsl,imx7ulp-lpuart > + - fsl,imx8qxp-lpuart This should be dropped. > + - fsl,imx8qm-lpuart > + - items: > + - const: fsl,imx8qxp-lpuart > + - const: fsl,imx7ulp-lpuart > > reg: > maxItems: 1 > -- > 2.17.1 >