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=-16.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT 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 6E8F6C433EF for ; Wed, 8 Sep 2021 14:17:45 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18D3F610C9 for ; Wed, 8 Sep 2021 14:17:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 18D3F610C9 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 26A25833B5; Wed, 8 Sep 2021 16:17:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="e5p19LPR"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 38AFC832CC; Wed, 8 Sep 2021 16:17:38 +0200 (CEST) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C6962832CC for ; Wed, 8 Sep 2021 16:17:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=narmstrong@baylibre.com Received: by mail-wr1-x42b.google.com with SMTP id q26so3535322wrc.7 for ; Wed, 08 Sep 2021 07:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4yxiGi92Gef9QvxgoWqHRzJn0ukWDWVBdqleEHaPfwU=; b=e5p19LPRv84ph2FmahUwn6PgQgl2UijPgB2aX9GO8UqL6dWKZL8/V6JgV2mKnNyysY as5iULSl4Ns+NhLklS9ioRn5Vky47JuYoXHq0nbM5suugMtvPbieeujxmE65CCNqcY5u ym+ECQtvSrp3dKgSkjJ1BrmWFocNt8+o8G4lWKH2w+Su3w86e7epHOb6mLtNEXFHBIUe ubyXU09mT7aNj4Q187YakZ4FglbjJzDZWxcATJi3YD9tLa+oq6Gi/QAK8Kg3JM+CzxRc bAvFzn0jMhaHYE3HWT9Y2z9u2YJJAjynCwxykMVBUIxmOBvPRusUspkmu8o8HdOHEVXM ++xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4yxiGi92Gef9QvxgoWqHRzJn0ukWDWVBdqleEHaPfwU=; b=8NwbREzgsYtZHLkHcY2JuvxrV2cZVuNZdueqdLNGu1+TKWNG5pVIjVVccg+CUm4z/i gO5Gd3A8LSFfWW1yuivWD8XcCk5sim9Y2/8lym7wCwG90v4ijUeomvkYVVQBweUxmdDl ROqKb6v+RzPXjVeNz/y/M1P1HKObXYb+DzcCPt8rHFRUtdugCkX6yquw7OOSBQXWnkwJ lU4jRPs5dc9I97gD34OKqtNW2cCigjfz/WO1djpYpCZFaz3X+m7y90cbnukbJASBTesq Xdwt6uKTNbFqrRQFKR/sOyiSIDQyMgKQzXa5YhdaNsoiXgN3er+zmRUk6cA0Q55FykAs fSdQ== X-Gm-Message-State: AOAM532pxQEwl8Q6+gMQ6j1YilyRIcmqWA+BvllRz6bEQBAv1D3XtI0X BGk5p0iYaktT7rhmDc5vjt5EsDtIitd3c9C9 X-Google-Smtp-Source: ABdhPJxAEuArVkW50BaGemB9P4fCgQT4+Nsoq5mkk9SrTvIKLLgbq4WX7ESDQgmskdV0YEniznd6+g== X-Received: by 2002:a05:6000:160d:: with SMTP id u13mr4546258wrb.17.1631110653336; Wed, 08 Sep 2021 07:17:33 -0700 (PDT) Received: from localhost.localdomain ([2001:861:44c0:66c0:19d:2e13:ec0a:9d59]) by smtp.gmail.com with ESMTPSA id q13sm2339897wrv.79.2021.09.08.07.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Sep 2021 07:17:32 -0700 (PDT) From: Neil Armstrong To: u-boot@lists.denx.de Cc: u-boot-amlogic@groups.io, Neil Armstrong Subject: [PATCH v2 2/9] ARM: meson: keep HW order for MMC devices Date: Wed, 8 Sep 2021 16:17:21 +0200 Message-Id: <20210908141728.585797-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210908141728.585797-1-narmstrong@baylibre.com> References: <20210908141728.585797-1-narmstrong@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Since Linux commmit [1], the order is fixed with aliases, in order to keep the MMC device order, set it back to HW order in U-Boot dtsi files. [1] ab547c4fb39f ("arm64: dts: amlogic: Assign a fixed index to mmc devices") Signed-off-by: Neil Armstrong --- arch/arm/dts/meson-g12-common-u-boot.dtsi | 7 +++++++ arch/arm/dts/meson-gx-u-boot.dtsi | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/dts/meson-g12-common-u-boot.dtsi b/arch/arm/dts/meson-g12-common-u-boot.dtsi index 38fd3d3feb..b1f60b15c9 100644 --- a/arch/arm/dts/meson-g12-common-u-boot.dtsi +++ b/arch/arm/dts/meson-g12-common-u-boot.dtsi @@ -5,6 +5,13 @@ */ / { + /* Keep HW order from U-boot */ + aliases { + /delete-property/ mmc0; + /delete-property/ mmc1; + /delete-property/ mmc2; + }; + soc { u-boot,dm-pre-reloc; }; diff --git a/arch/arm/dts/meson-gx-u-boot.dtsi b/arch/arm/dts/meson-gx-u-boot.dtsi index 17d2cb95c1..fb6952f1d8 100644 --- a/arch/arm/dts/meson-gx-u-boot.dtsi +++ b/arch/arm/dts/meson-gx-u-boot.dtsi @@ -5,6 +5,13 @@ */ / { + /* Keep HW order from U-boot */ + aliases { + /delete-property/ mmc0; + /delete-property/ mmc1; + /delete-property/ mmc2; + }; + soc { u-boot,dm-pre-reloc; }; -- 2.25.1