Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3536510pxb; Mon, 4 Apr 2022 20:21:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxu9tcBUwNzs79CVmeHx/ltyzQ/FWBWpBI11cdsCsaD2+PIeval0W77OwZP6RhTgmwhzi4E X-Received: by 2002:a17:90b:87:b0:1ca:a84b:37e with SMTP id bb7-20020a17090b008700b001caa84b037emr1617609pjb.168.1649128868005; Mon, 04 Apr 2022 20:21:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649128868; cv=none; d=google.com; s=arc-20160816; b=bQ6W5c+vPJ19azaaNNxN1vcSo7F+w8Y9TKSUCmkOmOY3aUS8kAQqbgXfuBYyfXiciR la2ccdA6gBDXRSjfWOpSem854jtuyytBwSk8CQWhrHYAX65s13mOCeV9f+OV1YiTZaNf EBbJVuOjwGhSZm749Ds2ADbntTQm5NAp5H6EyMQRSJaNucOhgOtZTPlMkJiUND3jK5XN cRqUI9lzI3NEMCP+2QO/oPnCxgMTD0bCReyu7QMJki4a6QU8QHZ8hOwQ/Dfv1BKCl6lh KB9dWSaUhBmobwTqhPgoNyJZpP7kaPmIVBE+Mm2d9v3ycs982sjv7065Mz9xBD+FU98N 48gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=235ThmLY/OVM1F4sGmmgGyNEXw4TutBGz+wfTPM6Ezw=; b=CQDJMK7AhGV73a1zkg79gAhown1jiRsSAFUvC1Oc59b9aqBAUYt1hpENZ5pmQkEv1g VZSFMQCm5oKGuq7DskGOJTv+4LDyjWFgPVWcU94yhFDVkf9jUnAYlyTPX95FYaJLfSFT FBBqhdJe84MMNZcXxZHQFv+JcCCtqpvrujFCrw+tUKSBeXFODGaWWAvGRcPcRk/EgqRq laqD31sBwxIDJIw1OVuEZl593OztQIHKAgeO2oF3gJdCs/gBEwzfsPOewEnBEhUMO9hj wLmDLPM2ZwSzpzQAsoJbA/gHm/HdzxPEZO5V0LpbMrPr3gXrhTWExyM/qqTYGjV6B/oG 5z6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cas6JHBk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id b18-20020a170902ed1200b00156b4eda697si3219482pld.386.2022.04.04.20.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:21:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cas6JHBk; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 024D4333A51; Mon, 4 Apr 2022 18:20:38 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344249AbiDBUOf (ORCPT + 99 others); Sat, 2 Apr 2022 16:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238922AbiDBUOe (ORCPT ); Sat, 2 Apr 2022 16:14:34 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 796CE114354 for ; Sat, 2 Apr 2022 13:12:41 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id m67-20020a1ca346000000b0038e6a1b218aso858371wme.2 for ; Sat, 02 Apr 2022 13:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=235ThmLY/OVM1F4sGmmgGyNEXw4TutBGz+wfTPM6Ezw=; b=Cas6JHBkmCdF0GwcUU5QKOb+Sux8akmYDZH6laNOP59TCjA0pxhAvURsbet2GknsEB 0FylV/t4GYIz1vmY41D2vHCn3UzdxddfEveGTayYafYNRFwOmlAg73MnIZ1WoJ8p1J6M qmWhHwIgeBtEsq5UTufZH6+u9tARe1W2dMFu/3ofsFpGARJBhDFU6pBqIlUyn1AVfa8n DcAX9XeRxS89OjUS/fx/NlN+xRllNfMhPSjQDNu5MPwg2ppg+0wXJnUvKBDrJkUx8LxE lB+lTNiTWMF15TpY8bcAbCmRoLzlcesC1W7Z7GH6xY66f7zxFs4NuoSuxta8Klw3urbA zV9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=235ThmLY/OVM1F4sGmmgGyNEXw4TutBGz+wfTPM6Ezw=; b=p+AObPoyw7jFNGyvSw0hV90pFi0ji7fUUcrmMsGU9iEEh43FzmnuYZcn3gPIQv7g3N oKXunk0cZy5LF/Vl4lLt70hBwhoa3PqYHEsjV8czNSmJE02IR3N/JtEKoAx9QVoQudSh WoEplv47LLamsB/5yyZZPYg8m6V3gzGlyGbyG4zAzlmFzcB3CZldpYHhkL4jyFJbhNxK MzBAL4lVR4yl+NmddpjlnYfqLn1sPy9DL94GBXtBJpuR7/A/f9Rzal9PmWdYszXyTdHC 7b22JsTpbMU3ZZqiak9BCc8RZQnRwHMdsVaTviOFMKNerg8iZxLRi37LexqBINeQUSXU kAdA== X-Gm-Message-State: AOAM532DMSxQpAQcYyClNsAjUg4t5ZN16jKWnwRgacO8bD8c4zaMs9dl DcKSQMXtjGWUQPvVjrT66TK1ow== X-Received: by 2002:a7b:cd13:0:b0:38b:f39c:1181 with SMTP id f19-20020a7bcd13000000b0038bf39c1181mr13973422wmj.20.1648930360071; Sat, 02 Apr 2022 13:12:40 -0700 (PDT) Received: from [192.168.0.171] (xdsl-188-155-201-27.adslplus.ch. [188.155.201.27]) by smtp.gmail.com with ESMTPSA id b15-20020a05600018af00b002057c72d45fsm6675904wri.77.2022.04.02.13.12.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Apr 2022 13:12:39 -0700 (PDT) Message-ID: Date: Sat, 2 Apr 2022 22:12:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH V3 1/3] dt-bindings: mmc: imx-esdhc: Update compatible fallbacks Content-Language: en-US To: Adam Ford , linux-mmc@vger.kernel.org Cc: haibo.chen@nxp.com, aford@beaconembedded.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 References: <20220402193942.744737-1-aford173@gmail.com> <20220402193942.744737-2-aford173@gmail.com> From: Krzysztof Kozlowski In-Reply-To: <20220402193942.744737-2-aford173@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 > + - 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