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=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 4A35BC433E0 for ; Wed, 3 Feb 2021 19:22:01 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC81964DF5 for ; Wed, 3 Feb 2021 19:22:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC81964DF5 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References:In-Reply-To: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Ko3ZFLUjEGm0EdEMlKCAPXNXpU6TnWdxSHGmWqnUJUY=; b=lngneayNI/1w1qIAjPw1nw+ME pN4IVezuutvT9VBb/VseQraKkuXiatMHGzFn8WDeyNWf92GXmx/5YHrXdAu7fsKOIk3AKIO952fjU Jxk57kSbE/HWIaCqV8lkKtOtHSTJTYl4JRFfRnF7U/EzZOctiNdiTgrSFwf7CrDpvGGOUKtCceRFa EEh4mwjgBafXZzuZ+JMXxISU0jHR26nXf92KuNgxJqCr+EQNOXJ9LaHSUCuLrgr7pfOJvNqfixuLz H0bGyAwEF3Xu0OroZFiL2OQCwCdlhbSTG47O8VEVAwwHIr/MBRtsDS7WTkLINTVPuuYnV6zpQBN+G iIUaXieFw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7Nhf-0000Bf-D2; Wed, 03 Feb 2021 19:20:39 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l7Nha-0000AH-O9 for linux-arm-kernel@lists.infradead.org; Wed, 03 Feb 2021 19:20:37 +0000 Received: by mail-wr1-x429.google.com with SMTP id m13so494497wro.12 for ; Wed, 03 Feb 2021 11:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=tt99hPLhk3KaB2PWzbIx3e0caoHHzjfbHL4MeGUbUaA=; b=vvurCJa+zL6OxkKbyDFd91HDwpgH5Exn+ACKhgh6lzDDzBZzqB67sEj67RW3kmaXBy 8ovZ12/qyWX+x9Ju6g6gG8l970n77+oxMHWFfLq6xJREUv3S6FTizerERJQxj1VW00kb kz/5uuT7hLNt6ellVYzPo9pmdhz/VD3qqK8UZIDnCQH5fDpcnt0anzrdxaDPHsSfsLyk Ze88s1rs6vq9tt0dIZULmRiR6WuOFm2uywGlU1EQA4khInjZxVIxZfLCIv04wUefVY1f 7b2wUq6Qb/W5zssFSbJ328EAmkXxZRH1XPn7BLafKshHz/Ir1ehXRa9ff1YqaZrCTyIE PU5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=tt99hPLhk3KaB2PWzbIx3e0caoHHzjfbHL4MeGUbUaA=; b=owHrtqXRWeWWseYZ7dM946R6BrPOS+ajgkzD+frO3lDKg2OAW8uPEENhjLdytiNvEn jumAO+ErvYHuVILokwRGO8nRt18XsbI/HGvwsF+u15AuG+eKzSfPHCB5GCeplW3i3NAm b+PN8zryRTvofshmez6O8+k0JZAHLOu1z49esVmoa1z2hv3Mqm7nxA8unDqmqlppEUS7 UkvA707h6VEYXD+qNlH7QtlN+6Xys1Cj/DE+YzIZB68g22li1biZvRDug9J2j/8ShU4P HD/mvag5INR64isMnz6iYxuTQfenddrkweD5Lz1EIoqM02IEcucO6NW2AE5acj4eR3Mc 5nRw== X-Gm-Message-State: AOAM533KMHp5jo+7ofFe1c1OZD7ASqeDv0OK/5JC1oCtn4RIxF3VrT+K uTQOlWohX79OpbtPCT/q8ems2g== X-Google-Smtp-Source: ABdhPJx7Ma+smAB3z6XyTHRbpL8aFLX1XsmI+JVbGuB7Mh+y1U9TrAecPs1aJwuPWW0GKwsvK8Q7Ng== X-Received: by 2002:adf:fe04:: with SMTP id n4mr5432984wrr.115.1612380027641; Wed, 03 Feb 2021 11:20:27 -0800 (PST) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id e10sm4692036wro.65.2021.02.03.11.20.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Feb 2021 11:20:26 -0800 (PST) From: Kevin Hilman To: Alexander Stein , Rob Herring , Neil Armstrong , Jerome Brunet , Martin Blumenstingl Subject: Re: [PATCH v2 1/1] arm64: dts: amlogic: Assign a fixed index to mmc devices In-Reply-To: <20210202170328.79929-1-alexander.stein@mailbox.org> References: <20210127230852.66686-1-alexander.stein@mailbox.org> <20210202170328.79929-1-alexander.stein@mailbox.org> Date: Wed, 03 Feb 2021 11:20:24 -0800 Message-ID: <7hwnvp2c1z.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210203_142036_168228_1D218839 X-CRM114-Status: GOOD ( 19.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Stein , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org 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 Alexander Stein writes: > Recently introduced async probe on mmc devices can shuffle block IDs. > Pin them to fixed values to ease booting in environments where UUIDs > are not practical. Use newly introduced aliases for mmcblk devices from [1]. > [1] > https://patchwork.kernel.org/patch/11747669/ > > Commit message taken from commit 0011c6d18277 ("arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.") > > The unconventional order (B, C, A) is due to the fact that sd_emmc_a is > (according to the comments) only used for SDIO. > > AFAICS all boards either have both sd_emmc_b and sd_emmc_c or only one of > them enabled. So the alias order should match the previous non-async order > for all of them. > > Signed-off-by: Alexander Stein > --- > Just for the records, I only tested this on my ODROID-N2 (G12 based) board. > > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 6 ++++++ > arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 6 ++++++ > 2 files changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > index 9c90d562ada1..15525f3aa4a6 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > @@ -17,6 +17,12 @@ / { > #address-cells = <2>; > #size-cells = <2>; > > + aliases { > + mmc0 = &sd_emmc_b; > + mmc1 = &sd_emmc_c; > + mmc2 = &sd_emmc_a; > + }; > + Thanks for updating this. minor nit: as I suggested earlier, could you add comments here showing the intention that mmc0 -> SD, mmc1 -> eMMC, mmc2 -> SDIO Kevin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel