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 49E56C433F5 for ; Mon, 28 Mar 2022 17:36:49 +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=6wFeBCREZs1awCh4FUSorPj+rdHhgLE9r0YJ9rRKkHE=; b=Uy9jJhd5BMMHdp 8Pj6PKww6hz5j+rZ3MGq/PmJdKXv23Yq2+agIFM/H72Q9pGDHu/Yc03CTUkcxLQElzc4WrQe1LNbX UrljuwuFWevRt34uAmbkB21X76ckLABpqixvbIynQ9p2MsvsM2PY6gAQqmEAwWBKwbQqRjRxk/02a hDRqsf9/nd7ZQAQlKImOG/cp250EyTmA3jCGFkHbOk1yTh5PDMpHUz0qUqlP3YPlzQ6hpi99boxRq BaxxYHbFiPy42ynQziJJ9H3rUl8Vyuj7Ps3lAmeUrQBFjfIa6UaRqQJHGFkA8aBDeK9Ol7RLakyP5 +rFf5qwdD6g7Y2mbCKqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYtH6-009dyt-5a; Mon, 28 Mar 2022 17:35:28 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nYtH2-009dxE-2k for linux-arm-kernel@lists.infradead.org; Mon, 28 Mar 2022 17:35:25 +0000 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 sin.source.kernel.org (Postfix) with ESMTPS id 01272CE13FD; Mon, 28 Mar 2022 17:35:19 +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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220328_103524_492327_FA4E9BDD X-CRM114-Status: GOOD ( 17.98 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel