Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3467959pxb; Mon, 4 Apr 2022 17:56:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRv0FI17XxlTJmFkrPMrZPVjxOp0Q/zpzT/vxsE4LplHTt3owrtVIYfTNY6wUPUi8cYvo8 X-Received: by 2002:a17:902:c442:b0:156:984a:1cb8 with SMTP id m2-20020a170902c44200b00156984a1cb8mr788524plm.15.1649120181326; Mon, 04 Apr 2022 17:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649120181; cv=none; d=google.com; s=arc-20160816; b=D8OQTPdfwPVdcLGNBYXvwwffEDdtVyW+ZhiXT7lg7BETz1Ok/SaEYtpcqAEx7fU/Uy RPeL6DeyGGS1Bdf9Gp0SU6sf+POyftA6vXUWBLhx24pWFQeWF9yYseE/jzhpf9RgxFZm 1GbONQyn913aiC5pPSZswS4+g+0Ghhv4yIcReBCt4T/MF69HkHHTV1kthhuL1M4hFEP+ 2oStNqz+7gQSJj+q6Z1eaPswA1gB/EKrmtdr8IETlGOQT71mAoL/vQokPEIdJvYO0tS+ 6g/fproWvIG90LoT0CjGh2oH/jbb7Ncyck42ke65jwUr8FOY9z4H5HaQblgXI9Qctc5u Dj3A== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qk+7Fg1Zoh8JjazLypzcfYRZulzMbo4YuMWQZUu9Rmo=; b=qeBpG3L7rYPeY4X1kiYrZ0lz5H6TE3e7+ysaTOuW/9srQz+85SFpIqem1iFyC4THBH GnyhpUolZYjpZbY4sMBWpe03u+ALmB40FIpMIjJnY6fYu5lXKjIG8xFRB15U4hJ7zfqZ jv8XoIngeKAdlAeK7RFJeF53XjhjlsGEcYdBGw3RRXS37cRJGEw9AyfUqk/bValCvzN+ UAfV8sHedMxLT3rc4jbHsapB2CpUigrKDt9Fh42jW73l+Duc6vrpEyFvJ9YclAPzWGsL nPXQgyPp70PreHQ6y/MVGToY7wZGegvy0LMJgQV35JngV7nw466dzweEk8wy0McNp0yx tF8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NyymN1uE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k11-20020a056a00134b00b004fabd831538si12434922pfu.196.2022.04.04.17.56.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 17:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=NyymN1uE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 69BD1122200; Mon, 4 Apr 2022 17:02:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347189AbiDBTlt (ORCPT + 99 others); Sat, 2 Apr 2022 15:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344315AbiDBTlr (ORCPT ); Sat, 2 Apr 2022 15:41:47 -0400 Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27D9E5BD03; Sat, 2 Apr 2022 12:39:54 -0700 (PDT) Received: by mail-il1-x129.google.com with SMTP id 8so4191097ilq.4; Sat, 02 Apr 2022 12:39:54 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=qk+7Fg1Zoh8JjazLypzcfYRZulzMbo4YuMWQZUu9Rmo=; b=NyymN1uEmKv3L742+Ma6teYe+Mu9M9cUhovjD9CR5MlApKgvyrC53C8Fe/YsVJiQik F/qhAVFBHDVepiA9zCdmlteOpE4dgxZ0vzznKpnSuwXKNOtcvfWYL+jzdpb4sLYg/nef q1VvmshzjTso1IP37yUz2iIBay6prVjdvqjn5ZKAxwhkPHBwE0WXCRnmf0qbXn6RLwXD rLJ9gg9mZ88U5ckNWwj5zU2b7LT6wIDUfVObu+xSjXo0woJDBoSXZknOEeDJLua0NDyv 8BkloeRpFt9xg0PsmdLdQxFjzKm/xN0+1/jLSBvPMEyNLS1+JvjhkBaBZREU7fdP90zT 1l6A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=qk+7Fg1Zoh8JjazLypzcfYRZulzMbo4YuMWQZUu9Rmo=; b=DUN/jCauPj9z4tPYLp6Rz+yMm+IuvM/B6ngYtpYfU0nN+z11kjpnKR1TNSQA8sSxsr d50a451vWxeY/XhqD/bueMYlNJDbDVlq8qh1SffCCtmH/Ef3TdDh8CMUKNFUNSkM9D37 fg3FE3oFcNUBh+dJJTlGOxKK/f18noecDjJRuRCNZ1lVF7qRKjHuxz9NQJTFJnHYvJTD cVWMOsxdrawK9f1CioMrKzTiBMG1pk4brl4yAMUe1ErgYnr1XGGutj/tjVJLlexHTbVA oW51e5SYioI63Jxds5scbmMvEZQjh0a5HIOpKdeAl05CcIRNAY/HN7N6H8oF/7Z0XzKv 5ahA== X-Gm-Message-State: AOAM533agHia78IR63EIAROG0c0HbUCljddCJnz5mo3h3BF72Voig6ZI 61QwA/OobABT+mdJn6bNh3sKq8eav5LRvQ== X-Received: by 2002:a92:c247:0:b0:2ca:8e7:58c3 with SMTP id k7-20020a92c247000000b002ca08e758c3mr2448917ilo.40.1648928393148; Sat, 02 Apr 2022 12:39:53 -0700 (PDT) Received: from aford-IdeaCentre-A730.lan ([2601:448:8400:9e8:6ab1:a455:ad1b:e8da]) by smtp.gmail.com with ESMTPSA id a14-20020a056e020e0e00b002c9e2f0fd76sm3261756ilk.13.2022.04.02.12.39.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Apr 2022 12:39:52 -0700 (PDT) From: Adam Ford To: linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.com, Adam Ford , 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 V3 1/3] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks Date: Sat, 2 Apr 2022 14:39:39 -0500 Message-Id: <20220402193942.744737-2-aford173@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220402193942.744737-1-aford173@gmail.com> References: <20220402193942.744737-1-aford173@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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. Suggested-by: haibo.chen@nxp.com Signed-off-by: Adam Ford --- V3: Marked the imx7d-usdhc as deprecated when there are better fallback options or the fallback isn't needed. Leave the deprecated fallback in the YAML to prevent errors Remove Reviewed-by from Krzysztof Kozlowski due to the above V2: Update the table per recomendation from Haibo. diff --git a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml index 7dbbcae9485c..11f039320d79 100644 --- a/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml +++ b/Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.yaml @@ -34,23 +34,34 @@ properties: - fsl,imx6ull-usdhc - fsl,imx7d-usdhc - fsl,imx7ulp-usdhc + - fsl,imx8mm-usdhc + - fsl,imx8qxp-usdhc - fsl,imxrt1050-usdhc - nxp,s32g2-usdhc - items: - enum: - fsl,imx8mm-usdhc + - fsl,imx8mq-usdhc + # fsl,imx7d-usdhc fallback is deprecated for imx8mm-usdhc + - const: fsl,imx7d-usdhc + - items: + - enum: - fsl,imx8mn-usdhc - fsl,imx8mp-usdhc - - fsl,imx8mq-usdhc - - fsl,imx8qm-usdhc - - fsl,imx8qxp-usdhc + - const: fsl,imx8mm-usdhc + # fsl,imx7d-usdhc fallback is deprecated - const: fsl,imx7d-usdhc - items: - enum: - - fsl,imx93-usdhc - fsl,imx8ulp-usdhc + - fsl,imx93-usdhc - const: fsl,imx8mm-usdhc - + - items: + - enum: + - fsl,imx8qm-usdhc + - const: fsl,imx8qxp-usdhc + # fsl,imx7d-usdhc fallback is deprecated + - const: fsl,imx7d-usdhc reg: maxItems: 1 -- 2.34.1