Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2670386rwb; Fri, 11 Nov 2022 12:54:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf4fh2xTQidCgyUGGrRKSgNPUZk3hCy/m7FCfu84W0rjZQnIxHe/0bDX5r9GqDHCaAAdTyGN X-Received: by 2002:a17:906:24cb:b0:78d:4167:cf08 with SMTP id f11-20020a17090624cb00b0078d4167cf08mr3361074ejb.337.1668200057529; Fri, 11 Nov 2022 12:54:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668200057; cv=none; d=google.com; s=arc-20160816; b=wBV3QfqeNGPNirw/9pcGHRn1n7G8SDRH0DW5wemsNa0rVVD4t77mPZWzg2R21u/Y53 i6GHH7tgFo8x5RrWT/39iF5RaADv/XyFuFQbNiTizgGeI4sKbE4Cz0Qay6F7r4hq264R ATMhFmGyp71yKpOIqXb0vvRQyWIu8NABj8/a+hVS0sFjsWVQY8Nd3kx9RToex0FUKux9 TZ3BddCxocudR5sFyJHM1wWWniigiLTguFwo7d4iLCCJNns+VusgBs7xlBgAEk1GGJqv UV0Pc0w4K8gb6D7/qpCd5Z8oUT3Fjoy1MCX2Fs2+l59+NvxuUAjJme3x+sLgJtTqQV+Z kdQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kCqqyODZLTXYc65HT7GVLA4l1+1YsUN6EnejKmJGlDM=; b=zO162Fhz0C1FrjBRa7zG0nYLOgAvY28HqQ0wugkWmG2phwuX6rGokUpNEEdJmjNDZM MrIDM9b/++fVdBkmXfJ0wRnW8prhk6norL6rO1IuxYQ6SVyRD+Oa5Gu+olSzybYZvDvP HoL8PZ8BFjviuCF9M/LAFuG03K0BmfrPLSS2ywDbbMzNVGi9xOqJZN261axx5y5Jc5m2 ELLXJzKbcwdr65LiRMjCU1SW6jNB2rFwt4Vqfi0SJ6+K2nCDjSVw0CG/HMK+n4FjVxGY NCnibHEGLYMTRcO88VPZc11/7n0Svr6OU/ElGPYxjO6CIpW1kQCcmzi622/AdlFPyPW3 V4yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lBhMusJD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dr2-20020a170907720200b0077156c9124esi1219697ejc.1001.2022.11.11.12.53.55; Fri, 11 Nov 2022 12:54:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lBhMusJD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234101AbiKKTfr (ORCPT + 90 others); Fri, 11 Nov 2022 14:35:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233965AbiKKTfp (ORCPT ); Fri, 11 Nov 2022 14:35:45 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CFA11707F; Fri, 11 Nov 2022 11:35:45 -0800 (PST) Received: from falcon9.localnet (mtl.collabora.ca [66.171.169.34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madras.collabora.co.uk (Postfix) with ESMTPSA id 7A13F6602A5B; Fri, 11 Nov 2022 19:35:42 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1668195343; bh=LQzpqS6J1Op21IKDCU38ivvE8csL7oU4+93+9hQJ7JM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lBhMusJD3eXPpaiQORUMMm6FWJ4sGr65O/8ctweD+b8qcNdigavJM06VuNtKqJIhZ jb7cLd0kJgsuewxrzwKOV1UBwfAhVS48V0j0dH17voi3cGUZsgiX3yEMhtUQMUGKCz ORHLn2/AQrpW5RbjYTk9NEK13BDKbLyW3I8OUyImne45b0WA8vcux1oXp1K+3tIFA/ 5L2UmWY3YRz6ylBakGxCzfq2svE6bO/hx7uxBEVBKpIOC1tKsQa4T+ADjIOJO/4WqI KF4vqwnEhwGmJQYZdWcS++LYojVjSmXTw7wtrUzquw9uNsr9bleUI5TEgSNzLe2M0+ UxUp8Prd+y4fw== From: Detlev Casanova To: Shawn Guo Cc: linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Re: [PATCH] ARM: dts: imx6qdl-sabre: Add mmc aliases Date: Fri, 11 Nov 2022 14:35:36 -0500 Message-ID: <2868543.tdWV9SEqCh@falcon9> In-Reply-To: <20221111025232.GI125525@dragon> References: <20221028141811.101122-1-detlev.casanova@collabora.com> <20221111025232.GI125525@dragon> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Thursday, November 10, 2022 9:52:32 P.M. EST Shawn Guo wrote: > On Fri, Oct 28, 2022 at 10:18:11AM -0400, Detlev Casanova wrote: > > If not specified, the mmc0 and mmc1 devices will be the devices > > mmc@2190000 and mmc@2194000, which are in disabled state on the iMX.6 > > Sabrelite devices. > > > > The actual SD card reader devices are the ones at mmc@2198000 and > > mmc@219c000. > > > > Set aliases to use the correct mmc devices order. > > Is this something never worked or a regression? For the latter, we may > need a Fixes tag? These were apparently never set in the kernel device-tree and added manually in u-boot when dts are synced. Because most distributions use UUIDs in fstab, it is not a big problem in Linux, just that the SD card is called /dev/mmcblk2. I would say that this has always been an issue in Linux. > Shawn > > > Signed-off-by: Detlev Casanova > > --- > > > > arch/arm/boot/dts/imx6qdl-sabrelite.dtsi | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi index > > 22f8e2783cdf..12573e1f917c 100644 > > --- a/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > +++ b/arch/arm/boot/dts/imx6qdl-sabrelite.dtsi > > @@ -14,6 +14,11 @@ chosen { > > > > stdout-path = &uart2; > > > > }; > > > > + aliases { > > + mmc0 = &usdhc3; > > + mmc1 = &usdhc4; > > + }; > > + > > > > memory@10000000 { > > > > device_type = "memory"; > > reg = <0x10000000 0x40000000>;