Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp614214ybh; Tue, 21 Jul 2020 03:49:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiiZYYf0Q5yQ+veOkFSPy8Z3LSrFSdYOBACAPxiHa8449KVusjlHbEK0MIRDtIXYr3I/tN X-Received: by 2002:a17:906:b353:: with SMTP id cd19mr25321926ejb.395.1595328549795; Tue, 21 Jul 2020 03:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595328549; cv=none; d=google.com; s=arc-20160816; b=ZkWHkHZYxSCuARqhLSEvwroOgG6/Uc4Jz2oKK5mIr3yFG43cJlr9zhan+zNAApdn7k ug3dpVp5JxJy8khHN6CsgJLIDl4HQbbPWwxm4cYHcKkTFSjut7voccdD06VcN59RJ1oZ JNHdpwAaQM771M+zFJBGBCxB82WnkNZ22zaXP6KwaZsm21WPF9WMFcCFRHh2IKyoS4Ph 34Vm/DJSJLtNwA5P/tjGtxLcxibxTO4Ym+EnuMwIFUHYuzoh1eWYcfv8N6cYGJ95N5XG JPkxfKErOrQnRmxwc2/tD0a1aMfEofak8vXWhgR47pAT9jcpB1cHN3yut674y+T0k/XR 99+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=S5AuUMuq1etg8R1BdZRjCPRqsc3/qZhMr8skt68R9yE=; b=l3BpOGzPW2oSAin347wb+HD8IFY3aQdVP2cw5ktbXaaNNEc8otAfXZUAx0IEFslDZ6 tHKoj3TUasWBnwpz1rAFWBU4NKw8qzk/QV+0gsWWSYicg6gWIRNy+DanG2hlXIZAR5Q2 389TEVEGQNyuZuC85lfzzcmTFLI+9ivphGNnXNvrsXk1qcIoisNXe4uHbwz5jK2cOfq5 XcMKPQG8KF36oP7u4Lj4A/s0fjf5uka5aMpE7oQz416qXCBFJp7pG1AIyM7p5g/MBDDH 4AdUq2z4v1ZhL0X0yLmvGrQyARpyVeZG1PXtCC4IRQM3HRg2nbYkVxbVpOxoCUnjUj33 oqVw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g16si13525294ejf.492.2020.07.21.03.48.47; Tue, 21 Jul 2020 03:49:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729313AbgGUKqf (ORCPT + 99 others); Tue, 21 Jul 2020 06:46:35 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:40782 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbgGUKqf (ORCPT ); Tue, 21 Jul 2020 06:46:35 -0400 Received: from ironmsg08-lv.qualcomm.com ([10.47.202.152]) by alexa-out.qualcomm.com with ESMTP; 21 Jul 2020 03:46:35 -0700 Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg08-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 21 Jul 2020 03:46:33 -0700 Received: from c-sbhanu-linux.qualcomm.com ([10.242.50.201]) by ironmsg01-blr.qualcomm.com with ESMTP; 21 Jul 2020 16:16:28 +0530 Received: by c-sbhanu-linux.qualcomm.com (Postfix, from userid 2344807) id 33D9F3FFA; Tue, 21 Jul 2020 16:16:27 +0530 (IST) From: Shaik Sajida Bhanu To: adrian.hunter@intel.com, ulf.hansson@linaro.org, robh+dt@kernel.org, mka@chromium.org Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, rnayak@codeaurora.org, Pradeep P V K , Shaik Sajida Bhanu Subject: [PATCH V2] arm64: dts: qcom: sc7180: Add bandwidth votes for eMMC and SDcard Date: Tue, 21 Jul 2020 16:16:21 +0530 Message-Id: <1595328381-29552-1-git-send-email-sbhanu@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pradeep P V K Add the bandwidth domain supporting performance state and the corresponding OPP tables for the sdhc device on sc7180. Signed-off-by: Pradeep P V K Signed-off-by: Shaik Sajida Bhanu --- Changes since V1: - Incorporated review comments by Bjorn Andersson. --- arch/arm64/boot/dts/qcom/sc7180.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index 68f9894..d78a066 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -684,6 +684,9 @@ clocks = <&gcc GCC_SDCC1_APPS_CLK>, <&gcc GCC_SDCC1_AHB_CLK>; clock-names = "core", "iface"; + interconnects = <&aggre1_noc MASTER_EMMC &mc_virt SLAVE_EBI1>, + <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_EMMC_CFG>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; power-domains = <&rpmhpd SC7180_CX>; operating-points-v2 = <&sdhc1_opp_table>; @@ -704,11 +707,15 @@ opp-100000000 { opp-hz = /bits/ 64 <100000000>; required-opps = <&rpmhpd_opp_low_svs>; + opp-peak-kBps = <100000 100000>; + opp-avg-kBps = <100000 50000>; }; opp-384000000 { opp-hz = /bits/ 64 <384000000>; required-opps = <&rpmhpd_opp_svs_l1>; + opp-peak-kBps = <600000 900000>; + opp-avg-kBps = <261438 300000>; }; }; }; @@ -2476,6 +2483,10 @@ clocks = <&gcc GCC_SDCC2_APPS_CLK>, <&gcc GCC_SDCC2_AHB_CLK>; clock-names = "core", "iface"; + + interconnects = <&aggre1_noc MASTER_SDCC_2 &mc_virt SLAVE_EBI1>, + <&gem_noc MASTER_APPSS_PROC &config_noc SLAVE_SDCC_2>; + interconnect-names = "sdhc-ddr","cpu-sdhc"; power-domains = <&rpmhpd SC7180_CX>; operating-points-v2 = <&sdhc2_opp_table>; @@ -2489,11 +2500,15 @@ opp-100000000 { opp-hz = /bits/ 64 <100000000>; required-opps = <&rpmhpd_opp_low_svs>; + opp-peak-kBps = <160000 100000>; + opp-avg-kBps = <80000 50000>; }; opp-202000000 { opp-hz = /bits/ 64 <202000000>; required-opps = <&rpmhpd_opp_svs_l1>; + opp-peak-kBps = <200000 120000>; + opp-avg-kBps = <100000 60000>; }; }; }; -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation