From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 649F63603E9 for ; Wed, 1 Jul 2026 08:59:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782896356; cv=none; b=QFSYfxVInA8r5hSQzdrY/VyHuOuJzf3TuHhiSB9D5hiF12NVgyhiekaYMoqLnhUcBd22KEGh1oPoLtMdthLTHF0wt4XNBGVqD07UJJ6hS6ZgMdu62U+pGsG3e551BKnuCG2qKBYHWqqsLwsS6Ye2bFKXf67O5KuYqKM72qS+PnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782896356; c=relaxed/simple; bh=vYhW6sp2VV3qy2pd5m+ykuHKAdjzoYeYYAcYIKeSnL0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sfmaGcy8UsYomGS3wYDS5wqwmFq8NgnfSIE1PckDxT/CGzFdfRdxcQpXXYFBbJYI01ojC/Ibp5VBto/GD8i/bfXaX66/s0zLrDqBbecqdeHi3LBUI+j93a92SyjV8K7L8IFfCxeOZ7UbeNpHZT08qlXf7/Wrg2gzHqlQSU+qm4c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=FaVAN2Y+; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=DO+Pc8y7; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="FaVAN2Y+"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="DO+Pc8y7" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6618G1rM417071 for ; Wed, 1 Jul 2026 08:59:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=dY4DQsLIWN155WO3Hf1JbtTF IG9I3zBKpW9XXTHmvwk=; b=FaVAN2Y+xPKmLXoLUyXMYC350Ng210RlU6vx1Un7 FmCUvk/yIePvFjvrrTpjuKl/ONbmkE5uau2kgNKW0krAnwHTEYWqLUAKgYsAkzxZ 60e+NzfL+VctU83Pqh+E8qP9uiQT9J8qT9icZrId1ZUohgoK1Ph2ZUaK2/aEam00 QZZa2lQkklga54EWLulbqob9f+URu2DWKiULCGZMjaoZyJOGRWsWgCOwKYJ6MLMN e2rKr/mirjC572wrH7NDKKMq3odbc+ITqzegpbnTlP53DzghhNXg5+En203Jo4IL ONqQJwiwhv0aIK7whz9wvJxUjoguyhMlA0pZk0VaTHHkBg== Received: from mail-pl1-f200.google.com (mail-pl1-f200.google.com [209.85.214.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f4jtqkbc5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 01 Jul 2026 08:59:14 +0000 (GMT) Received: by mail-pl1-f200.google.com with SMTP id d9443c01a7336-2c80be91ea3so9474975ad.1 for ; Wed, 01 Jul 2026 01:59:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1782896354; x=1783501154; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=dY4DQsLIWN155WO3Hf1JbtTFIG9I3zBKpW9XXTHmvwk=; b=DO+Pc8y784mDXDGdKGJfoT6xYmkc/bTmb3nD2wasjiGkNBOgpO8j+2WLqYcpDl6WCC E/8gerkFIBUl/00oX4VtRJECK4AL4Z4vsAfXi8gDkZgQL6gNFHoCO+mTZrfH+ocvcQbW rIB4asYqjebGvTwKAIgoWVvluitMSZ73DpIBj+w9l4MwuV9BGBE3S0JfNm5gE9e/lLdx jbPYSANddO0BhyvNb504oKEQa6vynhyhnNMHTuXwRuznqp1Es4cMC6syZrzO8GGo0M3r lmHNJkv2QJv7sf5xrrb74wHmYf8o+w22Q5QlG7cOyhbNuLU+0W5EBu3JVeF/YG9qHLFb aTHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782896354; x=1783501154; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dY4DQsLIWN155WO3Hf1JbtTFIG9I3zBKpW9XXTHmvwk=; b=AJIVbUPEZwHPXD+GsHv9LG0QHgBE80RQhh0FhxC4LPbZSjaFVwYSW2FHpOwEyMNQpB +b3NQ8xNR7XImu13YWIh99PSfI2xK5e63YS8058Vo4FT/LoQn7Ol81Tam4Fv/4VWSBbn haxYdaTlLkyXEqR53FHrEYCYv5v7EvHjtgocaHLO97oWpPX+rstPMAezmpAd0BqnMKQF tR2vCLjZEoogRlH2Kr+IDVko93kVetzMzPdLTmU1CdJVreUtxaXQbmyJsYLje7fJYrkm zf8qGyOunXuOhdAL2vMMFEXAWi5zPUADcE8wVMPa0NiPENw4c7kqVuqCzpjLRGkKaCau 8hcg== X-Forwarded-Encrypted: i=1; AHgh+Rr4Yg2psbjwD+lsjYo0+AE6GMue3Cd0eDT9PpgQmkLqW+10ud/FXjraZLRdMTfZ4GiSekLVz+ju0rbTreg=@vger.kernel.org X-Gm-Message-State: AOJu0Yzc2FhaFlGkDST2xShBnhVGTMg5ByCaVoeM49yx6RwYYOWEZQZo R2HhTvqdBrf7Z+dmMs06av65ERZ8bmcL8tm8p7r/8RbXzYATWmAX52HYJ1tGHD1av+2bjoS+5r4 QGaLkpDnbtmQ5nZupzpJ8YGzWdiTrJoDnU6sVE1RkQ+zhKOO06AvvOVblYbfUzV6mVHw= X-Gm-Gg: AfdE7cmSSiKrITbKHnKms/nkupHZW+O7p8oq2dN0NfrD/728ccm5E6lgLPx5P3uVKSs n6bEBI5nMa+o/M8ZxZB8cESuZTgkTThWd56LGIICsBf7xBW+FHliIMfgcyNXwV9DVekW/iCdm0A rOkBb/mJ4k6pbpGzMXXCkBUyYks5cjalfLQ2D7esiZjK5aR2jg1NcvYquBrx6WSP7orBXcC5xZZ PuCWJvLk7jX7SksvMeS3/kG0L5RxWmIstBUNDD1AvnHcv4Y4QS+MllkDPU2Ui9ZeDNFa9/PQY0k dyS6jXfyjfZyoCiGp8xhka0IqlRLW4QIYjKbSPRd0oaymv1eO1dew2Zbq28/3NTCNdE8kRMdgte 8xT+NEr3U6cqIUCyN8lNbhy/YyWPLYraBOsTW52S325cmwA== X-Received: by 2002:a17:902:f711:b0:2ca:302:2a36 with SMTP id d9443c01a7336-2ca7e678096mr9413005ad.2.1782896353928; Wed, 01 Jul 2026 01:59:13 -0700 (PDT) X-Received: by 2002:a17:902:f711:b0:2ca:302:2a36 with SMTP id d9443c01a7336-2ca7e678096mr9412865ad.2.1782896353497; Wed, 01 Jul 2026 01:59:13 -0700 (PDT) Received: from hu-mchunara-hyd.qualcomm.com ([202.46.22.19]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ca382b8fcfsm28370085ad.64.2026.07.01.01.59.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jul 2026 01:59:12 -0700 (PDT) Date: Wed, 1 Jul 2026 14:29:07 +0530 From: Monish Chunara To: Dmitry Baryshkov Cc: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, mani@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, sarthak.garg@oss.qualcomm.com, pradeep.pragallapati@oss.qualcomm.com Subject: Re: [PATCH V1 0/2] arm64: dts: qcom: lemans-evk: Update SDHC storage support via overlays Message-ID: References: <20260227102405.2339544-1-monish.chunara@oss.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Proofpoint-ORIG-GUID: 3Yk6zhSgy7H4hw55juhocG4HVuB1P7kc X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzAxMDA5MSBTYWx0ZWRfX+IJXF2/Yuzn1 68ynVwOP5+msIhUudBxvjmBcnlXqZzKReG2h7epm/EaSz7UEyZACRL98+hf14wg0zz/Stx25Ttr Fc+I0hkrzrBSr48LwbbLMgOaVe1owVbrLp2UsUNbpYEHmqsQnDIGIUXk3NVLJ0G0dL+3jQXkhk1 An/oZFcUWwvJFysZC8ah8G+xK9cJkdW+kVqbnPMi3VlyqHY2NtAFQyiqAc6lss2J57Hw9hkjDU0 0ZmsWUyvHZ+nsayp/QP2AdxLOeUtEL3ZlAW6MdyPOjxrkSTU8b7nrXODFRVVdvW09kuj7A3tnF9 Qe73UVsX7O99y7VlTa8Rq8sXyOinEIkIldbjrmv6872jxFtbvVfAyDNcZeazVDSdDUjEYFc4uAQ TLxc+Uby5gMwQ40lysFsmkxUB5ajj68x5OBlbYtEeQZ/aZlG0UQVDRBUPr2aj+HppQzCUXoz5qH gWBtu4/M+Nt6YBk4HpA== X-Proofpoint-GUID: 3Yk6zhSgy7H4hw55juhocG4HVuB1P7kc X-Authority-Analysis: v=2.4 cv=LIZWhpW9 c=1 sm=1 tr=0 ts=6a44d6e2 cx=c_pps a=IZJwPbhc+fLeJZngyXXI0A==:117 a=fChuTYTh2wq5r3m49p7fHw==:17 a=kj9zAlcOel0A:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=YMgV9FUhrdKAYTUUvYB2:22 a=yZ2IDrj3TD960BM_Nr8A:9 a=CjuIK1q_8ugA:10 a=uG9DUKGECoFWVXl0Dc02:22 X-Proofpoint-Spam-Info: AW1haW4tMjYwNzAxMDA5MSBTYWx0ZWRfX3sulWhhk5E0E 8VZ7GJVU3MPejbXlEi40FhSM/e5DLNf8mHg9X8L8/27QsZTVFLshqSRKL0NBOVBzTFJEPPIb7IT yjzrSv9DiFJlUO1M9E51GbCmi0nGixU= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-07-01_02,2026-06-26_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 bulkscore=0 adultscore=0 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607010091 On Thu, Mar 05, 2026 at 06:52:17AM +0200, Dmitry Baryshkov wrote: > On Mon, Mar 02, 2026 at 08:13:01PM +0530, Monish Chunara wrote: > > On Fri, Feb 27, 2026 at 10:07:33PM +0200, Dmitry Baryshkov wrote: > > > On Fri, Feb 27, 2026 at 03:54:03PM +0530, Monish Chunara wrote: > > > > This series updates the device tree configuration for the LeMans EVK > > > > board to support dynamic selection between SD card and eMMC storage. > > > > > > > > The LeMans EVK hardware supports either an SD card or eMMC, but the > > > > interfaces are mutually exclusive as they share the same controller and > > > > resources. Previously, SD card support was hardcoded in the main device > > > > tree, preventing easy switching to eMMC. > > > > > > > > This series refactors the SDHC configuration by: > > > > > > > > 1. Moving the existing SD card configuration into a dedicated overlay. > > > > 2. Adding a new overlay to support eMMC. > > > > 3. Updating the common SDHC node in the SoC dtsi to include necessary > > > > resources (clocks, register ranges) required by the eMMC configuration. > > > > > > > > This allows the bootloader to apply the appropriate overlay based on the > > > > desired storage medium. > > > > > > Is there a default mode of operation / extension? If there is one, > > > please define it in the base DT and override it in a single overlay > > > rather than having two mutually exclusive overlays. > > > > > > > The LeMans EVK has SD card slot onboard and eMMC support via a mezzanine card. > > > > However, if SD card is configured to be a default case in plaform DT, some of > > the properties like 'no-mmc' would conflict for eMMC use case which cannot be > > deleted in an overlay file, and vice versa. To avoid such issues, definied > > separate overlays for both which gets selected based on the actual connection on > > the board. > > What would be the result of not specifying the no-mmc in the base DT? > If 'no-mmc' is not specified for SD card use-case, then during boot-up, it would unnecessarily attempt for eMMC and sdio paths which are not required and can be optimized with this property. Hence it needs to be added for SD card use-case. If SD card is made default in SoC DT, these properties will conflict as per the above explanation. Regards, Monish