From patchwork Mon Feb 14 04:34:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 542579 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D165EC4332F for ; Mon, 14 Feb 2022 04:34:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240333AbiBNEej (ORCPT ); Sun, 13 Feb 2022 23:34:39 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240325AbiBNEeh (ORCPT ); Sun, 13 Feb 2022 23:34:37 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 812AF4F9E2; Sun, 13 Feb 2022 20:34:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644813270; x=1676349270; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=/XTb3JNfm/poX2YWAD4/clsHJQq6pxlQIHEn7nyn4jQ=; b=laHQvKnFjd0hGv6dss6UZo7r7HqpXZmbGFSNMr7rbIzwRtKhmGMURFP8 XAbH2d3X/rqD7xNLeg0bbT0fl6NDU+ecRVq7EsCpPfnB0yTOnTLQ5ajfy 4TZaOafRp3hpwz5OsTJRUvL+In2YqKLlZaC8l5Pit7IkSkJhkYASyIRjM k=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-01.qualcomm.com with ESMTP; 13 Feb 2022 20:34:30 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 20:34:29 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sun, 13 Feb 2022 20:34:29 -0800 Received: from blr-ubuntu-87.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Sun, 13 Feb 2022 20:34:25 -0800 From: Sibi Sankar To: , CC: , , , , , , , , , , , , Sibi Sankar Subject: [PATCH 1/3] dt-bindings: remoteproc: qcom: Add interconnects property Date: Mon, 14 Feb 2022 10:04:10 +0530 Message-ID: <1644813252-12897-2-git-send-email-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644813252-12897-1-git-send-email-quic_sibis@quicinc.com> References: <1644813252-12897-1-git-send-email-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add interconnects property to support the bandwidth requirements during modem bootup on SC7280 SoCs. Signed-off-by: Sibi Sankar --- .../devicetree/bindings/remoteproc/qcom,q6v5.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt index 8f1507052afd..a533dfa7d62c 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt +++ b/Documentation/devicetree/bindings/remoteproc/qcom,q6v5.txt @@ -183,6 +183,29 @@ For the compatible string below the following supplies are required: qcom,sdm845-mss-pil: must be "cx", "mx", "mss" +- interconnects: + Usage: required + Value type: + Definition: reference to the source and destination nodes of the interconnect paths + that match the interconnect-names. See also interconnect/interconnect.txt + +- interconnect-names: + Usage: required + Value type: + Definition: The interconnects needed depend on the compatible string: + qcom,ipq8074-wcss-pil: + qcom,qcs404-wcss-pil: + qcom,q6v5-pil: + qcom,msm8916-mss-pil: + qcom,msm8974-mss-pil: + qcom,msm8996-mss-pil: + qcom,msm8998-mss-pil: + qcom,sc7180-mss-pil: + qcom,sdm845-mss-pil: + no interconnect names required + qcom,sc7280-mss-pil: + must be "imem" + - qcom,qmp: Usage: optional Value type: From patchwork Mon Feb 14 04:34:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 542578 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EC80C43219 for ; Mon, 14 Feb 2022 04:34:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240359AbiBNEes (ORCPT ); Sun, 13 Feb 2022 23:34:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240325AbiBNEeq (ORCPT ); Sun, 13 Feb 2022 23:34:46 -0500 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F5E84F9E2; Sun, 13 Feb 2022 20:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644813279; x=1676349279; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=cSePlPNTpraDZxiTZCa2kEXSzll8wYh3v7kuLzFsIb0=; b=fKNI3Pdn7wDZRH9d+V8WqyWwb3Xr2fMIFC3N4+T2yc8OUT3NwGHAjQgO g3kKYHsXZfzQb2pZ4wAbfYt+tQFGc36aTSk388hZKytCDBi+SYEkSMXAj 0Hl840G29AzpMoWd28AP3wcaPGVsHbyPpOBZDKMLil95QHma8a+casvbF o=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 13 Feb 2022 20:34:39 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 20:34:38 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Sun, 13 Feb 2022 20:34:38 -0800 Received: from blr-ubuntu-87.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Sun, 13 Feb 2022 20:34:34 -0800 From: Sibi Sankar To: , CC: , , , , , , , , , , , , Sibi Sankar Subject: [PATCH 3/3] arm64: dts: qcom: sc7280: Add proxy interconnect requirements for modem Date: Mon, 14 Feb 2022 10:04:12 +0530 Message-ID: <1644813252-12897-4-git-send-email-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644813252-12897-1-git-send-email-quic_sibis@quicinc.com> References: <1644813252-12897-1-git-send-email-quic_sibis@quicinc.com> MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add interconnects that are required to be proxy voted upon during modem bootup on SC7280 SoCs. Signed-off-by: Sibi Sankar --- arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi index 9f4a9c263c35..1969f4cf59fe 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-chrome-common.dtsi @@ -89,6 +89,8 @@ compatible = "qcom,sc7280-mss-pil"; iommus = <&apps_smmu 0x124 0x0>, <&apps_smmu 0x488 0x7>; memory-region = <&mba_mem>, <&mpss_mem>; + interconnects = <&mc_virt MASTER_LLCC 0 &mc_virt SLAVE_EBI1 0>; + interconnect-names = "imem"; }; /* Increase the size from 2.5MB to 8MB */