From patchwork Wed Oct 6 13:26:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abel Vesa X-Patchwork-Id: 1537150 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by bilbo.ozlabs.org (Postfix) with ESMTP id 4HPZx03Rj4z9t14 for ; Thu, 7 Oct 2021 00:26:44 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239067AbhJFN2e (ORCPT ); Wed, 6 Oct 2021 09:28:34 -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-i2c@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: