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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 2291DC433E0 for ; Tue, 2 Feb 2021 00:51:50 +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 D345464EC3 for ; Tue, 2 Feb 2021 00:51:49 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D345464EC3 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=HYQI++N48XSKAPuS+rGiFvKhyuWZQz2da2cuOy1A/qM=; b=UPYe8Mnt1IE4tfpOJxqMOsLmt ux54+p1MPojOIt9vSmVk+mCPL9x/g9WHtmZzLohRbqCsTP0QMibxNIOsGgXJtAD98DwPFxLgmMBZs OtNqxF6yUjtaVyM4XQkG22OKCqXJo41RlmCx8MPUxy/JpD163eUgUoztFHfdhK0Y8oghhgvuF+A20 SnXxY5t/1pdP90CZ0HwX/q3rAaSSaxpCSzEcEAtEYXnbnMBsh0lMBY7yxU1UPFT/F/0HC9vP1u6lC o1V9qXmX1tsBEX3je+/Pf+w7jAILW39ww0no9IlW6grosOIS9upWjmJqhm2DBmFus9n93FPOaq5sv f1F57Hqgw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6jtz-0008O3-Np; Tue, 02 Feb 2021 00:50:43 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6jtv-0008NA-G3 for linux-arm-kernel@lists.infradead.org; Tue, 02 Feb 2021 00:50:40 +0000 Received: by mail-pf1-x431.google.com with SMTP id y205so13185346pfc.5 for ; Mon, 01 Feb 2021 16:50:38 -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=27tKhSPFIqMlc7ipauT/Jyzv2QmoBByq5yY9O8csaB0=; b=FGsXTgnbWdL/VfLwzPmHXFsdESL4PYfRb3bu9bkTk5A+FSJtSvsRI8iVTfhw/+7tzR XO6932S5OtqRqOHKwk5Ytm9iqkR2iZX1aTTolJRNWvnf/CDU4I3p53Y0NtRQ9MMzE3KP lIF8TDVxuxzKmyW/416vsts5j+b1IYj4k9kbT6aB7F/ejeDR2WPCxvVl1gptxoOJ9PD5 cFEzVUPe2njXRgt8TRuo/w6amKL4KVWxf/2/PTqTcn8TMgWJ3La7F99SAQtBH4MoTXPw cscIobbem362gSuMW1Tezctu5n7MJMjQIcKu83J8OPMBUuinosJgI0rwGQkIDGGHaWDC mqNQ== 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=27tKhSPFIqMlc7ipauT/Jyzv2QmoBByq5yY9O8csaB0=; b=Ew7lfPZBcCaEccVx6j4MxYBKgVqHEgeGxP7fT/o6qjZhrV7wYj8MXThDSFNsVtxAqx 5EG8ayKeUT/o1XMWBOMVl19ejVnrR6Hz18m+hNpK2/PS+Jcrx4nMNUtT7qomF0CjkWW8 xiwXqEXlH0pRzn8FMMOGdZ5YwY8ev7vm4kr+S94rZd4PIac/NUWiJO5OlFF47Ej9WOHd 3V7bvs0VHlhDl3k3z4dlWkglR3A/p5985v/p8OWBFNNDpK7t8Z4T7C15MBpLUb3MtbN8 TAWGM3cXCdipTPzLJw9Ed1ng4SIr/xRqzaRRospQOWHIQ9kJ3O2qiexmLXw4gEiNOnx4 zssA== X-Gm-Message-State: AOAM533iV7N86ry8k3WvPwOnj7CbNgHfWnVXbaDbdTyUoTPXDm6f3hzT 3SjdEHkrwItzWvLDMBEZhAFItFw0WYseZ3SV6WQ= X-Google-Smtp-Source: ABdhPJxkIhp3kWe0EgoOtzHX/utXf4RXQ3p3onEWFdayXG6hNlmdJuwme8HwjvDmSsXhXoBpnbLVsg== X-Received: by 2002:a65:590d:: with SMTP id f13mr19575154pgu.38.1612227037223; Mon, 01 Feb 2021 16:50:37 -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 cq2sm595324pjb.55.2021.02.01.16.50.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 16:50:36 -0800 (PST) From: Kevin Hilman To: Alexander Stein , Rob Herring , Jerome Brunet , Martin Blumenstingl , Neil Armstrong Subject: Re: [PATCH 1/1] arm64: dts: meson: g12b: odroid-n2: Assign a fixed index to mmc devices In-Reply-To: <1975982.ltkoRUPMKj@kongar> References: <20210127230852.66686-1-alexander.stein@mailbox.org> <8de4d82e-b9a5-f809-ea67-5527f9fdde5f@baylibre.com> <1975982.ltkoRUPMKj@kongar> Date: Mon, 01 Feb 2021 16:50:35 -0800 Message-ID: <7hv9bbgun8.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210201_195039_608605_E832721D X-CRM114-Status: GOOD ( 15.53 ) 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: 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: > Hi, > > Am Freitag, 29. Januar 2021, 09:07:45 CET schrieb Neil Armstrong: >> On 28/01/2021 00:08, Alexander Stein wrote: >> > 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/ >> >> I understand the goal, and this should be done for _all_ boards, not only > the Odroid-N2. > > I see. So there are 2 options: > 1. > Set the mapping for all 3 sd_emmc_* in the top-most .dtsi > Upside: very easy patch > Downside: When sd_emmc_a is not enabled "mmc0" will never be available. > Might be confusing. sd_emmc_a is (almost?) always the iface used for SDIO devices, which are not always present. I would recommend we go with a single mapping in the top-level .dtsi SD card -> mmc0 (sd_emmc_b) eMMC -> mmc1 (sd_emmc_c) SDIO -> mmc2 (sd_emmc_a) it's not exactly obvious why we don't go 0,1,2 == A,B,C but just document it in the top-level .dtsi. This approach also has the benefit of having the devices show up how many/most boards showed up before the async probe changes. Kevin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel