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=-12.6 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,USER_AGENT_SANE_1 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 01097C433E3 for ; Tue, 25 Aug 2020 07:55:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D80812074D for ; Tue, 25 Aug 2020 07:55:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598342155; bh=S5rlKBx7VFgdSrBKPZytFQQydfMl9pnBjLY78TfRSRo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=xQA9oeGSKZ07LW0bB0jUxAXy4JLcXFCCvxUdjJKCMEkhJVJaK6QOlZKzXGJ9QJMN3 8FCeK8e76dy/2BFuZtc/8MP2jD+Rx2kuzv8vSserWjX0K7VBTFiHV4Wc7gY9zSsL1F 9qtsM4HFMXqDP2ChOyeGpvC1aMO3Bdgy+vx9aCrs= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728907AbgHYHzv (ORCPT ); Tue, 25 Aug 2020 03:55:51 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:45806 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgHYHzv (ORCPT ); Tue, 25 Aug 2020 03:55:51 -0400 Received: by mail-wr1-f65.google.com with SMTP id h15so4958434wrt.12; Tue, 25 Aug 2020 00:55:48 -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:user-agent; bh=aBjVw1JG0tpm4bk51wIknFht9NwTSZ65KB4U3gClblQ=; b=pVQLT+8ijKQCPTJ9nJSzGdtsvR4/qHb2QG9MgKgdIdQ2hG1dj2KpBB8/UQzGdjBnrG YyCru7GkjEW1Z2avQWxiG/fCrKBPJ8QLh7Ak9F4nZ797j6oRUqOhRDx1vcJ0Didy1eh4 pterNAMGOBwZ+SC1cypGNjD7gNwVaG1ORbIDM9wyKISr3dMwnhqVxIvWq+/cECtf1ZVT i2nYue89aCsbjA1z3gQLqGHe7hFUPHIhQUW8NA+ARK/3s5DEwLOyri6XUavdKa7MBTJJ yvhAgAaQK4/bMkq+sxNvowGly71mHlHX7xdg0tdijpLF57CchJpgSl+5bPAc9qDr96s5 bjIw== X-Gm-Message-State: AOAM531VaZJ9MZnL9VRgwXymUo0hQu1KXP7Pt3vjMMEplrw4cCwPLMhE xhxP7RtNtC49OSmDbRJDYO8= X-Google-Smtp-Source: ABdhPJy11J0dvtltETiMUmgoqOGY5vwRYKznzFSM+Jn9Jhy70mulHl9VGChcIKqtFo0jH3ClWuVjng== X-Received: by 2002:adf:f5c7:: with SMTP id k7mr9247503wrp.230.1598342147767; Tue, 25 Aug 2020 00:55:47 -0700 (PDT) Received: from kozik-lap ([194.230.155.216]) by smtp.googlemail.com with ESMTPSA id f9sm8049134wrm.5.2020.08.25.00.55.45 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 25 Aug 2020 00:55:47 -0700 (PDT) Date: Tue, 25 Aug 2020 09:55:43 +0200 From: Krzysztof Kozlowski To: Rob Herring 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 , Uwe =?utf-8?Q?Kleine-K=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: <20200825075543.GA10369@kozik-lap> References: <20200824162652.21047-1-krzk@kernel.org> <20200824162652.21047-17-krzk@kernel.org> <20200825024226.GA3843643@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200825024226.GA3843643@bogus> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org On Mon, Aug 24, 2020 at 08:42:26PM -0600, Rob Herring wrote: > 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. Right. Best regards, Krzysztof