Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1206828pxb; Wed, 4 Nov 2020 02:55:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJybd6+pTwmXAMK8tBZhbRNxkQ3a6F6SohNdPL9RUTWijQxWSAt5H3qJjFWtKssSL4CRjd7P X-Received: by 2002:a50:8d48:: with SMTP id t8mr27002306edt.228.1604487324436; Wed, 04 Nov 2020 02:55:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604487324; cv=none; d=google.com; s=arc-20160816; b=AYh3qF+CaK6Pq5KlJzZ9PJeWtCT3PuF3nddd4nVKQoP2wjSFQToxdF/6pPStsgb0sK B6QN2p0D2CLPVOeEspVo7KnEQ8fqw1eL9vcitzlvmAKTYkIEZDtrZzkRwac5oLFjSE1L qER3TExzJBtXTi14K8Cpm8YZPJ9ejFx3Xcwr34C9xIZtQ9muV9GgoC5pHFBy5g9ZN9sU Q1FlxjIesMRUbtrZ5rouWsY5EOXN2ixjlby+2+aib0MdHlt7wM+L2njV8B4anBN4KCAx UO/UYV7uRRDvr0Z7HrOTs3k85YwFUjuzK05APFrBbk/x8tNwxWqP90fNZv69zOAevtfB +S/Q== 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; bh=J3BHXqpZtSPpYAkUsuJuCI+hgWlseRB6JaiEkjqY7tc=; b=LBzZiTDou5gS4ZXhukVgQevpoWax7MFxpKnsSp/HjfNDkp3ks/nIACcpYuc7R1qr0i 01V7dSeH3yn2RU390tKrUe7mXyh+UW2v8Nf91rsiMIlvHoeNSb7h8UDFKGF0XRb1yYDJ Ey/jcusZX1BypmRuLm9+Mq4gzRtImpxTgGp0vHxx1CHbZ7xrE1uJa4ZDzgomlAHMEQG8 s7rx4GL2urVX2t7xr3eSIhnPU4FxbFJuLNp4pVCZztZBOnCxfIhX+gNSdL7hGldOlLq6 EKF3MQvUX2iE4XjPPazyteWXkfT+mBFG/b+5w1T4tyjihtgGHwmHLrynReNXNx/4qg7f ppSg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si1386611ejs.599.2020.11.04.02.55.01; Wed, 04 Nov 2020 02:55:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbgKDKv2 (ORCPT + 99 others); Wed, 4 Nov 2020 05:51:28 -0500 Received: from gloria.sntech.de ([185.11.138.130]:41252 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729089AbgKDKv2 (ORCPT ); Wed, 4 Nov 2020 05:51:28 -0500 Received: from ip5f5aa64a.dynamic.kabel-deutschland.de ([95.90.166.74] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kaGNp-00054b-Sv; Wed, 04 Nov 2020 11:51:17 +0100 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: linux-rockchip@lists.infradead.org, Liam Girdwood , Mark Brown , Rob Herring , Markus Reichl Cc: Markus Reichl , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dianders@chromium.org Subject: Re: [PATCH] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399-roc-pc boards. Date: Wed, 04 Nov 2020 11:51:17 +0100 Message-ID: <4984701.vSXMUKeAfh@diego> In-Reply-To: <20201104094950.2096-1-m.reichl@fivetechno.de> References: <20201104094950.2096-1-m.reichl@fivetechno.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Markus, Am Mittwoch, 4. November 2020, 10:49:45 CET schrieb Markus Reichl: > Recently introduced async probe on mmc devices can shuffle block IDs. > Pin them to fixed values to ease booting in evironments where UUIDs > are not practical. Use newly introduced aliases for mmcblk devices from [1]. > > [1] > https://patchwork.kernel.org/patch/11747669/ > > Signed-off-by: Markus Reichl > --- > arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > index e7a459fa4322..bc9482b59428 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > @@ -13,6 +13,11 @@ / { > model = "Firefly ROC-RK3399-PC Board"; > compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; > > + aliases { > + mmc0 = &sdmmc; > + mmc1 = &sdhci; > + }; > + Any reason for this odering? I.e. some previous incarnations had it ordered as (emmc, mmc, sdio). This is also true for the ChromeOS out-of-tree usage of those, the rk3399 dts in the chromeos-4.4 tree also orders this as sdhci, sdmmc, sdio. And I guess a further question would be when we're doing arbitary orderings anyway, why is this not in rk3399.dtsi ;-) ? Heiko