Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5603607pxb; Mon, 28 Mar 2022 14:50:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzx+3iyEu/ex3/CRBomkzY5ajlk2+zCW7YluPzzmG+XmgqZ2xDngfMQDnCd8BMKzxJeqcg X-Received: by 2002:a05:6102:824:b0:325:4556:aec6 with SMTP id k4-20020a056102082400b003254556aec6mr12376747vsb.22.1648504259602; Mon, 28 Mar 2022 14:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648504259; cv=none; d=google.com; s=arc-20160816; b=LbXoCHGvlf68VQIn8UuHqPkGVK3ExiU/NNF3xbhCaU/Qvnl65SSfCkl9kyWLyIBY65 sixQD729taZPp5k3N2UynPtHSZBb0HDLfYgriAOxo2Moo9Bb66bQEgP1jaA7qnWt/Rdw /a1TJNErrT2HdFpk68Vut27U87hP8rHFmI0Q33QrRf6H4/RlgwsqKAXt8aUV1nPjX1Fg S0g4F7E3xJ6bcmBNgghNXfXCARfFOZhsTAl6k9dDYcHh+EDb0DNcxnc13l+pVcAUGN23 98MCsYn4jAL5VFc/JVUWbGmXGMe876YOtctcjZpSzLApbt02PRz/3uQvzNyixxWj7gCO 9VNw== 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=/SIOAZMC38pOXhnYXW3j/gDNbQI3g4t08NLr7RByug0=; b=ZBMEKhxsdxdwXbIGEq8uQlFk/29bI654/qKMN0+onEIyX9ajLb7CGEBF3y7LdFqE1x DsnMWCBTbRzJcZliSU2ASGKKvSxbcSDu8CuMNOal4XBWRSI/TuPxvcKgkBzYG6EU4aTG 26kJ7+WvFMBXui9PVlquQyMkdlBtt5lusmYeQ2th5pjfU/T2wP6Gnagf8F+10HQeQc/H jGdc0cZtSvedQhX33XdDwxDi5AdvH6YKYuXVtG4QYKKfaBZOIKfqtKy7SU8+b23F863c ZHG1KsKBbhQxTwpSRB6y6wo1gwKAhJAN+1A3qExmNW5zLvjmdm96jpkqgUGzLN1oCYpd 754g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c2bDiePA; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id u14-20020a67ae4e000000b00324c5c3be5fsi3451722vsh.161.2022.03.28.14.50.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 14:50:59 -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=@kernel.org header.s=k20201202 header.b=c2bDiePA; 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=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9398B133658; Mon, 28 Mar 2022 14:22:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244493AbiC1RhD (ORCPT + 99 others); Mon, 28 Mar 2022 13:37:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbiC1RhA (ORCPT ); Mon, 28 Mar 2022 13:37:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6298713EBA; Mon, 28 Mar 2022 10:35:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F0A2C60F43; Mon, 28 Mar 2022 17:35:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 192F3C340F0; Mon, 28 Mar 2022 17:35:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1648488918; bh=8DK84zvqPVQ5dqS+l/hxkkjiMncObsS+szQGh2/hPXg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=c2bDiePA9kHGkpvEstcte3dmY6J/ZwxEwE+Akse5+A/eLvrlrOHTah0fbvzTpRuh4 Pokc1eA4hRapiiyGDVv7277DFDB+HQ8hZe6l+gOshZAHIksKcpxXEB1ikexTibdkJP f60RlTKUb7L0Djzxhr943hpHmv1HuG3Jr+P43jTJ30TkGk+Q+TQ6+iK6umVxiVqewQ JQWzn1Ibvr7nDQw3iR4n33tSn5lWpGTtBkX6wHt+6NyvhH4ms3egZ3yvz9dVYJs5se vZ26BRS4YGRcpdNJ1eiJa1uwFOWgXH/OU8iHr15SF/oruYYJiqRreOQD7ZMvr+Cy5i 2TOB7CldP3qPw== Message-ID: <6e1686d0-50f4-8681-1f15-2e4df957ebc8@kernel.org> Date: Mon, 28 Mar 2022 19:35:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 3/5] arm64: dts: imx8mp: Enable HS400-ES Content-Language: en-US To: Ahmad Fatoum , Adam Ford Cc: Krzysztof Kozlowski , linux-mmc , devicetree , Ulf Hansson , Fabio Estevam , Shawn Guo , Sascha Hauer , Adam Ford-BE , Haibo Chen , Linux Kernel Mailing List , Rob Herring , NXP Linux Team , Pengutronix Kernel Team , arm-soc References: <20220327123835.28329-1-aford173@gmail.com> <20220327123835.28329-3-aford173@gmail.com> <74e74ea8-1554-bf08-b0ea-36e77259cb18@pengutronix.de> <5c24c12b-3a12-1e18-9f03-2c54cad30bf9@kernel.org> <5282b39b-85d5-81d6-10d5-a45c66d4d4e9@kernel.org> <010b3600-81dd-f5e3-2d57-8cab8efd58f0@pengutronix.de> <37da40fe-6e85-af40-756b-d022fe2559aa@kernel.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 28/03/2022 15:42, Ahmad Fatoum wrote: > On 28.03.22 15:14, Krzysztof Kozlowski wrote: >> On 28/03/2022 15:07, Ahmad Fatoum wrote: >>> On 28.03.22 14:56, Krzysztof Kozlowski wrote: >>>> You could also add two cases: >>>> 1. three compatibles, deprecated: True, >>>> 2. two compatibles, without imx7d. >>>> >>>> Existing DTS stays with three compatibles for two years and later gets >>>> converted to two compatibles. New DTS should use two compatibles. >>>> >>>> It's quite a lot of churn, but would make in the long term bindings >>>> correct and also not break other users/projects. >>> >>> I don't see why we need to deprecate the old binding. New SoCs >>> can be imx8mm-usdhc compatible from the beginning and need not >>> care about the old binding. Existing SoCs can just remain imx7d-usdhc >>> compatible as they are now. >>> >>> I don't see what the deprecation accomplishes. >> >> It avoids to have too many entries of imx8mm (imx8mm alone, >> imx8mm+imx7d, imx8xx+imx8mm+imx7d). > > I see. I assume use of deprecated binding will be reported on a dtbs_check? Unfortunately no, at least not yet. :-( > If so, the expectation is that downstream projects run dtbs_check on their > imported Linux DT repository, see the deprecation warning and extend > their drivers to comply with it. > > Some time later upstream will remove the deprecated binding and adjust > the device trees. This works for me. > Yes. Plus this gives the notice to downstream projects, to comply with the change of DTS. Best regards, Krzysztof