From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 65560C433EF for ; Sat, 2 Apr 2022 20:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WeTsOTgdhzw/bSfFdSdxJrIxZZgYAq2q2MLMjcbb4tI=; b=NnUYEgJ3k/Utj3 jznu4fBkartrtgPMdcL6BY+a/OUwDFgbCtRgasQ8sWVJBAcTasw4lYLkymSxothyphRE/LAeaUVv2 oNtHjHrSgVT6CVK9D3YJ6TDN+yjUHDQC7ONEPO94weok9b6h69CJwLP6Smiox3H2H07LpVh4cDJWq bZxtoKZJbqGfLUxdJ7THBE3CMhJGUHeeFTeC5QUHAKphY0/L/boowOXEhrSzmuSf+YZPxIknGGzrq eXVFtC92nzGa897VntXxRnmmwYo8z6BZMf33h77sqoJ4ehMgtgyUmDfhi8/cqp8+UQgv+lHGqX6fD j/kwXAz0V9t/gez+fc1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nak74-009z1g-BS; Sat, 02 Apr 2022 20:12:46 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nak70-009yzw-BG for linux-arm-kernel@lists.infradead.org; Sat, 02 Apr 2022 20:12:43 +0000 Received: by mail-wm1-x32e.google.com with SMTP id k124-20020a1ca182000000b0038c9cf6e2a6so3372622wme.0 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=tv0FFTbjz6I9j+wYuQIUbqydagCGWAtJoFgqVAeDXWzAlnlGXk3Hl0G0FQd1UI5MZ7 ol/Bs6xq2ekW+zlpBud0dx9HbqSUeb+5QYNLjD03k3USpAWeBt/sy0Ay9ytLazJ//Zh1 fgoUwmInrtnGi9+sZOfa+F8bT6xY45MKKBGzD1QaHjKJCbdkHL3dIgk1tyfcSrSHBufc ortpMiEfKGNFKR3mOmSweKm72b8nznK9JxA/l7Bt2MjrfWzcvUWpUQ/bCGtUZEJhohVz 2bOAlEBDeQ96ReiHAYQxtCroZOqb1l1e7ugwioeBhuBa62Oi/beAKRTiNYCkVzIUQQvT wTZw== X-Gm-Message-State: AOAM533meabQYBuHS1bNRe7vzF/Yx9w+G1tLkLadRuwKIAnCQzkZEzCO pEGShHmrEnFHaendAjWXUi7hfA== X-Google-Smtp-Source: ABdhPJyVuEQmPjKz6+OoclhGClbXdqVtWWvLy2mu+DTaZ4xpHRVhCMsAwmv2SlZXnn0GLs1qmJVe+g== 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220402_131242_440947_6411F26E X-CRM114-Status: GOOD ( 22.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel