From patchwork Tue May 10 05:20:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eizan Miyamoto X-Patchwork-Id: 12844546 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E1EAC433EF for ; Tue, 10 May 2022 05:21:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LO9PRJeahzB4SBFEbYcTHk+n3iLgaP6XFTtHqfCRiqo=; b=270a+dBUCnBOJm Nd/hTHOaTJv9mBiZ+pK96TM2GRs/arwS+ywxOYNL8rvc+Avf8zs3P9cxl2Fxx1dw1RCELNUBGLpLN Gq/e2BROAbpUz3ja//K/uIv6dIrap4DOBNgfrPUZc6I9g5pDCE5VBAnw/4ZF5POTYpCXdTLsBstUs 8x7RV12+39pYYQp4FhgO0kmTIThA+vx6c30D/WABliUfX4242SIhSXgLZOi8nWOiJwK4ghLZJDKAt dvlZQ0XrutBBa4+6fERs06Ax/DBDpxkNAbxF5xpa/sZ/D1JxPpR/qVSGrNtLvCgV/iAH1E9LjSpHU n2g+68Gfaz4fv2NqpDVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1noIIh-00HaFi-27; Tue, 10 May 2022 05:20:47 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1noIIe-00HaEs-1s for linux-arm-kernel@lists.infradead.org; Tue, 10 May 2022 05:20:45 +0000 Received: by mail-pl1-x630.google.com with SMTP id i17so15783468pla.10 for ; Mon, 09 May 2022 22:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yiAVlYJ6ztlaDoBnlRQCGr+0qKRwQo5un6vTJF3zwII=; b=FwajoCxnVrzvs7zHittmhKbuSW7XGOtckqrhWHEEv6UMPnWBd8LN9/o77ThMfLy4WA ynLmWEkXlbZEmCzV0qmPLQZxI2A9oMf0njaIpuQk47v7cAjifFoc0CxmQVsjreMkOUcm jQMdHNmpi/JeG7OAMRCHmAxXGRJlq4vLr5OSU= 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:mime-version :content-transfer-encoding; bh=yiAVlYJ6ztlaDoBnlRQCGr+0qKRwQo5un6vTJF3zwII=; b=YhWWXy6duWzureO6O9dWRnEqqhp9sNC6s8XnwttK3L0jphJswG1x35hiUUbowtPn98 qr1KPw+JIeDx/w9tG/U1JSMuKuaK9QzIUHQIM2sHBP+gdXaZuuJemTWfHmdhhB7NY7EX AQ3njhrmTFuzF8UHUm/uzsb3insn5N1Ormf5giukbO2rArhv5ExvAbd83XMGVbGLN02p peK0icHCo5ezgukdBUWj1S8PjzZ1NW5OMtL7iRPYGfuQOBN6oAC7dxXEYRKw6cO1i5+F qn5wXyGKZANJj3jLZmLb/BEUhWMph0OrjtIxOlLqGszEsUjXLhr/aiLF6bUE5pOVbh4J M8hg== X-Gm-Message-State: AOAM531T6vK03FDWg4J9PSPgwlYrd9BTJgpm8Nt7RX2cywyQhnjgNyfx UeOEi+91iKGbykZd8vcGn4La+Q== X-Google-Smtp-Source: ABdhPJwjxXu3ddCJhjoeoEoaYD7lnb8OWIcUfXchwaz/AQ8XpTwpemaQQMCGOyJ1gvv8Tz/eeC5c3Q== X-Received: by 2002:a17:90b:33c6:b0:1dc:ba92:41bb with SMTP id lk6-20020a17090b33c600b001dcba9241bbmr21041517pjb.26.1652160042077; Mon, 09 May 2022 22:20:42 -0700 (PDT) Received: from localhost ([2401:fa00:9:14:4f4c:708e:ab00:6543]) by smtp.gmail.com with UTF8SMTPSA id bi10-20020a170902bf0a00b0015e8d4eb1fcsm898377plb.70.2022.05.09.22.20.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 May 2022 22:20:41 -0700 (PDT) From: Eizan Miyamoto To: LKML Cc: Eizan Miyamoto , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH] arm64: dts: mt8173: add aliases for mt8173 mmc device nodes Date: Tue, 10 May 2022 15:20:30 +1000 Message-Id: <20220510152020.1.I6094f0a935212eabc7d9348d6cb5a2517ccc2514@changeid> X-Mailer: git-send-email 2.36.0.512.ge40c2bad7a-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220509_222044_150480_C2C95466 X-CRM114-Status: GOOD ( 10.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Doing this makes them get enumerated in a deterministic order so that the assigned name in /dev that the mmc devices get assigned is consistent across reboots. See ead9f7d7ea9 ("arm64: dts: qcom: sc7180: Assign numbers to eMMC and SD") for similar work. Signed-off-by: Eizan Miyamoto --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 6b02cff605fbe..9f3cd54116de9 100644 --- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi @@ -55,6 +55,10 @@ aliases { serial1 = &uart1; serial2 = &uart2; serial3 = &uart3; + mmc0 = &mmc0; + mmc1 = &mmc1; + mmc2 = &mmc2; + mmc3 = &mmc3; }; cluster0_opp: opp_table0 {