Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3144516pxa; Tue, 25 Aug 2020 12:39:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzeVKhTXWmI8MHKhL2+Eqqo5IbHswDqAemIy1ljnbdvKUZ6WL28eVFkOcIHSLf8h0dHuDU X-Received: by 2002:a50:c38b:: with SMTP id h11mr12039021edf.308.1598384391525; Tue, 25 Aug 2020 12:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598384391; cv=none; d=google.com; s=arc-20160816; b=dhQTtYnfdRW2dCoj56AE6g5j0ASxZ842CXyDKpoVgjQYpmL6qs/S3zJ3YgJA6xAgjq gO1dE3h2e51ZEJFCvCy7OjsWkV7UP4DgOW+2yV57IUzrQQWkWWuPJvzvtln5ATPcg0JB RCiekh7yHFtvkz0Kez2v0uiBk+AhM0r+0X5yXJEgUJxguJ/10Er9J/Kv5bYEPaL5rw5z 2HYVg9qjL4PM91TZWmyrTMqAP5xedn+rx8ngWtpqjA+ZNm3sIW19Jk+HRjkk9e3d1682 /A4J5hjw10OS2ma0k/+3dNjmar9YWid9Sr77YtV8SG1pgslICrgwgRDfWmEgA0lp9oWZ twXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=M8ao6bGNsnmfhkakXScsALuDoJJO55OW9V/e53ERMLw=; b=uFNwOl9tP7M7u7PX8e+GI3IWCVkHvawLaGYwrJfnX1zLGrSvgymXjMkbogngvWcKz7 362GdA4ocTUDJXPzM36EMQLW4MQv1ocqJIhJ7xXMS/6cI12qOty+08EN2lUIHLouHAF+ k0LHbRlfOYmVghn6oBGfStD/OsBkecBufyv0rs0j0KEj/brr46K7Es6Ylxw124Xhzc1V zFgrFapug4TZtn0MbvPPb0JiNJbbwbNwfCy63XTc+EDeMk5UH0KARI/obi1xqxDAhx6i eLJfuH54PgkvwuLkZIXWSFY21lijIv/WCgfOSctz7lRbN42VLnDbmEB5FljN3/w5PUBD Rq+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oOkLt8Y8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si7965146edy.540.2020.08.25.12.39.28; Tue, 25 Aug 2020 12:39:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=oOkLt8Y8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726716AbgHYTiZ (ORCPT + 99 others); Tue, 25 Aug 2020 15:38:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:44520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726149AbgHYTiT (ORCPT ); Tue, 25 Aug 2020 15:38:19 -0400 Received: from localhost.localdomain (unknown [194.230.155.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9A6C2075E; Tue, 25 Aug 2020 19:38:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598384298; bh=M4HsMpi+RByLc2WfD2hU1auUVsDqshtSVqJUE+BFQVI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oOkLt8Y8H/gwVZuCXJOtYYkPoy7sPNwaLw4UhvOunN6Z8R3ikXyDrTfJfSLfesO9a gCmGLV4zq8C6d6N8i4Mm+6pe7XdOVDi/AHw28KlDiLU6apTZNIXzh62bbgT+mDV0hv 4eC1Vml69ym2WYaSIHI/js2lICJeCRjDeBbYU4m4= From: Krzysztof Kozlowski To: Rob Herring , Linus Walleij , Bartosz Golaszewski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Ulf Hansson , Miquel Raynal , Mark Rutland , Thierry Reding , Anson Huang , 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 Cc: Krzysztof Kozlowski Subject: [PATCH v3 17/19] dt-bindings: serial: fsl-lpuart: Fix compatible matching Date: Tue, 25 Aug 2020 21:35:34 +0200 Message-Id: <20200825193536.7332-18-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825193536.7332-1-krzk@kernel.org> References: <20200825193536.7332-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 v2: 1. Remove moved compatibles. Changes since v1: 1. New patch. --- .../devicetree/bindings/serial/fsl-lpuart.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml index e82c2cf9fef7..bd21060d26e0 100644 --- a/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml +++ b/Documentation/devicetree/bindings/serial/fsl-lpuart.yaml @@ -14,13 +14,16 @@ 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,imx8qm-lpuart + - items: + - const: fsl,imx8qxp-lpuart + - const: fsl,imx7ulp-lpuart reg: maxItems: 1 -- 2.17.1