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=-17.6 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=unavailable 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 AE665C433EF for ; Wed, 8 Sep 2021 05:49:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 97C2B61100 for ; Wed, 8 Sep 2021 05:49:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347557AbhIHFuN (ORCPT ); Wed, 8 Sep 2021 01:50:13 -0400 Received: from fllv0016.ext.ti.com ([198.47.19.142]:60606 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232277AbhIHFuA (ORCPT ); Wed, 8 Sep 2021 01:50:00 -0400 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1885mie3037092; Wed, 8 Sep 2021 00:48:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631080124; bh=2vI1xY8COoy2aNYEy9pE5ZOXaHw78xyMeW2MhP1KkE4=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=fSiD9Clff46sXzsRGhNHCV9aHgXJTZpkkLGaXW97UaG9lSv7FeYWT5W2qQ+F8pqYJ zhgF0YzCm0xbN3IhZavsQU/CblGMfETx8aIDFj3LLZVNSv76YcsIXYzAkGphpUWDRS 3Loi8oITBk0t2SneWrAp/LAlUbHyQdYh7w8CuGKE= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1885mieE049562 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Sep 2021 00:48:44 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 8 Sep 2021 00:48:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 8 Sep 2021 00:48:44 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1885misE016294; Wed, 8 Sep 2021 00:48:44 -0500 Date: Wed, 8 Sep 2021 00:48:44 -0500 From: Nishanth Menon To: Jan Kiszka CC: Tero Kristo , Rob Herring , , , , Bao Cheng Su , Chao Zeng Subject: Re: [PATCH v2 1/4] arm64: dts: ti: k3-am65: Flip mmc device ordering Message-ID: <20210908054844.7ym3flo6f2pryd2x@unplug> References: <0dce149347353556e38a0bdf9a9489ffc9cf66d2.1631032682.git.jan.kiszka@siemens.com> <20210908024442.jskmqqye432p4nmt@gatherer> <674ccec8-c972-a32b-6722-922bf3c55abd@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <674ccec8-c972-a32b-6722-922bf3c55abd@siemens.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07:25-20210908, Jan Kiszka wrote: > On 08.09.21 04:44, Nishanth Menon wrote: > > On 18:37-20210907, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> This ensures that the SD card will remain mmc0 across devices with and > >> without eMMC. > >> > >> Signed-off-by: Jan Kiszka > >> --- > >> arch/arm64/boot/dts/ti/k3-am65.dtsi | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> index a9fc1af03f27..785d931a2dd9 100644 > >> --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> @@ -31,6 +31,8 @@ aliases { > >> i2c4 = &main_i2c2; > >> i2c5 = &main_i2c3; > >> ethernet0 = &cpsw_port1; > >> + mmc0 = &sdhci1; > >> + mmc1 = &sdhci0; > > > > Jan, > > > > Responding in context of [1]. Suggestion from Aswath is to do the > > following instead at SoC level: > > + mmc0 = &sdhci0; > > + mmc1 = &sdhci1; > > > > Then I will leave this up to you and will go back to v1 of this patch > (as we require it the other way around). Could you elaborate on the rationale as to why the other way around? That would probably provide the reasoning to override the SoC generic definitions in the board dts/dtsi as the exception case. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D 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=-15.6 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,USER_AGENT_SANE_1 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 27295C433F5 for ; Wed, 8 Sep 2021 05:50:57 +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 D7E4361158 for ; Wed, 8 Sep 2021 05:50:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D7E4361158 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AVsqFiYNSrmiGnXCzUMrTkJLW0qteMVbORoJp267ZlE=; b=OErDcqYeJF6+yH V6t4vo48RI1IDmjv4uRpJ0Tqjj/0bSONz1ndBPM6wDkktvD4jPGaygaduN5/trZ/8bwztLz3cG2ae zAsn3gMe9EcHUf27cXWiN4rd8sNW7INjhLgNRIbydkTPrzTOfqkkcCT8PWflhGMcxn5OVT6Zmq2ij VGgx+KNQWgcD3NPeNQLSc4fthqypa/yrVOekQF18Z5O+QpMuX6WLi4BKi9C/60qE9dweiR7BUoOAE FouKwNVxJ2OzcVLGOud2DKP5v4NXT2Pmf9I6V6LOVPx+9ciowKn13iRf3u+f00HgoYVquwXZ0Jl3v c0gcsBA7KsPeiWmVtgLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNqS4-005R7e-6v; Wed, 08 Sep 2021 05:48:52 +0000 Received: from fllv0016.ext.ti.com ([198.47.19.142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mNqRz-005R7G-Um for linux-arm-kernel@lists.infradead.org; Wed, 08 Sep 2021 05:48:49 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 1885mie3037092; Wed, 8 Sep 2021 00:48:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1631080124; bh=2vI1xY8COoy2aNYEy9pE5ZOXaHw78xyMeW2MhP1KkE4=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=fSiD9Clff46sXzsRGhNHCV9aHgXJTZpkkLGaXW97UaG9lSv7FeYWT5W2qQ+F8pqYJ zhgF0YzCm0xbN3IhZavsQU/CblGMfETx8aIDFj3LLZVNSv76YcsIXYzAkGphpUWDRS 3Loi8oITBk0t2SneWrAp/LAlUbHyQdYh7w8CuGKE= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 1885mieE049562 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 Sep 2021 00:48:44 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 8 Sep 2021 00:48:44 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Wed, 8 Sep 2021 00:48:44 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 1885misE016294; Wed, 8 Sep 2021 00:48:44 -0500 Date: Wed, 8 Sep 2021 00:48:44 -0500 From: Nishanth Menon To: Jan Kiszka CC: Tero Kristo , Rob Herring , , , , Bao Cheng Su , Chao Zeng Subject: Re: [PATCH v2 1/4] arm64: dts: ti: k3-am65: Flip mmc device ordering Message-ID: <20210908054844.7ym3flo6f2pryd2x@unplug> References: <0dce149347353556e38a0bdf9a9489ffc9cf66d2.1631032682.git.jan.kiszka@siemens.com> <20210908024442.jskmqqye432p4nmt@gatherer> <674ccec8-c972-a32b-6722-922bf3c55abd@siemens.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <674ccec8-c972-a32b-6722-922bf3c55abd@siemens.com> User-Agent: NeoMutt/20171215 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210907_224848_255562_58D382A7 X-CRM114-Status: GOOD ( 19.43 ) 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: , 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 On 07:25-20210908, Jan Kiszka wrote: > On 08.09.21 04:44, Nishanth Menon wrote: > > On 18:37-20210907, Jan Kiszka wrote: > >> From: Jan Kiszka > >> > >> This ensures that the SD card will remain mmc0 across devices with and > >> without eMMC. > >> > >> Signed-off-by: Jan Kiszka > >> --- > >> arch/arm64/boot/dts/ti/k3-am65.dtsi | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/ti/k3-am65.dtsi b/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> index a9fc1af03f27..785d931a2dd9 100644 > >> --- a/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> +++ b/arch/arm64/boot/dts/ti/k3-am65.dtsi > >> @@ -31,6 +31,8 @@ aliases { > >> i2c4 = &main_i2c2; > >> i2c5 = &main_i2c3; > >> ethernet0 = &cpsw_port1; > >> + mmc0 = &sdhci1; > >> + mmc1 = &sdhci0; > > > > Jan, > > > > Responding in context of [1]. Suggestion from Aswath is to do the > > following instead at SoC level: > > + mmc0 = &sdhci0; > > + mmc1 = &sdhci1; > > > > Then I will leave this up to you and will go back to v1 of this patch > (as we require it the other way around). Could you elaborate on the rationale as to why the other way around? That would probably provide the reasoning to override the SoC generic definitions in the board dts/dtsi as the exception case. -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel