Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp309699pxb; Tue, 12 Apr 2022 02:28:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLsafN0HUnDl9PBZ65jTjASt+3HZEYZK1JoQC4AqycEex7J2P6BkNsGCdPWmRE7tJ5xpG6 X-Received: by 2002:a17:906:3adb:b0:6b7:876c:d11b with SMTP id z27-20020a1709063adb00b006b7876cd11bmr33365687ejd.250.1649755737772; Tue, 12 Apr 2022 02:28:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649755737; cv=none; d=google.com; s=arc-20160816; b=LxcW7fMhCo+XptiUPXg37dLGP1LczIo6D15MLU+i7zADRX4vKG76nefJ9Kg9Kv12ap a3v9Oqo52fFqSG8X9PjpisAaly1W1cCgFfjAPi44F3Zjyzv9FXtu4vX175AQGI6Xvgil jtroFBWG8D1Q0OsdNZUyqjLwgYIQLJuvFxDwUupxGAFngLpaPe4R4HqhfEKfvif01poQ 5RUqPjoOkgFhz1VKPMd7J7lHROQgVfwYXDCtxHJlfAOHFmAePxsjWaIxp+HuYpdWtbkn 8QHK5ZklFb3WW5ZDpstE12aliMtL3CKTm1XgUAam8xh8xPrA64rQ2K+2j+jjacpDaOxN NQLQ== 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=OoM9N7gAcL1d/1QfBxr0+hst6MaoVrluKO3H52z5ckY=; b=h0IwgaUSdrDG9syvuF+fpRk4niswgTlKk8tii0Xwdr9F4H/3bkitwHxeY6hjsT7u+/ UXDVgbfzS6ezo2caqYoDI3j5WlEGDbQ7xYrR9pKnvwfde6qjsfTgVIf8fSDX54Lygspg 72+baKfKyn3KewFczrO+X/G9CKCRDX10WuYv4a9/Fx38OATthI8mJkmhmq16QqBggSxG zRxZ3PQnzfoEHDxCjLFuKgGmH3Gu0+4pwMk53ll42REXMkkAxjq3UlrkYzrT5+bRf4GX EPQmSwyCRz4ZsPD8UJtHpQHeB5QI9ARlEE0RTEHF1fCU6Srn9RACbh49/CCIyabZo7xe VYaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=SxbSn+vQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f23-20020a17090660d700b006df84935d2asi8374176ejk.687.2022.04.12.02.28.29; Tue, 12 Apr 2022 02:28:57 -0700 (PDT) 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=pass header.i=@gmail.com header.s=20210112 header.b=SxbSn+vQ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241527AbiDJTiK (ORCPT + 99 others); Sun, 10 Apr 2022 15:38:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229739AbiDJTiJ (ORCPT ); Sun, 10 Apr 2022 15:38:09 -0400 Received: from mail-io1-xd29.google.com (mail-io1-xd29.google.com [IPv6:2607:f8b0:4864:20::d29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6C545675F; Sun, 10 Apr 2022 12:35:57 -0700 (PDT) Received: by mail-io1-xd29.google.com with SMTP id 9so16459296iou.5; Sun, 10 Apr 2022 12:35:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OoM9N7gAcL1d/1QfBxr0+hst6MaoVrluKO3H52z5ckY=; b=SxbSn+vQ0He6FR1PGQmKjJijrpOeLnxsh7NJhXocRKQ7uyLDjtjzslL+t/TpdFHrW6 duOfC+PHPVcurOnpGQ37UtqjNc8yEJePYta3p9W6BQdGqBjQHtP+l15xlJ2dYgJ/U1X/ 8jHdC+SHGG7yRXrHlA9UQNyQ2lkhvB5wBaM36EbHRsW9D3sZiuJ8FtPfs+zZHNrRu96S HcwsNFLDJOCdLWw2ADCEdoU36xu9Ha9fVu+dxpezLJIVuTWW2t5wMOdD4bikgoaAJ0hu zDjFaVAgWou4Vm9Cdipy5Nb8D8KX0s+O1vEGJj4bI2aUpLe0RjE5yA53Qu56wEoVu4J6 q6ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OoM9N7gAcL1d/1QfBxr0+hst6MaoVrluKO3H52z5ckY=; b=GzlAs5jFUIz4JwMTI726+OWsEV27uVFCRIIrpIkkDXOxj8/SaMgBZ9vHIN+ZziLRD1 YMmLTwPAHhvHLJRplGhCxsFaqMmCT9b3OEoINFQ3WZhlhtTA1YUd8ocggFkw165Hx0VS cXOIv7khGkQ1SdRHkYlex41JdNZM8I88cSFcA62yJYdBLFcKAk/VzUk+1CgvU/UpwEVF 0ki5Tg05poNKbz7WglSc938NVKloJvTO6t9T9CcMojarrSZq28dnhhzx4zNyO0l4VXr0 Hb9tJk3ZXWn4FxgnUZDJi8VQ0kBimY8fDxSkyk98PX/G96Gpprw4FMZvsAB9r32bMSLn B4QQ== X-Gm-Message-State: AOAM532fO0Bb2cOlXIw7Btmv0KFUnTTRexMGN2htYHvOd53E3Z+y7QiR a309qWSIgFo196kh+UQ2Xlfsh4x7Kfw= X-Received: by 2002:a6b:b786:0:b0:645:b8e7:2d1d with SMTP id h128-20020a6bb786000000b00645b8e72d1dmr12083391iof.52.1649619356614; Sun, 10 Apr 2022 12:35:56 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:1e67:6f3b:4d7f:4f90]) by smtp.gmail.com with ESMTPSA id m6-20020a923f06000000b002ca74f4fab2sm7218409ila.14.2022.04.10.12.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Apr 2022 12:35:55 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: aford@beaconembedded.com, Adam Ford , haibo.chen@nxp.com, Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH V4 1/3] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks Date: Sun, 10 Apr 2022 14:35:41 -0500 Message-Id: <20220410193544.1745684-1-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 The SDHC controller in the imx8mn and imx8mp have the same controller as the imx8mm which is slightly different than that of the imx7d. Using the fallback of the imx8mm enables the controllers to support HS400-ES which is not available on the imx7d. After discussion with NXP, it turns out that the imx8qm should fall back to the imx8qxp, because those have some additional flags not present in the imx8mm. Mark the current state of the fallbacks as deprecated, and add the proper fallbacks so in the future, the deprecated combination can be removed and prevent any future devices from using the wrong fallback. Suggested-by: haibo.chen@nxp.com Signed-off-by: Adam Ford --- V4: Mark deprecated items with "deprecated: true" instead of a comment V3: Add support for the interim fallback on imx8mn and imx8mp where they both fallback to imx8mm, but keep the imx7d to prevent any breakage. diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..58447095f000 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -34,22 +34,46 @@ properties: - fsl,imx6ull-usdhc - fsl,imx7d-usdhc - fsl,imx7ulp-usdhc + - fsl,imx8mm-usdhc - fsl,imxrt1050-usdhc - nxp,s32g2-usdhc + - items: + - enum: + - fsl,imx8mq-usdhc + - const: fsl,imx7d-usdhc + - items: + - enum: + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc + - fsl,imx93-usdhc + - fsl,imx8ulp-usdhc + - const: fsl,imx8mm-usdhc + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc - items: - enum: - fsl,imx8mm-usdhc - fsl,imx8mn-usdhc - fsl,imx8mp-usdhc - - fsl,imx8mq-usdhc - fsl,imx8qm-usdhc - fsl,imx8qxp-usdhc - const: fsl,imx7d-usdhc + deprecated: true - items: - enum: - - fsl,imx93-usdhc - - fsl,imx8ulp-usdhc + - fsl,imx8mn-usdhc + - fsl,imx8mp-usdhc - const: fsl,imx8mm-usdhc + - const: fsl,imx7d-usdhc + deprecated: true + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc + - const: fsl,imx7d-usdhc + deprecated: true reg: maxItems: 1 -- 2.34.1