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 A9E7CC433DF for ; Tue, 25 Aug 2020 02:42:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87175205CB for ; Tue, 25 Aug 2020 02:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598323360; bh=d64/o9q6aZOBfBt4eA/5iHB/SrFH/NVMTfW+dQ3EY2Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=FFpTnhOFKRrb6jpcBP3NoIpOdpbhBSh/Qc6nFOo60KudBnzWJiCo1yvMUTQkXmntP UY5fPhPUVclGMj7f5cN9Yw9zOzB743i89UsW1RXf3XLc+qJU7YHMYUPWf01QVO8Tt6 yPHFlxM68os1r9hBMkpmIn8hSlsEzV210Qo7Ej3I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728202AbgHYCmd (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-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 > 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 8D0B5C433DF for ; Tue, 25 Aug 2020 02:44:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 40313205CB for ; Tue, 25 Aug 2020 02:44:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="NmF9h6sP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 40313205CB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=d3FgeJAHEzQYMZqiKDJCUcnPt7CoeigH1y6bnUcPDjo=; b=NmF9h6sP2FxmGOk8nlLEWbgxG xUWDDBQyMzFvjYnUt9oLphzGLr/Pt3g160Y2H9C04mg24hvqGZlEK1ZiU8iq6k4q3pW5iOxwBr1RX wTf2q2TgNlufi8HkDL0hkMrKBpQI6F0pttgwcXmeFueDfLBcIm4rjXypoGS/vJRg8Q4bRShUDQnrC YJ3Tr9aJ+zyNt2J6ACvZj5U21V764ufUaJTMIQP87VDQFvTfFnbRugE9HZPHLeEWWBtCPXooqt9AW zInDnyJOTF1kfM71NUj3yjX5GlHXMYCRdDwRY/gkC8cdpxaf+Uu2tgvcaSvsdeJTyNmp8BivPWGrC oL7OPVM4w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAOvr-0000Zs-Qu; Tue, 25 Aug 2020 02:43:31 +0000 Received: from mail-il1-f196.google.com ([209.85.166.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAOuu-0008NG-Lh; Tue, 25 Aug 2020 02:42:33 +0000 Received: by mail-il1-f196.google.com with SMTP id t13so9132667ile.9; 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=uUzQIgdtFBwaY2ubK1uduKDdWqdOYm0Ey/FKVQRLlC9PtgDtVcBkkmFzbdCf6jbljC /syD3AV7uaRcr7jreN5C0RA+kCfel0EgthUqdg0aCz0YFCmdgLa5/p/7GkhBy6sBbDQX Yj5okglqphoNZqufBQvY/CUqmF7JVaSImUHLSrMKNqmhhUHx7Ba1E5/g/D0W/9vJwXuL x6x6Bb5mEt2dqUxKVkSjnskyfRMhlB+Apl9yGz9KBwAcU4ILIWY2ddkI9zpEtQfyNrvI FEwI1q0QLxqr3MFkZar+Yy6xBZ+J3yHIoJBaRC6kgDx1G7aaOjSR0qKcTtYbMjUUK6aq E2iA== X-Gm-Message-State: AOAM531IVWcj7wTGDdEVTWBi6TvpIa0aZE99ykFsIP6T+RaM8H9vtVMw /qxRg0e4nBCoiRoQ8mDDdA== 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 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-Disposition: inline In-Reply-To: <20200824162652.21047-17-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_224232_844388_AD77E3DE X-CRM114-Status: GOOD ( 18.21 ) X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Ulf Hansson , linux-pwm@vger.kernel.org, Linus Walleij , Frank Li , Thierry Reding , Srinivas Kandagatla , Miquel Raynal , Will Deacon , linux-watchdog@vger.kernel.org, Fabio Estevam , Bartosz Golaszewski , NXP Linux Team , linux-serial@vger.kernel.org, =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Guenter Roeck , devicetree@vger.kernel.org, Pengutronix Kernel Team , linux-pm@vger.kernel.org, Sascha Hauer , linux-gpio@vger.kernel.org, Han Xu , linux-arm-kernel@lists.infradead.org, Fugang Duan , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang , Philipp Zabel , linux-mtd@lists.infradead.org, Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-mtd" Errors-To: linux-mtd-bounces+linux-mtd=archiver.kernel.org@lists.infradead.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 > ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ 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.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 86317C433E1 for ; Tue, 25 Aug 2020 02:45:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5359B20706 for ; Tue, 25 Aug 2020 02:45:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oNy0fbwv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5359B20706 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=C2XMv8BWHL/4ALJb4px/QiSmVI5JrZu6zGwHiS6bDug=; b=oNy0fbwvJD6L/zpHTiLffiVUx XAhfBlHxkAab+CnOETzDR6gslxWYKyWdW6R4ZQoQTmS64vQWY+GfBLCSx5SX5t7DGxC7Q0FEXf8r6 eDL4DSbgpbk0NEpJmY1Flalr3vGBhaFC3LVX+4PTKueTE566UdVgxeDjwiqxNioAtQ65pVcHWSKeo RPZBQmLUKo0EKsH6I1EKV5+JORdgOMxaHqq6eKJ296dI6ro0+h5fj1OzYkE1u97pTFcSgtoTYaE6n csAinQCAdlxSNxdqteMo09mcFAmCKBtQkYI641f3/cH6SiH+xEoJoOogWHUIWWrWdPzapa93F/uWJ AABFxrwgA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAOvh-0000TG-Lk; Tue, 25 Aug 2020 02:43:21 +0000 Received: from mail-il1-f196.google.com ([209.85.166.196]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kAOuu-0008NG-Lh; Tue, 25 Aug 2020 02:42:33 +0000 Received: by mail-il1-f196.google.com with SMTP id t13so9132667ile.9; 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=uUzQIgdtFBwaY2ubK1uduKDdWqdOYm0Ey/FKVQRLlC9PtgDtVcBkkmFzbdCf6jbljC /syD3AV7uaRcr7jreN5C0RA+kCfel0EgthUqdg0aCz0YFCmdgLa5/p/7GkhBy6sBbDQX Yj5okglqphoNZqufBQvY/CUqmF7JVaSImUHLSrMKNqmhhUHx7Ba1E5/g/D0W/9vJwXuL x6x6Bb5mEt2dqUxKVkSjnskyfRMhlB+Apl9yGz9KBwAcU4ILIWY2ddkI9zpEtQfyNrvI FEwI1q0QLxqr3MFkZar+Yy6xBZ+J3yHIoJBaRC6kgDx1G7aaOjSR0qKcTtYbMjUUK6aq E2iA== X-Gm-Message-State: AOAM531IVWcj7wTGDdEVTWBi6TvpIa0aZE99ykFsIP6T+RaM8H9vtVMw /qxRg0e4nBCoiRoQ8mDDdA== 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 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-Disposition: inline In-Reply-To: <20200824162652.21047-17-krzk@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200824_224232_844388_AD77E3DE X-CRM114-Status: GOOD ( 18.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Ulf Hansson , linux-pwm@vger.kernel.org, Linus Walleij , Frank Li , Thierry Reding , Srinivas Kandagatla , Miquel Raynal , Will Deacon , linux-watchdog@vger.kernel.org, Fabio Estevam , Bartosz Golaszewski , NXP Linux Team , linux-serial@vger.kernel.org, =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= , Guenter Roeck , devicetree@vger.kernel.org, Pengutronix Kernel Team , linux-pm@vger.kernel.org, Sascha Hauer , linux-gpio@vger.kernel.org, Han Xu , linux-arm-kernel@lists.infradead.org, Fugang Duan , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Li Yang , Philipp Zabel , linux-mtd@lists.infradead.org, Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel