From patchwork Sat Aug 29 11:18:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 254884 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=-14.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,USER_AGENT_GIT 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 873E9C433E2 for ; Sat, 29 Aug 2020 11:26:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5A6092151B for ; Sat, 29 Aug 2020 11:26:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598700390; bh=jpPjWh6NvjNnA8Jn0CmFtKO+pYti8+XJbh59IY3ALEE=; h=From:To:Subject:Date:In-Reply-To:References:List-ID:From; b=odD9Fc45XkJ15iaIkUYMEJMeDkTMeyjz3AHLzb/vRAul0KLj6zSzJe8N+FAdVdFts dmaAru9ShKxy4mJ8LArhlZFnzugQ/+dUYQ/XwD1K99pwYuwjUXfUbuXrAWiiZfb0Oq kfixlD4Gmq9EBeJ9EYxRF4l7KdhPeGK1bT7X1yJg= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726952AbgH2L0Y (ORCPT ); Sat, 29 Aug 2020 07:26:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:44802 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727930AbgH2LXo (ORCPT ); Sat, 29 Aug 2020 07:23:44 -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 27C2F20CC7; Sat, 29 Aug 2020 11:18:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598699912; bh=jpPjWh6NvjNnA8Jn0CmFtKO+pYti8+XJbh59IY3ALEE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=u/iBHlfCQMbcoJGw+hNYUjYe6HpcATuliCE+mdP/1pjDbyBePKFiRRo6CbPrUBtrG +z7UavNPTgyiA3XEyQCp8pCz7X18g1hcII+N02RC0YoMllqVy/2/Ec0zsQ6yCxnOIo 0bfFBtVJvgRxV5wESQAL+466Plxc02TsTTqWM6fg= From: Krzysztof Kozlowski To: Michael Turquette , Stephen Boyd , Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Krzysztof Kozlowski , Anson Huang , Wolfram Sang , Dong Aisheng , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org Subject: [PATCH 7/7] dt-bindings: i2c: imx: Fix i.MX 7 compatible matching Date: Sat, 29 Aug 2020 13:18:00 +0200 Message-Id: <20200829111800.2786-7-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200829111800.2786-1-krzk@kernel.org> References: <20200829111800.2786-1-krzk@kernel.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org The i.MX 7 DTSes use two compatibles so update the binding to fix dtbs_check warnings like: arch/arm/boot/dts/imx7d-cl-som-imx7.dt.yaml: i2c@30a20000: compatible: ['fsl,imx7d-i2c', 'fsl,imx21-i2c'] is not valid under any of the given schemas (Possible causes of the failure): arch/arm/boot/dts/imx7d-cl-som-imx7.dt.yaml: i2c@30a20000: compatible: ['fsl,imx7d-i2c', 'fsl,imx21-i2c'] is too long Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/i2c-imx.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml index 73b4e628802c..2d555d5bacc5 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-imx.yaml +++ b/Documentation/devicetree/bindings/i2c/i2c-imx.yaml @@ -18,6 +18,9 @@ properties: - items: - const: fsl,imx35-i2c - const: fsl,imx1-i2c + - items: + - const: fsl,imx7d-i2c + - const: fsl,imx21-i2c - items: - enum: - fsl,imx25-i2c