Received: by 2002:a05:6a10:87d6:0:0:0:0 with SMTP id g22csp651318pxr; Mon, 11 Apr 2022 03:48:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0PX2MY6wa6opBujstaFyueKCyF6SR0y0+JqsrxhlCO3u0zi1TJKHjtvSYV6QXQnOeXeDv X-Received: by 2002:a50:d78e:0:b0:416:2cd7:7ac5 with SMTP id w14-20020a50d78e000000b004162cd77ac5mr32172963edi.320.1649674085659; Mon, 11 Apr 2022 03:48:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649674085; cv=none; d=google.com; s=arc-20160816; b=GY+M27bUu4CN8CTkJAtliUZ3ARQZebvcdG52IwB3K4ymbiqBWIlFGX2bNjkmguRWRs u+4ia9+xHE9XB4jcLEW0NeuS+59bgpLfVRjAg4eWDbVxvkl4ZpiDppzKdFVH3/BdJT4P xrBOyJI/JC1OSVB6hk7Tx8rCkuXEKJ3aaqxLVYbA9H73XJ8BzGnySW4tTmJ0JW09a21z fw2tKXeaxtydmCDXiYhsbyNsec6e2fpsFXS7A9q/IW1qvPuJlTpdPZWwXErzSfx7w5Qi ZXKtNoLfwOohg8eQWiNijw9iG6F6dhWXcPls09FJiDMXW+p0D4bl7pLXP21xnCEckISJ AABA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BKkGQ0Mvqi4FBstenNkXAi42Rt/g6fYjLkhfPoyt3WM=; b=mmFjYAmD8woNtlh/OgzH1HkhmXzhSeW8yhT9AgpFivbS1mqVjdPbtGbCc6kLTUOwxj fSNTp9DtajJR2q9YvDzNaetrfKf/QdRuwbVLRLrSm1C99yee/IdNDzPm1WTdTX4YXI2T Wour/MTPHE/X+JP/UvEjMq+2NRnRghZxCGiWOiu9nd0ZYXdwwhcyzau9k5g4UXY44PRz F+6X73pVfp6al2dLN4l77K3s+lo1ZmKQrw2jcUeFmTxKYTzB4dm+kFI7pjWS4e+Z4Tsy MAuk227/r/fIrzqbOXJ6bPBGlWEzYeO8JtFeQ3YfW4vSIZ4QJT/LEkQqImtSiM89w0BG zGCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HkgsCSL5; 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 dp22-20020a170906c15600b006dfc5bed32esi7380713ejc.128.2022.04.11.03.47.39; Mon, 11 Apr 2022 03:48:05 -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=HkgsCSL5; 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 S242412AbiDJOi7 (ORCPT + 99 others); Sun, 10 Apr 2022 10:38:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229673AbiDJOi5 (ORCPT ); Sun, 10 Apr 2022 10:38:57 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A9444FC51; Sun, 10 Apr 2022 07:36:47 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id w18so15262861edi.13; Sun, 10 Apr 2022 07:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BKkGQ0Mvqi4FBstenNkXAi42Rt/g6fYjLkhfPoyt3WM=; b=HkgsCSL58PnbdcUBEOhGnHm6bJa+DOxjnoSIAlawOv1amwFaBpH6xfy629c4kCnBby WUoJLA/YSQIcw+yi/FA+hKHSdo3KYfxfCUD2jJoaaZX+Z4GNzz7/urKDCSBz4RrsdN3y AkJiaTLVMJScsv258BEFIrZtfrdYd6jPnoPVYU9Cu/jcKLgBaM3zOHQq86qJTKBYy+jW y1I9BsvJQAJaIJs81NIZ2zIYMNKVzIav0LtD7aMnebtNLgKkeZ2Cj7uF/utQfsT6NG6C pFjqAAHVmA1af2uKYgsOm+Z6tiQqJtj48EtHBFYvIgNQVmzcPhmxGTJbIhHkPO2DaGJo QOrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BKkGQ0Mvqi4FBstenNkXAi42Rt/g6fYjLkhfPoyt3WM=; b=xm/sjEWFbZQsUMqPjbNDsuYAz1nm+4A+L4DNGDEAaZloyghKnSz+355oexTBRe9zux C7wgK2rAXGwDp2pZyKL5nzBdOd0PUtLfw6zf5trL63AdpVsS/OMODANO+ea6B1C6muLe PHqsuQ1WSlxJ9fiKJ8AbrdwXy6+UP5wJThEoWGF4J08xo9bgS6kSKNQB5UCSWNlaZKj0 DOA3Gzgyq4n2GmsAahX8tVxKBzats/mIY8d8672e87f0sqHG6dkjD24TeO/MYmlenYuc 0COu3Xc6fXYHFsi4TLGMzfewWQ9Wevwzw4luTl1YE8u8vsyF12qzsxJW5+Yi/gY5QRut tczQ== X-Gm-Message-State: AOAM532TzQYU5yvSB2jDD/CXAyqzxLK/Ki5Io8NQR8xVzdkwm7DbSLtx NamUG//l2jNh7I40X7RHXLQPwE24FGeHZFQOhfw= X-Received: by 2002:a05:6402:2142:b0:413:6531:bd9e with SMTP id bq2-20020a056402214200b004136531bd9emr28703628edb.5.1649601405556; Sun, 10 Apr 2022 07:36:45 -0700 (PDT) MIME-Version: 1.0 References: <20220402193942.744737-1-aford173@gmail.com> <20220402193942.744737-2-aford173@gmail.com> In-Reply-To: From: Adam Ford Date: Sun, 10 Apr 2022 09:36:34 -0500 Message-ID: Subject: Re: [PATCH V3 1/3] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks To: Krzysztof Kozlowski Cc: linux-mmc , Haibo Chen , Adam Ford-BE , Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree , arm-soc , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" 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 On Sat, Apr 2, 2022 at 3:12 PM Krzysztof Kozlowski wrote: > > On 02/04/2022 21:39, Adam Ford wrote: > > 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 > > Instead of comment use (I think on the same level as items): > > deprecated: true I have tried various combinations of where to place "deprecated" and whether or not to use a hyphen, but I always get syntax errors. Do you have an example of this I can see? adam > > > + - items: > > + - enum: > > - fsl,imx8mn-usdhc > > - fsl,imx8mp-usdhc > > So if this is a deprecated list, where is a proper one? The list with > this enum + imx8mm? > > IOW, you need to list here: > 1. Old combinations with "deprecated: true" > 2. New combinations. > > > - - 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 > > > > > Best regards, > Krzysztof