From patchwork Thu Jan 5 21:38:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Kemnade X-Patchwork-Id: 39804 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp507833wrt; Thu, 5 Jan 2023 13:43:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXsKLyb3qTlDOLvzi5l55qLzsgtHBH4twH1MEWYxnbx6zkL+XvQ3aGEkkvMr6egoo74NVsW4 X-Received: by 2002:aa7:9191:0:b0:583:2a2e:3465 with SMTP id x17-20020aa79191000000b005832a2e3465mr3593871pfa.1.1672955016817; Thu, 05 Jan 2023 13:43:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672955016; cv=none; d=google.com; s=arc-20160816; b=05Bsib+J4kkvky+QDLVfkZ8bws9fI0Ev5exmhJF3zp8zk7SX6y3AUv67NuxpRKhNWE 1goYMgwBqn3dCZ6m3PtSFcjhmrznbwhZVU8ipg0hkaw7d1eYpJES/3y3qVMqf7XVmDOt 83mZx7Xo1zclFj5FO+CpUeX4fgolB6LvvB4Hl7DHR0WqIevDBsaOZQwHmugZi02HtYdn 4q7watRXHj2OOYFMeVRqplLhcO5FKU1bx9a+rArQuESKDtu75BsfKpSQ6kLQZmYkKQ2f UuBEIH27sS3/GCNSe4IeVqs0UjctavqUPMa/iKAq9+Tw7ISHZlPxi8zz5FWSl+P/npIR kgTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=AhH6eLvFTyTXzefYJDRhSSM1c636n8NUP2ghngWh9B4=; b=fADa8uW+N//cv5toFE4ou3tZf1IaDy9yR/N0zVlggv85Yvyab9A0BXQfiSTlQOVwPf HfjLLVWzWFKk3jr0PL2C+Fri9/rXOJjMnzJuz1Gr28TfiA1AzvROsJcCKb59cfLa3GlP Du99sw7z7aOmvjQc1TQQhq5lWdZauFoY548AEXuvXqsLvHOjgjryvM9YEwb02GaK73jw /ycD93uRjiziEy2CiIJ99Hr4E2DYVxYOGBMdj20a3sbFLqau+4VzwHpncpWj0jKnNMcx 98S3Lpg8YVzqoafsguKMLYpf7DRWShFiZr1CTEQSfMvZSZRCGd671gNLyXkTy4mKPvYX lKrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=TJE+5zRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b7-20020a056a000cc700b00582b3c894b2si9532783pfv.341.2023.01.05.13.43.24; Thu, 05 Jan 2023 13:43:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20220719 header.b=TJE+5zRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235702AbjAEVj0 (ORCPT + 99 others); Thu, 5 Jan 2023 16:39:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230402AbjAEVjY (ORCPT ); Thu, 5 Jan 2023 16:39:24 -0500 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06023671BC; Thu, 5 Jan 2023 13:39:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20220719; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=AhH6eLvFTyTXzefYJDRhSSM1c636n8NUP2ghngWh9B4=; b=TJE+5zRtvlUdOanWiqGg8fa+aL VOYQjIk3sHp76KJSCjmZUwbfy71hJ1PYXBO3gTEuIMWYKWet2B1Yi/J4gr0cPylEPDrhNO2WLy7bp m9EYIOD6xZvCJ/rOvdCFK746juuU3vZx03HSVSMdy+JBLFBoR8YeyTxMPCv025ALgM0nWhKMNhPjJ yVsRsNSI2jVldje1EEJZ3VqPIlLeWhl1qLA+Rh+Vdqptz/CGXklILXIH6xX5JJ5MXBtNpBsfpVskh 4rJCcPTz3sQu9cV0nd4uMxchq1DAq5H501fIBsPEEkP7ecdly3qjiQkVc9QUFaPHiBuUERwcyT3R1 3xBG7Hbg==; Received: from p200300ccff1194001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff11:9400:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1pDXx1-0001Ks-B1; Thu, 05 Jan 2023 22:39:03 +0100 Received: from andi by aktux with local (Exim 4.94.2) (envelope-from ) id 1pDXx0-007ffw-NW; Thu, 05 Jan 2023 22:39:02 +0100 From: Andreas Kemnade To: ulf.hansson@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH] dt-bindings: mmc: fsl-imx-esdhc: allow more compatible combinations Date: Thu, 5 Jan 2023 22:38:56 +0100 Message-Id: <20230105213856.1828360-1-andreas@kemnade.info> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Spam-Score: -1.0 (-) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754220480073426315?= X-GMAIL-MSGID: =?utf-8?q?1754220480073426315?= Currently make dtbs_check shows lots of errors because imx*.dtsi does not use single compatibles but combinations of them. Allow all the combinations used there. Patches fixing the dtsi files according to binding documentation were submitted multiple times and are commonly rejected, so relax the rules. Example: https://lore.kernel.org/linux-devicetree/72e1194e10ccb4f87aed96265114f0963e805092.camel@pengutronix.de/ Reason: compatibility of new dtbs with old kernels or bootloaders. This will significantly reduce noise on make dtbs_check. Signed-off-by: Andreas Kemnade --- .../bindings/mmc/fsl-imx-esdhc.yaml | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index dc6256f04b42..118ebb75f136 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -37,6 +37,30 @@ properties: - fsl,imx8mm-usdhc - fsl,imxrt1050-usdhc - nxp,s32g2-usdhc + - items: + - const: fsl,imx50-esdhc + - const: fsl,imx53-esdhc + - items: + - const: fsl,imx6sl-usdhc + - const: fsl,imx6q-usdhc + - items: + - const: fsl,imx6sll-usdhc + - const: fsl,imx6sx-usdhc + - items: + - const: fsl,imx6sx-usdhc + - const: fsl,imx6sl-usdhc + - items: + - const: fsl,imx6ul-usdhc + - const: fsl,imx6sx-usdhc + - items: + - const: fsl,imx6ull-usdhc + - const: fsl,imx6sx-usdhc + - items: + - const: fsl,imx7d-usdhc + - const: fsl,imx6sl-usdhc + - items: + - const: fsl,imx7ulp-usdhc + - const: fsl,imx6sx-usdhc - items: - enum: - fsl,imx8mq-usdhc