From patchwork Wed Jul 28 04:07:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hsin-Yi Wang X-Patchwork-Id: 12404991 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=-17.5 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, 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 13872C4338F for ; Wed, 28 Jul 2021 04:09:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BEE5960F41 for ; Wed, 28 Jul 2021 04:09:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BEE5960F41 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=XnjYP8LamAeKt626foqqiGmggCRz/qX1RvtWOhDrrV8=; b=G92fC/iiBweZx0 xo7Ez9lG1mgZ6V+4zHqinAHFyleHx0qgm65eaPzdv/VsY/rpz7F1PSzHsdJIgsZvQ8OyhFEATEypI PoVh+lly2+QcoiLb45l7ylTqlcoZ7yeTPDF3CGglAC8gPnCJbgSH/rYkhSWg9tAq9aGICgrUJQVph sDX/V165PVrzoCy4YR9Dkq/1OuD9gB9dtFb+tWdz9e7v8U9KFLvUNlCN4zbqj16t1ICKbkjiZtsas sd9A95FwLCUOIOSEQJuVzu6RBWr6pjXBzto6dagcNhyRKAlX9HxWjNzLvq1YiZTBzTfqaloppa1bC A/Tvj8tpb1CaoAuK9dnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8aqo-00H10O-9y; Wed, 28 Jul 2021 04:07:22 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m8aqk-00H0yq-2e for linux-arm-kernel@lists.infradead.org; Wed, 28 Jul 2021 04:07:19 +0000 Received: by mail-pl1-x62c.google.com with SMTP id i1so1097220plr.9 for ; Tue, 27 Jul 2021 21:07:17 -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=pks90ivSERYpMZj4hwgFuxICQ3PbMdWHSdug+r6DdN0=; b=fN6OB9+rOqF2+0AFhpPtM/haCGqRJ7JsODJOFsCEcERuuTE3aB5cIrjUKdhQwJ8CII LVp+mM1J0c/7BLHTLg9gnQhyGP3nQ64G6jaiMP97sFY7vxwaItPm8n+1OvUMvyB7jQfC NX7Gls4xWfl4rgH6SxBlHQNP3qk4b4mbNEF98= 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:date:message-id:mime-version :content-transfer-encoding; bh=pks90ivSERYpMZj4hwgFuxICQ3PbMdWHSdug+r6DdN0=; b=ByllBJsRkR/EWecFA1wrhyCiGKUaa0glmrUlAlVA6GUu9K0cyoTezaiK1ydZWmw92o ruf9JR6d6OPnKzBiQDUB+oEpIDaZ+fOSP0aZVPSMF1O1CVp/gvgZWAGLj16v2RTexSpU Bj9t+uXk7sK5F1sgeisW/qL5g8aW+jgCABg0YPX2uirRnnnttCM17nRgK6UtPzxHsuHh RxBsMT+Zzs1lB8R11jpr38Ggdj54mL1QksEXx2EkRXjfTM3yoH+6OsO0/sButpIj/34d Iimef2UVOLohXuenD5Q5Tw2CE+QeV4zzt4gDVgJ78Z7SjA9y+B0DGGcYKC32Xr8+l4d9 I5uA== X-Gm-Message-State: AOAM532l7ECzLMMx01gufj/i1A+oIEex4lEKfnABXolZoX3ONZivrqa4 n6LYQcA7SWQeCR6163u184YhLA== X-Google-Smtp-Source: ABdhPJzA5Yn7qXrzqWhBBZSJiX8eTQpgB2GRbV65UIQ8yec4OJwIMR1tPd7b67aFSc/ImJX+yARX9g== X-Received: by 2002:a17:902:ab98:b029:12b:acc0:e18c with SMTP id f24-20020a170902ab98b029012bacc0e18cmr21358229plr.10.1627445236800; Tue, 27 Jul 2021 21:07:16 -0700 (PDT) Received: from hsinyi-z840.tpe.corp.google.com ([2401:fa00:1:10:5176:76cc:2193:9b8f]) by smtp.gmail.com with ESMTPSA id 6sm5536012pfg.108.2021.07.27.21.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jul 2021 21:07:16 -0700 (PDT) From: Hsin-Yi Wang To: Matthias Brugger Cc: Rob Herring , Enric Balletbo Serra , eizan@chromium.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] arm64: dts: mt8183: kukui: Use aliases to mmc nodes Date: Wed, 28 Jul 2021 12:07:09 +0800 Message-Id: <20210728040710.2891955-1-hsinyi@chromium.org> X-Mailer: git-send-email 2.32.0.432.gabb21c7263-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210727_210718_199799_E2939F39 X-CRM114-Status: GOOD ( 12.41 ) 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 With commit 1796164fac7e ("dt-bindings: mmc: document alias support"), a way to specify fixed index numbers was provided. This patch use aliases to mmc nodes so the partition name for eMMC and SD card will be consistent across boots. Signed-off-by: Hsin-Yi Wang Reviewed-by: Chen-Yu Tsai Tested-by: Enric Balletbo i Serra --- v3->v4: change commit message based on review in v3. --- arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi index ae549d55a94fc..8e9cf36a9a41a 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi @@ -13,6 +13,8 @@ / { aliases { serial0 = &uart0; + mmc0 = &mmc0; + mmc1 = &mmc1; }; chosen {