Message ID | 20230519085122.15758-5-quic_kbajaj@quicinc.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1083590vqo; Fri, 19 May 2023 01:54:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6lSsgt4+uXmsI5b5yHM8X5OBKXwEzUFjQsR9wM+AYKxm6C6bKaJ7ZDPHewy+JkgpXyaehb X-Received: by 2002:a17:90b:68f:b0:250:aa60:b4bc with SMTP id m15-20020a17090b068f00b00250aa60b4bcmr1532678pjz.10.1684486443234; Fri, 19 May 2023 01:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684486443; cv=none; d=google.com; s=arc-20160816; b=WJXtRCqgKnSz0yvp52uto/9pWJoxnvLZT1DB5Pp8vGUBPSr8fS2hrK43Sg1NdTN2H3 r2BUc5UxsUsy3vDDx7Gwp+6H1bOd9iN+bLn4HhBLxSkOksblaLUZ8HPQZVaX1rCoiRoF /CyTIRCbEiqT+nhmP7OyfTxYOQmGHlYyJu/wmkKQjIwPjBu8LM56GTIF+aVPSkMvslQ0 AbAPKrtiapGTtkI+x4+moCqd9QRv3z9Ec3Br+eN277UeIm56f2dBtmpfxRCbDzlMKDKN R9oVELsWBMjF295wxHA4w4YVXhUZoiwP0tnLjL/2U0kqj967Fiez3w+0RMZoseCNHi+9 cuzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=rfJ0IIxkZwGmRqce6/zpR/Gn0dAuv53ZP+WeE0lAtks=; b=zaM2GlQkAnldRH8fkjguAKUDCb4G9vzQKgk6ylu9sJgvload2GiXYsYwcWWdaiCCkL 7pM7RefjwX/kMoNrq9I4rV++ntyunapR/EioVJpYxobdf2aiVDiKZ6TEA+BFN60os4l+ iyzaI/VChHXPVmIy3oEtyi6V6Ph8MLqq8NqTFCh3Z6XeVSEZWAd/J0idL45motSfplN3 8eKGPZE357WJEezLJ3VKrOMkECCzcrXiFeoe72G1VfdIPM9i9NY1jIKijZlVxkFDw2Lj 3AJR+LONzXa7FoSUFUASmiatYP5y3vjcR/kNvwCx4xdMqaLJY5wZJVD/myneyfmdN04w 44qA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eBWcNhfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s63-20020a632c42000000b0051909d663d8si3488507pgs.656.2023.05.19.01.53.48; Fri, 19 May 2023 01:54:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=eBWcNhfD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231217AbjESIvv (ORCPT <rfc822;cscallsign@gmail.com> + 99 others); Fri, 19 May 2023 04:51:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231161AbjESIvk (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 19 May 2023 04:51:40 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70150E6B; Fri, 19 May 2023 01:51:39 -0700 (PDT) Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34J5mdhL011650; Fri, 19 May 2023 08:51:36 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=rfJ0IIxkZwGmRqce6/zpR/Gn0dAuv53ZP+WeE0lAtks=; b=eBWcNhfDpVxBFwuYcya3VM1Co/7u7Tms7d7A3Tahau9xKMn+CXUfmuEgvwDpJben4nP8 X89nyRMv6QF2sSSCENurWAHRAwd+CBbybGRlciETauZaIRtU7/XIsJ6s9zBg0sxLGCPD guXvTJSkJOCOpaVSf3M1sY8NKxTxfk+dnRM4Vjiy4Zocb8YbvJ8MTmFBCUNl+k78xQcb f+0eFf287u+tdDab4KZqiMKH+wSEn728oJRKthfED08fKkBL9wp3XFaJTCK/Vt1vbyD8 kS/jjhBEu+15esnFwmdSxeyXPZMGrmzCEE9BxT4mVVeBZ6dNW8L/4GaqOZmCIqz7IbTo mQ== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qp0kermwa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 19 May 2023 08:51:36 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 34J8pXDB012793; Fri, 19 May 2023 08:51:33 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3qj3mkd0qf-1; Fri, 19 May 2023 08:51:33 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34J8pQcg012717; Fri, 19 May 2023 08:51:33 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 34J8pWU9012784; Fri, 19 May 2023 08:51:33 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 16F4C529754; Fri, 19 May 2023 14:21:32 +0530 (+0530) From: Komal Bajaj <quic_kbajaj@quicinc.com> To: Ulf Hansson <ulf.hansson@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Bhupesh Sharma <bhupesh.sharma@linaro.org> Cc: Komal Bajaj <quic_kbajaj@quicinc.com>, linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 4/4] arm64: dts: qcom: qdu1000-idp: add SDHCI for emmc Date: Fri, 19 May 2023 14:21:22 +0530 Message-Id: <20230519085122.15758-5-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230519085122.15758-1-quic_kbajaj@quicinc.com> References: <20230519085122.15758-1-quic_kbajaj@quicinc.com> X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: WKnyjuSRr8a4WDwsPMtZHYijNXmbagW6 X-Proofpoint-ORIG-GUID: WKnyjuSRr8a4WDwsPMtZHYijNXmbagW6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-19_05,2023-05-17_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxlogscore=715 malwarescore=0 bulkscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015 impostorscore=0 phishscore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305190074 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766312056488498572?= X-GMAIL-MSGID: =?utf-8?q?1766312056488498572?= |
Series |
arm64: dts: qcom: qdu1000: add SDHCI
|
|
Commit Message
Komal Bajaj
May 19, 2023, 8:51 a.m. UTC
Add sdhci node for emmc in qdu1000-idp.
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
--
2.17.1
Comments
On 5/19/23 2:21 PM, Komal Bajaj wrote: > Add sdhci node for emmc in qdu1000-idp. > > Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > index 9e9fd4b8023e..b2526e991548 100644 > --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts > @@ -451,3 +451,14 @@ > &uart7 { > status = "okay"; > }; > + > +&sdhc_1 { > + status = "okay"; > + > + pinctrl-0 = <&sdc1_on_state>; > + pinctrl-1 = <&sdc1_off_state>; > + pinctrl-names = "default", "sleep"; > + > + vmmc-supply = <&vreg_l10a_2p95>; > + vqmmc-supply = <&vreg_l7a_1p8>; > +}; Again, please follow alphabetical order for adding new node entries. Also, we have been placing 'status = .. ' entry at the end for new .dts (or .dts entry), but if that is the format used across this board dts I am ok with the same. Thanks, Bhupesh
On 19.05.2023 12:13, Bhupesh Sharma wrote: > > On 5/19/23 2:21 PM, Komal Bajaj wrote: >> Add sdhci node for emmc in qdu1000-idp. >> >> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> index 9e9fd4b8023e..b2526e991548 100644 >> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >> @@ -451,3 +451,14 @@ >> &uart7 { >> status = "okay"; >> }; >> + >> +&sdhc_1 { >> + status = "okay"; >> + >> + pinctrl-0 = <&sdc1_on_state>; >> + pinctrl-1 = <&sdc1_off_state>; >> + pinctrl-names = "default", "sleep"; >> + >> + vmmc-supply = <&vreg_l10a_2p95>; >> + vqmmc-supply = <&vreg_l7a_1p8>; >> +}; > > Again, please follow alphabetical order for adding new node entries. > > Also, we have been placing 'status = .. ' entry at the end for new .dts (or .dts entry), but if that is the format used across this board dts > I am ok with the same. Komal, since you're already touching this file, would you mind making a separate commit moving status last for all nodes? Konrad > > Thanks, > Bhupesh
On 5/20/2023 4:54 PM, Konrad Dybcio wrote: > > On 19.05.2023 12:13, Bhupesh Sharma wrote: >> On 5/19/23 2:21 PM, Komal Bajaj wrote: >>> Add sdhci node for emmc in qdu1000-idp. >>> >>> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com> >>> --- >>> arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 11 +++++++++++ >>> 1 file changed, 11 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>> index 9e9fd4b8023e..b2526e991548 100644 >>> --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>> +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts >>> @@ -451,3 +451,14 @@ >>> &uart7 { >>> status = "okay"; >>> }; >>> + >>> +&sdhc_1 { >>> + status = "okay"; >>> + >>> + pinctrl-0 = <&sdc1_on_state>; >>> + pinctrl-1 = <&sdc1_off_state>; >>> + pinctrl-names = "default", "sleep"; >>> + >>> + vmmc-supply = <&vreg_l10a_2p95>; >>> + vqmmc-supply = <&vreg_l7a_1p8>; >>> +}; >> Again, please follow alphabetical order for adding new node entries. Noted. >> >> Also, we have been placing 'status = .. ' entry at the end for new .dts (or .dts entry), but if that is the format used across this board dts >> I am ok with the same. Sure, will move status to end. > Komal, > > since you're already touching this file, would you mind making a > separate commit moving status last for all nodes? Hi Konrad, I don't notice any other nodes whose state is maintained at the beginning of the node. Thanks Komal > > Konrad >> Thanks, >> Bhupesh
diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts index 9e9fd4b8023e..b2526e991548 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts @@ -451,3 +451,14 @@ &uart7 { status = "okay"; }; + +&sdhc_1 { + status = "okay"; + + pinctrl-0 = <&sdc1_on_state>; + pinctrl-1 = <&sdc1_off_state>; + pinctrl-names = "default", "sleep"; + + vmmc-supply = <&vreg_l10a_2p95>; + vqmmc-supply = <&vreg_l7a_1p8>; +};