From patchwork Thu Jun 1 11:11:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 101894 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp254795vqr; Thu, 1 Jun 2023 04:51:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5LhrrPIT74or6D992jQmhwps8FYZUUix3yC3psxX/N6G/+rw3O2DXvPr6YIgkF+DMF1vAs X-Received: by 2002:a17:902:b498:b0:1a6:6fe3:df8d with SMTP id y24-20020a170902b49800b001a66fe3df8dmr7469134plr.8.1685620278818; Thu, 01 Jun 2023 04:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685620278; cv=none; d=google.com; s=arc-20160816; b=NoGXYD8g7+vJ/p+2sY88u9OqopEUevALg19toCnSCSlViNApSdktv8MP7HRDEV1MQo DZyeziE6PZ6f/tZYlt4CYLcUYCUKdgkZD6OGrJVLdeYHWMECo6+aW7cp/lGowyiAh8iy 7e3FqwvWleNc6EPaFX4XQWkasLOTssEjL44IP7JOge1NFNnBdtFFkssd8VmYLcdIECXj DtnSkmKmSHaKu1yYG8ym35jBKBGgOW2vXXn9u39M44XtOgi/bO/be1Ci42yLidZZQWsP 3R+M1xDOeCuPyFQa8EC1TcY9GP5hNovJL96FNvEmqrpRRmF/EGzfyGI4ZAoG7WQASXTo OQww== 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=AuEGJUms4FpbMvBvn9+AyfmVDw66oMUAvRA7iYkVodw=; b=aK6p+cFzgQFASn17ObbfNoLw+UXV42TU8EBhEiNVQVs+IA8oq0Yj38sPl2JaL5QyH9 8CaRnp0UVMaci5/nKLXoX2SBjhhv2KG1QrqYEVoq/cRdqh02s1t3hpBLpNte1j7s8/Dx Ijgk2H6QRrcCw57iNoI9eoZYVg3k11OBrFPhLdbDA6M2qHnQOfpli/d1Y19HFICAJSmZ pU/hR/OyvZIyRA8nfEAwWpsw01h1p5iR/QqJObIWjUX5b0QpkE/UjCxtAYw714VgqrTx 3wLL1s555ky9h1QL6XLMx0jYsZtct3JNFj+4RQQhg5FlmVqJJG2GeHAJRaii3DEHuVRc anVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=JkhC4nAU; 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 b17-20020a170903229100b001ab0c00aec4si2659232plh.482.2023.06.01.04.51.02; Thu, 01 Jun 2023 04:51:18 -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=JkhC4nAU; 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 S232963AbjFALLt (ORCPT + 99 others); Thu, 1 Jun 2023 07:11:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232681AbjFALLq (ORCPT ); Thu, 1 Jun 2023 07:11:46 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD92B12C; Thu, 1 Jun 2023 04:11:45 -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 351AsUim024716; Thu, 1 Jun 2023 11:11: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=AuEGJUms4FpbMvBvn9+AyfmVDw66oMUAvRA7iYkVodw=; b=JkhC4nAU7VUtRAKy+UVmeBC+RGjPFHRULJEaqcWSvWRysHK8i9Z6j7O9o9ubex0M5fFY Jr4w8OG/U0zxHI4eNWi7TRlq+n9I5Hxh4KD2qCa56vIIBj2sSzV42sL41m29QofoKRq3 /mFj6ZnonPQI83YYcRjkbi1LZBwICdXMuFTDwHIknj8uLRDA8y9cAW5iU4h1NkaG2aMU kA2f0wKnaS+q4j6leoGjYZmG42h+gBeFok0EwGaHOV6ajqVbvAQrNIHhv86iyJCwCH7A ypT0AvfHgBDfBt/VwwduJLj9c6eWq+izUu4o+9DjGGhATdeCXBv73Uod18rYmmcxk/Yt ng== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qx81xae7s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jun 2023 11:11:36 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 351BBXkM010992; Thu, 1 Jun 2023 11:11:33 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3quaxm8j24-1; Thu, 01 Jun 2023 11:11:33 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 351BBX1x010983; Thu, 1 Jun 2023 11:11:33 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 351BBWJm010978; Thu, 01 Jun 2023 11:11:33 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 3DF47529754; Thu, 1 Jun 2023 16:41:32 +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 v5 1/3] dt-bindings: mmc: sdhci-msm: Document the QDU1000/QRU1000 compatible Date: Thu, 1 Jun 2023 16:41:26 +0530 Message-Id: <20230601111128.19562-2-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230601111128.19562-1-quic_kbajaj@quicinc.com> References: <20230601111128.19562-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: fxoDagp3OmZfz90KG5DVOJniF3Pyi61U X-Proofpoint-ORIG-GUID: fxoDagp3OmZfz90KG5DVOJniF3Pyi61U 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-06-01_06,2023-05-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 phishscore=0 spamscore=0 mlxlogscore=872 malwarescore=0 adultscore=0 bulkscore=0 impostorscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306010098 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767500969717792208?= X-GMAIL-MSGID: =?utf-8?q?1767500969717792208?= Document the compatible for SDHCI on QDU1000 and QRU1000 SoCs. Acked-by: Conor Dooley Reviewed-by: Bhupesh Sharma Signed-off-by: Komal Bajaj --- Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml index 4f2d9e8127dd..af29d60ff0d6 100644 --- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml +++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml @@ -39,6 +39,7 @@ properties: - qcom,ipq9574-sdhci - qcom,qcm2290-sdhci - qcom,qcs404-sdhci + - qcom,qdu1000-sdhci - qcom,sc7180-sdhci - qcom,sc7280-sdhci - qcom,sdm630-sdhci From patchwork Thu Jun 1 11:11:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 101893 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp245718vqr; Thu, 1 Jun 2023 04:37:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7RP4+K+lTAHFpn365uqeiROdUio4e0CLIlSjP8IhniIp7luMTpiNe/yFYIRwCKCyOkMWIp X-Received: by 2002:a05:6358:4186:b0:125:800e:3105 with SMTP id w6-20020a056358418600b00125800e3105mr6800005rwc.3.1685619468728; Thu, 01 Jun 2023 04:37:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685619468; cv=none; d=google.com; s=arc-20160816; b=czlSssuvszxz3+OIGQrG7qMwgc7ndGuLFJXmyZEwMnOCTWXviMK+gbyQLQqW4lbg9G swISMyp70bNetnIbBAdit1qVgdjj0UItN37YdwAdxmnmNZC9fnamzmvJCvtdHD3wZ5Ct OkmpauytEWt2XqJlo9j74RVNAI/BmK1jxco7Rjc4WYg8+Kpn3kymL2HwNjX3I5VaWO4I Aa8qC8Vgo9ZGIkEuhoOO0LxKdTTaKM/jCprN4E7pPOmqwdR/HqO4xm7FAyp82pRP+Zip Yu5tZXCYr+YzwLtE7F4vTuCWk5UEzFZvGwuK4z+obKTBR+3laaSBQBT9K+bVKhrJaZzI rXBA== 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=JSVKNIhJ2iKnu3N/mqkg5gIjyrdJymi5WNa2TCKavpw=; b=DfG/BAhEW/fM2reU87nJtlIGCRmAaI2SFO7W7C2c93ScsOPiOYl3XeCV2hSoyYj9D9 yEkEo8a6wp/uEbg5VDo88TmspddxdU5wUS1vDwocc4SOlnVx48qzMSzGupTTgC4ce+Lj nQ4ASpYvOombM48WC+bWJ4s8ipGR59GeKl7up53SM5ARvYcvF4/jtd/zvSmCgqkjbuEg 54HaMSuLJFUA4s+996k4VpaTZ7w+TFGkg6yYOQZZP9mP1IvddDJ+1CVohEF0POzpkn1D kilOzSPJTjF8Lsk/mQMZc5Kk1y8pnVHP68b0FEAwsK9PxqHdrpSIzuNALksXxkVHYujq o2Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=FwE8tcjI; 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 q18-20020a638c52000000b005346be4ead7si2688624pgn.766.2023.06.01.04.37.27; Thu, 01 Jun 2023 04:37:48 -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=FwE8tcjI; 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 S233139AbjFALLv (ORCPT + 99 others); Thu, 1 Jun 2023 07:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231761AbjFALLt (ORCPT ); Thu, 1 Jun 2023 07:11:49 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7838011F; Thu, 1 Jun 2023 04:11:47 -0700 (PDT) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3516HGi2019079; Thu, 1 Jun 2023 11:11:37 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=JSVKNIhJ2iKnu3N/mqkg5gIjyrdJymi5WNa2TCKavpw=; b=FwE8tcjIKJo5mqYuLws0dGedyg0Cqa42BGBT4SfOb1uMRWkjnamKMGpfCEQfVNJsIIR2 TujBfmCt46ad6POL92NIzZTRagcleOYTvoUdMIBH5KQpwH1MkcC6MDvoPc8kG4dVGam8 3rQjigHL5V4JvFivqMhIei106fikCIRSd8dFz724+XSu6tbpsgw0tbVThfxWDOuB7X/x AxJsLkadl40dIKNDS76sfQ+78+ei/dCpo71bIDBAJSAAL5GazQZFBtThkE4zEec1wRTu tUY2v8cu1NlRypHYXXxo8D2lIrWR6rjV4E5QgX2EidgiYf78gD/pFQVZU7KlG+zFxqAt mg== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qxnwv0mp4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jun 2023 11:11:37 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 351BBWYU010976; Thu, 1 Jun 2023 11:11:34 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3quaxm8j2c-1; Thu, 01 Jun 2023 11:11:34 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 351BBYhD010999; Thu, 1 Jun 2023 11:11:34 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 351BBY8O010997; Thu, 01 Jun 2023 11:11:34 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 7623E529754; Thu, 1 Jun 2023 16:41:33 +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 v5 2/3] arm64: dts: qcom: qdu1000: Add SDHCI node Date: Thu, 1 Jun 2023 16:41:27 +0530 Message-Id: <20230601111128.19562-3-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230601111128.19562-1-quic_kbajaj@quicinc.com> References: <20230601111128.19562-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: MrennsNwHtg3WxCorMxDn9ATzkytudpF X-Proofpoint-ORIG-GUID: MrennsNwHtg3WxCorMxDn9ATzkytudpF 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-06-01_07,2023-05-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 suspectscore=0 bulkscore=0 clxscore=1015 malwarescore=0 impostorscore=0 mlxscore=0 mlxlogscore=925 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306010098 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767500119603353536?= X-GMAIL-MSGID: =?utf-8?q?1767500119603353536?= Add sdhc node for eMMC on QDU1000 and QRU1000 SoCs. Also add required pins for SDHCI, so that the interface can work reliably. Reviewed-by: Konrad Dybcio Signed-off-by: Komal Bajaj --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 97 +++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index 734438113bba..9f615f3368c2 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -842,6 +842,53 @@ #hwlock-cells = <1>; }; + sdhc: mmc@8804000 { + compatible = "qcom,qdu1000-sdhci", "qcom,sdhci-msm-v5"; + reg = <0x0 0x08804000 0x0 0x1000>, + <0x0 0x08805000 0x0 0x1000>; + reg-names = "hc", "cqhci"; + + interrupts = , + ; + interrupt-names = "hc_irq", "pwr_irq"; + + clocks = <&gcc GCC_SDCC5_AHB_CLK>, + <&gcc GCC_SDCC5_APPS_CLK>, + <&rpmhcc RPMH_CXO_CLK>; + clock-names = "iface", + "core", + "xo"; + + resets = <&gcc GCC_SDCC5_BCR>; + + interconnects = <&system_noc MASTER_SDCC_1 0 &mc_virt SLAVE_EBI1 0>, + <&gem_noc MASTER_APPSS_PROC 0 &system_noc SLAVE_SDCC_2 0>; + interconnect-names = "sdhc-ddr", "cpu-sdhc"; + power-domains = <&rpmhpd QDU1000_CX>; + operating-points-v2 = <&sdhc1_opp_table>; + + iommus = <&apps_smmu 0x80 0x0>; + dma-coherent; + + bus-width = <8>; + + qcom,dll-config = <0x0007642c>; + qcom,ddr-config = <0x80040868>; + + status = "disabled"; + + sdhc1_opp_table: opp-table { + compatible = "operating-points-v2"; + + opp-384000000 { + opp-hz = /bits/ 64 <384000000>; + required-opps = <&rpmhpd_opp_nom>; + opp-peak-kBps = <6528000 1652800>; + opp-avg-kBps = <400000 0>; + }; + }; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,qdu1000-pdc", "qcom,pdc"; reg = <0x0 0xb220000 0x0 0x30000>, <0x0 0x174000f0 0x0 0x64>; @@ -1100,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 { From patchwork Thu Jun 1 11:11:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 101892 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp235504vqr; Thu, 1 Jun 2023 04:23:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4+0yYWwLw1gF0yjMdCWBXbwS7Y+0N+Rv0v3bIU8+EaqZ//LXLfoR6TZnuBHTLkj3P//GrX X-Received: by 2002:a17:903:120f:b0:1ab:11c8:777a with SMTP id l15-20020a170903120f00b001ab11c8777amr9173765plh.13.1685618633533; Thu, 01 Jun 2023 04:23:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685618633; cv=none; d=google.com; s=arc-20160816; b=e5kKX/vUwCGITdiwh6WHJGBTwD6S7Y1dl8ho9S6ubfj/XOwB1kq60j2HeTrVNga0Tg E6us+zQX/rxcQw+nttB+KT/ppWlZ5oz+4aaAYwPq++y5W0sMXAfY+FeoErudjnf/WWwm xCLjrKB6bh1a9FN5WVAtx4HaO/IG2Dmx5DhmMzTXHKNDPq3LjR2Jy2duFBwaTCmVhw8h 0wiT6aiZGvprh/MaRa2yyOFEPfOImWNTOeVCyzKdu+oBxxQkNoXBJrTzc1lpylmOm/py TbXkcyXcA/xuCFpoyEdpDDk5FDhk4AYC3Syrfo0fWFiD61/zFXLNAvLnhbHl8rDz/Mnr eWPg== 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=TpzYBEAOx+InJ//ZQQdUH9uFx1dfSk078zNEE1i9QLE=; b=RA50oqlIGRrfnuJI1Nk9PA6M/dnN5755xzvXKaajoeabYPTFA8BC+X63EV4J9WlAt/ y448VqHyoh4fX6v7Js0y3vfrLF1H6jZKji5fhKuuKD+MqQIl3TQdb33cYDbcNQrthiA+ F/Ga5AMLZoZoAlAQoTr/fujKTPinCodS5ewVBm+G+RpYwTbiYD0011jtdEBp6P5gt1dC vhOQpNhWjmLkNFSBVUj3vNNSTb2Y8oCjnLKgkW+uyRc+TsRGQcaKejy1OITOC7Pfkhk/ gmjgpAVouuyJqVmN7x9zYy7bYkcQW+ohgGU05DlH8Ea3XfTcf3j5qz3xdqohHRMVSJBo gL1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=GVoatkA9; 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 n11-20020a170902d2cb00b001ab23ced2d2si1282053plc.613.2023.06.01.04.23.38; Thu, 01 Jun 2023 04:23:53 -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=GVoatkA9; 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 S231970AbjFALLz (ORCPT + 99 others); Thu, 1 Jun 2023 07:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233016AbjFALLt (ORCPT ); Thu, 1 Jun 2023 07:11:49 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6208912C; Thu, 1 Jun 2023 04:11:48 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 351ALkBw007387; Thu, 1 Jun 2023 11:11:39 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=TpzYBEAOx+InJ//ZQQdUH9uFx1dfSk078zNEE1i9QLE=; b=GVoatkA9x3+XsSYXoBKjj0Qi4aA49ZJWcXfs0/Y8JIG/JTaUvHZNW73Mr2yhozDu68q0 Ocfr2lBNfrGiQl1ruV4H9cX3N/yHDv0EIX2htlpoQcxnTSLDpydJ+/sxnWJ1v8e4qH47 NxL0gt36lK0kX1yDGSiOTTR4aKobl37HNtYea8Uq+1xc79nUSDZ7lt8pGxjeK9+tvLuh EWhDO4cspSMG0wtWwM8T6Jz4jBmIbnX1He2gVe/IG48XZgy3VL7qNAeAjNjpbOjj4QRb pi/QCpeoF6uGRI8Pg/Dz4oswFTKaAgLr9bep/8FbPXg0w/lMEm6x+l9PIac8JZ+0z9b1 lQ== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3qxs9gr49e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Jun 2023 11:11:39 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 351BBXkN010992; Thu, 1 Jun 2023 11:11:36 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3quaxm8j2k-1; Thu, 01 Jun 2023 11:11:36 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 351BBZdk011015; Thu, 1 Jun 2023 11:11:35 GMT Received: from hu-maiyas-hyd.qualcomm.com (hu-kbajaj-hyd.qualcomm.com [10.147.247.189]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 351BBZOj011013; Thu, 01 Jun 2023 11:11:35 +0000 Received: by hu-maiyas-hyd.qualcomm.com (Postfix, from userid 2340697) id 17A83529754; Thu, 1 Jun 2023 16:41:35 +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 v5 3/3] arm64: dts: qcom: qdu1000-idp: add SDHCI for emmc Date: Thu, 1 Jun 2023 16:41:28 +0530 Message-Id: <20230601111128.19562-4-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230601111128.19562-1-quic_kbajaj@quicinc.com> References: <20230601111128.19562-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-ORIG-GUID: 5eyfrhMrhOBKLvHbAI1GSBlL9t3Isfju X-Proofpoint-GUID: 5eyfrhMrhOBKLvHbAI1GSBlL9t3Isfju 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-06-01_07,2023-05-31_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 spamscore=0 priorityscore=1501 malwarescore=0 bulkscore=0 adultscore=0 phishscore=0 lowpriorityscore=0 mlxlogscore=824 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2306010098 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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767499244302202322?= X-GMAIL-MSGID: =?utf-8?q?1767499244302202322?= Add sdhci node for emmc in qdu1000-idp. Reviewed-by: Konrad Dybcio Signed-off-by: Komal Bajaj --- arch/arm64/boot/dts/qcom/qdu1000-idp.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts index 9e9fd4b8023e..1d22f87fd238 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000-idp.dts +++ b/arch/arm64/boot/dts/qcom/qdu1000-idp.dts @@ -448,6 +448,29 @@ status = "okay"; }; +&sdhc { + pinctrl-0 = <&sdc_on_state>; + pinctrl-1 = <&sdc_off_state>; + pinctrl-names = "default", "sleep"; + + cap-mmc-hw-reset; + mmc-ddr-1_8v; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + mmc-hs400-enhanced-strobe; + + non-removable; + no-sd; + no-sdio; + + supports-cqe; + + vmmc-supply = <&vreg_l10a_2p95>; + vqmmc-supply = <&vreg_l7a_1p8>; + + status = "okay"; +}; + &uart7 { status = "okay"; };