From patchwork Tue May 23 13:57:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 98004 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2169247vqo; Tue, 23 May 2023 07:07:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6F15HviAIqZpYT4opAuR0On52kJThmHcM7/wt2M6AhpTT5CFNqx5Gd6KVo9zMOfCstEOTj X-Received: by 2002:a17:90b:198d:b0:253:8eea:cf with SMTP id mv13-20020a17090b198d00b002538eea00cfmr13906955pjb.28.1684850828568; Tue, 23 May 2023 07:07:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684850828; cv=none; d=google.com; s=arc-20160816; b=NKFQ+rYXBBqwdbPhxOGfCqiYdpJqVpV+9DmLN1+HaLhqckcz7HPDzOK5lmQ6cjg7C0 K2fBgEmSxO9y9mgNq2KibZf1XpX7TOYx2YePCFreGqzZZwnY11f3gyAy9EIEDxpgZvdw JEoGyocv2ED0+5+5Pb+EpnpctDlQy7jbftRsnclgsas+++4NOgzUsP8bNvRAZ4oLx5MD vnNLok9qLkZHhTL4X7rmq9H13wxYgruI9Q2y0KKP5SSEvz/C+egsQvt6TecxT9aGEMNC 2v0EUn/AxVmKSokqlwhIsTsLyt5BlNJmoUauxftCSdSr3E4/PAgq89x7vxwhkcS9yH/V mcyQ== 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=8hxm9cBmr8DX+JzopDtoVTlgP7RRzPQ23qMr2UZc99M=; b=v3DvD/HiXVUjnE5uTU/jHqKi+hqsdjqRet4O9dk8be1nJl93cpvSZq4BPV+GP2FypW l2nlCqXznZaWXTrSv5/i6qpPM56BfJt8BnWBwXNWC2hw2KB65pl8Lz2WGE1/I/+tXm4O qBn8ygH1csQ1XZvfpaWSNgy4E5rpNq6SI4TfOAWOOEMnlZ4/K6LLS3S2fr1B3S4MMZ+2 fMcADngB+sGOzt6F5w0EpojinE72DBhNR+RFBR17GYeDpvH30RtMzlg7cNXzk42YEm3U DDdxWRuytWucWIysINz8QrGJ6ba+SGkiPyzypYL/BKgR5GdLThz1MGLFzUN+JkEYT+q8 vMbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=n7SdxGN6; 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 a5-20020a17090ad80500b00250aa670558si1716424pjv.43.2023.05.23.07.06.55; Tue, 23 May 2023 07:07:08 -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=n7SdxGN6; 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 S237113AbjEWN6c (ORCPT + 99 others); Tue, 23 May 2023 09:58:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237150AbjEWN6U (ORCPT ); Tue, 23 May 2023 09:58:20 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BB43E5A; Tue, 23 May 2023 06:57:47 -0700 (PDT) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34NDtAKL002211; Tue, 23 May 2023 13:57:44 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=8hxm9cBmr8DX+JzopDtoVTlgP7RRzPQ23qMr2UZc99M=; b=n7SdxGN6+qpF/e9PrW0BGunpwlGUjKEl/ju+GiIqnXsO7f5vuD8edBX7Af39c3sCj0w0 yLuDmKhNyTEi+VqcifBt2PXtygBP2OxRs8/MccdndMm/BTW1bjglAZs/iRlBIN9e8x3Y fBxxQ9SVUzerR0AAqNJBOEpni1/KBtrLgX6b0DwFoNlBkZOHnMpPKknt2nPKvwGkQsK2 /QLyrvJwQhhFfShyhfQdQlOdm/21R0rir20+c3xH+XgQkEG6ZjV3F59BLKsZyXYzqg6x xuGD8Rm1eAlhurwj1gZ1hSufC4VJXidkNGVQcS9kr5WUQtYvkKqAJpjNoHAruUq6e/RL jQ== 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 3qr6h0u7b3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 23 May 2023 13:57:44 +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 34NDvejL032175; Tue, 23 May 2023 13:57:40 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTPS id 3qpq9kjvtc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 May 2023 13:57:40 +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 34NDvcYL032155; Tue, 23 May 2023 13:57:40 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 34NDvd04032169; Tue, 23 May 2023 13:57:40 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 44E83529754; Tue, 23 May 2023 19:27:39 +0530 (+0530) From: Komal Bajaj To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bhupesh Sharma Cc: Komal Bajaj , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: [PATCH v3 3/4] arm64: dts: qcom: qdu1000: Add SDHCI pin configuration to DTSI Date: Tue, 23 May 2023 19:27:32 +0530 Message-Id: <20230523135733.3852-4-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230523135733.3852-1-quic_kbajaj@quicinc.com> References: <20230523135733.3852-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: mTONmvasftgOW-dlxvq1nL9nU4SXdj88 X-Proofpoint-ORIG-GUID: mTONmvasftgOW-dlxvq1nL9nU4SXdj88 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-05-23_09,2023-05-23_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 spamscore=0 suspectscore=0 clxscore=1015 adultscore=0 phishscore=0 mlxscore=0 lowpriorityscore=0 mlxlogscore=641 malwarescore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305230109 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766694142248504956?= X-GMAIL-MSGID: =?utf-8?q?1766694142248504956?= Add required pins for SDHCI, so that the interface can work reliably. Signed-off-by: Komal Bajaj --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index 6df07334f1d3..9f615f3368c2 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -1147,6 +1147,56 @@ pins = "gpio31"; function = "gpio"; }; + + sdc_on_state: sdc-on-state { + clk-pins { + pins = "sdc1_clk"; + drive-strength = <16>; + bias-disable; + }; + + cmd-pins { + pins = "sdc1_cmd"; + drive-strength = <10>; + bias-pull-up; + }; + + data-pins { + pins = "sdc1_data"; + drive-strength = <10>; + bias-pull-up; + }; + + rclk-pins { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; + + sdc_off_state: sdc-off-state { + clk-pins { + pins = "sdc1_clk"; + drive-strength = <2>; + bias-disable; + }; + + cmd-pins { + pins = "sdc1_cmd"; + drive-strength = <2>; + bias-pull-up; + }; + + data-pins { + pins = "sdc1_data"; + drive-strength = <2>; + bias-pull-up; + }; + + rclk-pins { + pins = "sdc1_rclk"; + bias-pull-down; + }; + }; }; apps_smmu: iommu@15000000 {