Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2083669pxp; Thu, 10 Mar 2022 19:29:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJwwdurbBoql87mEWc4DDhzB+C9wUMExCNVvWkTDIyhKuv6U+8HDWsokNGHg9VgExHdhtaDD X-Received: by 2002:a17:902:7fc1:b0:151:f80f:494a with SMTP id t1-20020a1709027fc100b00151f80f494amr8331768plb.81.1646969357876; Thu, 10 Mar 2022 19:29:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646969357; cv=none; d=google.com; s=arc-20160816; b=ik6YdFwakD66awFUYCTSz1rldGBZUCbmZEiYn/k3ng3V8SuKwP8umV5jYMwd+LHzu7 12/BxdXKfkH6hIeH3OHcXGwd1QCVsvmO4zMyI7BI/0/8dc/pAypM/4WxhuyPU0TkkBWp KokZanbUXqJwMftFa4wblwb4Zpo72yZaHlUtU0aAIK8TWQQpsQLjJWLZgIhxLElRBovr oaqVxDD7Q5qv2uJKz3jePtI0V0nvynSqjLtwEGgfzcYqtacsSuBRBUEtPdaAg+V3zjzm 5Tp5uvLdABwGP73dz+JFPCAhFN0fS2jhMpYIqbHyiMqPXQcAezeEw6FFZZzKMsbWM/g+ rBxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=YF2MjvNRHP7HzoRLkPlFoND+9ZHy/RpbA3JxeI0ULBI=; b=a8P4Csvrtn0ISQ2efOmU5XaRe4v7n3OYUBTmpp6E9gxzyLROBK3lbgZCMX72NX0DUE fmuM2Ec6218KGXjtxc4zxhYuBawpNs/3JUnAWaMjnGOilcAOvwoVplO2SWTY0CBvT1tu lWK8mxHpwmZryhIqKLRWNymIBwpbU4TeZpRLSyGkIBYv0R4JPkfbglaUyL7e/VPjE0e+ vLyzhiNfiAh4mBUx8iEJCd7+xULt2enQ711W2c8lTr/F63k3IBpmcVm1esCzSjEIRyqh bkYW0fQ7uhXGmgP4Lt4RHhTHF/M5pUMaC6kvyVNnYGG8uaWNnRVsKQ1Ud7IGRuoJdak+ RxLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=vC8fMdTh; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b9-20020a056a000cc900b004f6feec0d70si7304683pfv.75.2022.03.10.19.29.01; Thu, 10 Mar 2022 19:29:17 -0800 (PST) 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=qcdkim header.b=vC8fMdTh; 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 S244483AbiCJO4S (ORCPT + 99 others); Thu, 10 Mar 2022 09:56:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347027AbiCJOu1 (ORCPT ); Thu, 10 Mar 2022 09:50:27 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACC4118CC74; Thu, 10 Mar 2022 06:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1646923529; x=1678459529; h=from:to:cc:subject:date:message-id; bh=YF2MjvNRHP7HzoRLkPlFoND+9ZHy/RpbA3JxeI0ULBI=; b=vC8fMdThiyEjzGOTdkI+nSTpv9bQyv2GoygVM6PPp4wVsjvhm2QeGWwm Xp3ZF5blX4ziQ+ChCZfsZThe2/uU/HkovzuGXSHUCNgOzCxdYHiHCnwit VC30Xtl/rBUFRojxpiQv1HodpdwiJe4Fx9GX+5J5xXW5c3b1ksTirO4jo M=; Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 10 Mar 2022 06:45:27 -0800 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 10 Mar 2022 06:45:25 -0800 X-QCInternal: smtphost Received: from c-sbhanu-linux.qualcomm.com ([10.242.50.201]) by ironmsg01-blr.qualcomm.com with ESMTP; 10 Mar 2022 20:15:06 +0530 Received: by c-sbhanu-linux.qualcomm.com (Postfix, from userid 2344807) id 3ED0F5913; Thu, 10 Mar 2022 20:15:05 +0530 (IST) From: Shaik Sajida Bhanu To: krzk+dt@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_asutoshd@quicinc.com, quic_rampraka@quicinc.com, quic_pragalla@quicinc.com, quic_sartgarg@quicinc.com, quic_nitirawa@quicinc.com, quic_sayalil@quicinc.com, Shaik Sajida Bhanu Subject: [PATCH V2] arm64: dts: qcom: sc7280: Enable gcc HW reset Date: Thu, 10 Mar 2022 20:15:03 +0530 Message-Id: <1646923503-28847-1-git-send-email-quic_c_sbhanu@quicinc.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Enable gcc HW reset for eMMC and SD card. Signed-off-by: Shaik Sajida Bhanu --- Changes since V1: - Updated commit message, subject and comments in dtsi file as suggested by Krzysztof Kozlowski. --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index c07765d..721abf5 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -881,6 +881,9 @@ mmc-hs400-1_8v; mmc-hs400-enhanced-strobe; + /* Add gcc hw reset dt entry for eMMC */ + resets = <&gcc GCC_SDCC1_BCR>; + reset-names = "core_reset"; sdhc1_opp_table: opp-table { compatible = "operating-points-v2"; @@ -2686,6 +2689,9 @@ qcom,dll-config = <0x0007642c>; + /* Add gcc hw reset dt entry for SD card */ + resets = <&gcc GCC_SDCC2_BCR>; + reset-names = "core_reset"; sdhc2_opp_table: opp-table { compatible = "operating-points-v2"; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation