Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp898182rwl; Thu, 5 Jan 2023 06:11:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXvzJvkpdFKmDTTTBL4xwqLvFRG1wqWKYMROmX33S1bRrx706jMuOzal+VuQkQTiGthKdh91 X-Received: by 2002:a05:6a20:d2c6:b0:af:8ca0:dd45 with SMTP id ir6-20020a056a20d2c600b000af8ca0dd45mr64181079pzb.41.1672927864334; Thu, 05 Jan 2023 06:11:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672927864; cv=none; d=google.com; s=arc-20160816; b=onWA4NkOwOiuKepFSSaR4KbNDNGVPpCJYGOleQLi/HZJKExHv7G4XVEECoZFAZs86I 7l4lUQvuL8X8ooNlOnHsu0cVhchz8I7BzZfj64qH99R4/ZT4EPtGBw+ohgDKQWjbm+tf YlTK4suuAM9Jho23N5I3YO1ejgbu6Rk4P9ULI781+EkrnkmRYI31DmJsw7ubx/5rDvWp 5minUvDY9HKmTS6tASqDHa57JmMg5uFMYkWh15yTsTvrkAr61uG9PE157wbtUC6C0MxO wH/1RXrgS7GtlqDrGQiH8E3wSaWun7L4xsqNHOTVFz89f7MnTOKzRKNxk45aTtQIF4J8 dlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=8uWaddw3nV6CQ3zMSnAtytADEtgBBHFY35tzfbut4S0=; b=Q2CoGClDsg3vGcQtTaBw7VMVZbzby6KVZ3T0YpdKWkgl33+/LgbYCeuKECnZ2YyNnr XGOQLTMj8QiW1wpsXQLOwciXCldsVLBzescGh0t5b2C2v/G1vLas5HZT89kuoczyt764 eKHhmrSuqEfOfVOIsXQ0poMAXQMUyXa4Apcgzxhdqm5TGMQWh8BfZIh/6RAE3kfY3nzm iHQhWzoUZhpJFdrSCLbfvmjwD0OBmJOk3geYYnv4AKYSZppCjUwSjG/mzGkoqcw1gidM i5PEEIRismOXBngKjXB3y5XHXZc/Z3VkBi9trHWYD0euQUnAx7gWj4fk0PIY7qGdoQhq PTyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bmHi43+r; 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 v10-20020a63150a000000b0049fa3a102ecsi17755371pgl.444.2023.01.05.06.10.56; Thu, 05 Jan 2023 06:11:04 -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=qcppdkim1 header.b=bmHi43+r; 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 S233266AbjAENis (ORCPT + 56 others); Thu, 5 Jan 2023 08:38:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232739AbjAENib (ORCPT ); Thu, 5 Jan 2023 08:38:31 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D2CFE012; Thu, 5 Jan 2023 05:38:30 -0800 (PST) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 305DZUrB015744; Thu, 5 Jan 2023 13:38:27 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 : mime-version : content-type; s=qcppdkim1; bh=8uWaddw3nV6CQ3zMSnAtytADEtgBBHFY35tzfbut4S0=; b=bmHi43+r/F+bFTNP4T2FBsPpYIuwsPJzYSXj/pqTVoEp75KlH2rykDG8i5h6LJ5u3ISk RioLTHrq1KxYd2Z78lPo7R6M2kYoPoBvjnxM6w8evxi3kwPB8MpDGMnMiKEtJ4/RrQQX K6razvffkGOqfHcjkBcnXFKNLYqYEclhtXlR7E/mvrN07N0jSd0LW2RD3cCZ9rOENc1o 4o3aHxXuMNl2kNVtzW+TiYwgZWZcLaURyGnNp+RzTyBy/EXBVH6OMqi0NUAeNHM/w9VC 4MPQJ0UzoLlsPGT6bMX2ghJU5RnDMbhZ0Lf1EUFY1rlGHxRk/HlaGhMRm7i/UzrzaHKM cA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mwpwnrytn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Jan 2023 13:38:27 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 305DcQw1020714 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 5 Jan 2023 13:38:26 GMT Received: from hu-srivasam-hyd.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.986.36; Thu, 5 Jan 2023 05:38:21 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v2 3/8] arm64: dts: qcom: sc7280: audioreach: Add lpass pil node Date: Thu, 5 Jan 2023 19:07:50 +0530 Message-ID: <1672925875-2107-4-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1672925875-2107-1-git-send-email-quic_srivasam@quicinc.com> References: <1672925875-2107-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: U6UtM5Dlbm2ffSEThnOzz6DwqUTTr3SK X-Proofpoint-GUID: U6UtM5Dlbm2ffSEThnOzz6DwqUTTr3SK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-05_04,2023-01-05_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 lowpriorityscore=0 phishscore=0 spamscore=0 malwarescore=0 priorityscore=1501 bulkscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301050107 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 Add lpass pil node for sc7280 based audioreach platforms. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 90 ++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 0adf133..f10a663 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -21,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -3436,6 +3438,94 @@ status = "disabled"; }; + remoteproc_adsp: remoteproc@3000000 { + compatible = "qcom,sc7280-adsp-pil"; + reg = <0 0x03000000 0 0x5000>, <0 0x0355b000 0 0x10>; + reg-names = "qdsp6ss_base", "lpass_efuse"; + + interrupts-extended = <&pdc 6 IRQ_TYPE_LEVEL_HIGH>, + <&adsp_smp2p_in 0 IRQ_TYPE_NONE>, + <&adsp_smp2p_in 1 IRQ_TYPE_NONE>, + <&adsp_smp2p_in 2 IRQ_TYPE_NONE>, + <&adsp_smp2p_in 3 IRQ_TYPE_NONE>, + <&adsp_smp2p_in 7 IRQ_TYPE_NONE>; + + interrupt-names = "wdog", "fatal", "ready", + "handover", "stop-ack", "shutdown-ack"; + + qcom,qmp = <&aoss_qmp>; + + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_CFG_NOC_LPASS_CLK>; + + clock-names = "xo", "gcc_cfg_noc_lpass"; + + iommus = <&apps_smmu 0x1800 0x0>; + + power-domains = <&rpmhpd SC7280_CX>; + power-domain-names = "cx"; + + required-opps = <&rpmhpd_opp_nom>; + + resets = <&pdc_reset PDC_AUDIO_SYNC_RESET>, + <&aoss_reset AOSS_CC_LPASS_RESTART>; + + reset-names = "pdc_sync", "cc_lpass"; + qcom,halt-regs = <&tcsr_1 0x3000 0x5000 0x8000 0x13000>; + + memory-region = <&adsp_mem>; + + qcom,smem-states = <&adsp_smp2p_out 0>; + qcom,smem-state-names = "stop"; + + glink-edge { + interrupts-extended = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP + IRQ_TYPE_EDGE_RISING>; + + mboxes = <&ipcc IPCC_CLIENT_LPASS + IPCC_MPROC_SIGNAL_GLINK_QMP>; + + label = "lpass"; + qcom,remote-pid = <2>; + + gpr { + compatible = "qcom,gpr"; + qcom,glink-channels = "adsp_apps"; + qcom,domain = ; + #address-cells = <1>; + #size-cells = <0>; + qcom,intents = <512 20>; + + q6apm: q6apm { + reg = ; + compatible = "qcom,q6apm"; + #sound-dai-cells = <0>; + q6apmdai: dais { + compatible = "qcom,q6apm-dais"; + #sound-dai-cells = <1>; + iommus = <&apps_smmu 0x1801 0x0>; + }; + + q6apmbedai: bedais { + compatible = "qcom,q6apm-lpass-dais"; + #sound-dai-cells = <1>; + }; + }; + + q6prm: q6prm { + reg = ; + compatible = "qcom,q6prm"; + #clock-cells = <2>; + q6prmcc: cc { + compatible = "qcom,q6prm-lpass-clocks"; + #clock-cells = <2>; + }; + }; + }; + }; + }; + remoteproc_wpss: remoteproc@8a00000 { compatible = "qcom,sc7280-wpss-pil"; reg = <0 0x08a00000 0 0x10000>; -- 2.7.4