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 X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E7CDC2B9F4 for ; Thu, 17 Jun 2021 13:22:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 080A1613BF for ; Thu, 17 Jun 2021 13:22:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232512AbhFQNYu (ORCPT ); Thu, 17 Jun 2021 09:24:50 -0400 Received: from mslow1.mail.gandi.net ([217.70.178.240]:53053 "EHLO mslow1.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229931AbhFQNYu (ORCPT ); Thu, 17 Jun 2021 09:24:50 -0400 Received: from relay9-d.mail.gandi.net (unknown [217.70.183.199]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 2B956E2511; Thu, 17 Jun 2021 13:14:43 +0000 (UTC) Received: (Authenticated sender: gregory.clement@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 24805FF81E; Thu, 17 Jun 2021 13:14:18 +0000 (UTC) From: Gregory CLEMENT To: Marcin Wojtas , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: andrew@lunn.ch, robh+dt@kernel.org, Marcin Wojtas Subject: Re: [PATCH] arm64: dts: ensure backward compatibility of the AP807 Xenon In-Reply-To: <20210322003915.3199775-1-mw@semihalf.com> References: <20210322003915.3199775-1-mw@semihalf.com> Date: Thu, 17 Jun 2021 15:14:18 +0200 Message-ID: <87k0ms1vmd.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi Marcin, > A recent switch to a dedicated AP807 compatible string for the Xenon > SD/MMC controller result in the driver not being probed when > using updated device tree with the older kernel revisions. > It may also be problematic for other OSs/firmware that use > Linux device tree sources as a reference. Resolve the problem > with backward compatibility by restoring a previous compatible > string as secondary one. > > Signed-off-by: Marcin Wojtas Applied on mvebu/dt64 Thanks, Gregory > --- > arch/arm64/boot/dts/marvell/armada-ap807.dtsi | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-ap807.dtsi b/arch/arm64/boot/dts/marvell/armada-ap807.dtsi > index d9bbbfa4b4eb..4a23f65d475f 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap807.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap807.dtsi > @@ -29,6 +29,7 @@ cpu_clk: clock-cpu { > }; > > &ap_sdhci0 { > - compatible = "marvell,armada-ap807-sdhci"; > + compatible = "marvell,armada-ap807-sdhci", > + "marvell,armada-ap806-sdhci"; /* Backward compatibility */ > }; > > -- > 2.29.0 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com