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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 057E3C433EF for ; Wed, 6 Oct 2021 13:26:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E231A61184 for ; Wed, 6 Oct 2021 13:26:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239150AbhJFN2l (ORCPT ); Wed, 6 Oct 2021 09:28:41 -0400 Received: from inva021.nxp.com ([92.121.34.21]:40814 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238781AbhJFN2Y (ORCPT ); Wed, 6 Oct 2021 09:28:24 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 94AF4201A49; Wed, 6 Oct 2021 15:26:31 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 87B48201A46; Wed, 6 Oct 2021 15:26:31 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id E94142029F; Wed, 6 Oct 2021 15:26:30 +0200 (CEST) From: Abel Vesa To: Rob Herring , Dong Aisheng , Shawn Guo , Sascha Hauer , Greg Kroah-Hartman , Fabio Estevam Cc: Pengutronix Kernel Team , linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, NXP Linux Team , Linux Kernel Mailing List , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, Abel Vesa Subject: [PATCH v3 09/11] dt-bindings: i2c: i2c-imx-lpi2c: Fix dtbs_check compatible oneOf error Date: Wed, 6 Oct 2021 16:26:02 +0300 Message-Id: <1633526764-30151-10-git-send-email-abel.vesa@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1633526764-30151-1-git-send-email-abel.vesa@nxp.com> References: <1633526764-30151-1-git-send-email-abel.vesa@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix following dtbs_check error: arch/arm64/boot/dts/freescale/imx8qm-mek.dt.yaml: i2c@5a800000: compatible: 'oneOf' conditional failed, one must be fixed: ['fsl,imx8qm-lpi2c', 'fsl,imx7ulp-lpi2c'] is too long Additional items are not allowed ('fsl,imx7ulp-lpi2c' was unexpected) 'fsl,imx8qxp-lpi2c' was expected From schema: Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml Signed-off-by: Abel Vesa --- Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml index 29b9447f3b84..acf2d5f45f4e 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx-lpi2c.yaml @@ -18,8 +18,11 @@ properties: - enum: - fsl,imx7ulp-lpi2c - fsl,imx8qm-lpi2c + - fsl,imx8qxp-lpi2c - items: - - const: fsl,imx8qxp-lpi2c + - enum: + - fsl,imx8qm-lpi2c + - fsl,imx8qxp-lpi2c - const: fsl,imx7ulp-lpi2c reg: -- 2.31.1