From patchwork Thu Oct 17 02:53:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Deng X-Patchwork-Id: 836202 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E16F3B182; Thu, 17 Oct 2024 02:53:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729133606; cv=none; b=OUsIHPDQR00bgH5YbA4gARqi2MG5bV0/nA/SpdEG/Towqmj9PZbdc4sZvZXho2ZojLxa1CLNRIRr5TCp1E2o6uKjwS8vgrTeWy3JggOWlppRaOSychtgDBUiehm96N4Xvo8CBIexdODwkiMUKdcLM4xsWIdaQLrETgNdBzcGlTQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729133606; c=relaxed/simple; bh=pCe+DRIqGojD1uxTS6li3Le9i7pO/VfTLpy+qPqO2PA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=LBC57iSdJkL6menbPIl2mapw9CeXnykGoexC7kueEl6ZmS7PTX4sAvQFDXYBD9s4MqxzgdGdTX3yOgl/nP87IShBsYQREnBF+bMjzah1+py8PT4Lru3TRUgJ9JHRjpPty/5/UUNnE4SPVsYucA3Gtq2sFdeEHY1E/mVRzx2iuzw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=Ni8FYcvK; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="Ni8FYcvK" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49H0MrSM009999; Thu, 17 Oct 2024 02:53:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=Xy5WGyq1hpi TsN1rkSEAnzQ6a9t0/AnqroWcj7P+7rw=; b=Ni8FYcvKNLMxNVJGmFI1JfoVypn XbRvFoUF7/tzz7dWx4uqu4071zmsnwkcKaTTAe1qn2HJMaXVaKLsEbncG+WsimY9 LpNk3n+rCA35B07upcXoiwiRPE7s0ggfDXAUF/CguP5f/v4nZ7NTVlUfiSTTT7M+ aY8+oA/2qN1il4hLFbLAQsdSVWeAbEwbuYc59txqej8FWWtIezh/PjMoHNN7kyoY JYzd3zkYpgsdlC0cN8vmQ/gaQ2YRhzqCMmQfviaVaoGa95NkWjbMyRcvrC2Ouo8w 4daCIOMmJ/geP0XKmFScKj4hp8yqxMx1lnrTkdWU9B+7SlZIkc8+KZXv7fQ== Received: from aptaippmta02.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com [103.229.16.4]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42ar050a3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:21 +0000 (GMT) Received: from pps.filterd (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 49H2rIu1023693; Thu, 17 Oct 2024 02:53:18 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 427j6kxfhk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:18 +0000 Received: from APTAIPPMTA02.qualcomm.com (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 49H2rI3O023677; Thu, 17 Oct 2024 02:53:18 GMT Received: from chunkaid-gv.ap.qualcomm.com (chunkaid-gv.qualcomm.com [10.64.66.109]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 49H2rH5C023674 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:18 +0000 Received: by chunkaid-gv.ap.qualcomm.com (Postfix, from userid 4533072) id 69C0A21C89; Thu, 17 Oct 2024 10:53:16 +0800 (CST) From: Kyle Deng To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, quic_sudeepgo@quicinc.com, quic_taozhan@quicinc.com, quic_jiegan@quicinc.com, Kyle Deng Subject: [PATCH 2/3] dt-bindings: aoss: qcom: Document the qcs615 AOSS_QMP Date: Thu, 17 Oct 2024 10:53:12 +0800 Message-Id: <20241017025313.2028120-3-quic_chunkaid@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017025313.2028120-1-quic_chunkaid@quicinc.com> References: <20241017025313.2028120-1-quic_chunkaid@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: yuqc6Uo4QIlMs8zcy3AyLQp1NZuICvOT X-Proofpoint-ORIG-GUID: yuqc6Uo4QIlMs8zcy3AyLQp1NZuICvOT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=925 clxscore=1011 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410170019 Document the Always-On Subsystem Qualcomm Message Potocol(AOSS_QMP) on the Qualcomm qcs615 platform. Signed-off-by: Kyle Deng --- Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml index 7afdb60edb22..ee3414a77e38 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.yaml @@ -25,6 +25,7 @@ properties: compatible: items: - enum: + - qcom,qcs615-aoss-qmp - qcom,qdu1000-aoss-qmp - qcom,sa8775p-aoss-qmp - qcom,sc7180-aoss-qmp From patchwork Thu Oct 17 02:53:13 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Deng X-Patchwork-Id: 836201 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CD02C7DA6C; Thu, 17 Oct 2024 02:53:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729133609; cv=none; b=Aglh5kZGBnkhRf5ZMCdkyRaZ2Y3vZuE0ZtFIQsab7xuHPy3i2OiiVy/sF80gV7uEmEwK1fOsvSIuVfUAkXr8CnYFwlaK4cW6K4RZQP+gDN264reBc0Afjo4tRxpEHX46sKGkgnkJ74rmdJM2v8VQSQI0mglc0I4UcCKXSR9vWJo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729133609; c=relaxed/simple; bh=+dGH/HpYMfOnmBBWg90LH3mU7k/mHLl6NWin9j0RgDw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=OmZH8C1oQGcRof4AtrUrzUPavCohaD2T5n8/268ONOsyF3lbsaENVrXxb9f5xtP1cjIl6+2pgUvrABCElaBf0GehGd5QrLFQxyDBTOFD1KBFVFaX+m3qfCSZTzsGlJZP6CZ+PkPdnBaKVIq0h9Ch99BvlASqBS9jsBJnY/K0Y74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=a4DSrky7; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="a4DSrky7" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49GKU1Ep011278; Thu, 17 Oct 2024 02:53:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=XPNKO+JYOb0 NtvNLl4EykAcIODz7uJBHj+pQnQevEPk=; b=a4DSrky7prUv4RG7jjJWgAomsx8 Dhgq9AgBycQvWoUsSEmLVy+NdVVHQySoIaNdf3/0XQ7AiJTK/2WHCNDdnuGQW0Rs WTNxPRkP2IYb6MZ3mZnKWBAODnDbu17zR0RsMonirFmtt0DHx6bjCAXcx2TowXij eEVsS/zOfz9Y7jGRITvy42xXlcYOV3SFgULydmUh6kd2hENcZR1o2A2ni7sABq35 VLoATF0tFKBDyQaXSrE6NHoPqaKMPbA964CwhidUPh1gAh+KEaGM78Mv8MgOl+zX OVxZifZQ9mQ8vJNWXhRU3Du0iyi481hwbc82ZhJQ/tLiFXI8qV9RcDiVGVw== Received: from aptaippmta02.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com [103.229.16.4]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42abm5jgug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:21 +0000 (GMT) Received: from pps.filterd (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 49H2rIwu023692; Thu, 17 Oct 2024 02:53:18 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 427j6kxfhj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:18 +0000 Received: from APTAIPPMTA02.qualcomm.com (APTAIPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 49H2rI0m023678; Thu, 17 Oct 2024 02:53:18 GMT Received: from chunkaid-gv.ap.qualcomm.com (chunkaid-gv.qualcomm.com [10.64.66.109]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 49H2rHJU023675 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 17 Oct 2024 02:53:18 +0000 Received: by chunkaid-gv.ap.qualcomm.com (Postfix, from userid 4533072) id 6EB5B2206C; Thu, 17 Oct 2024 10:53:16 +0800 (CST) From: Kyle Deng To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_tingweiz@quicinc.com, quic_aiquny@quicinc.com, quic_sudeepgo@quicinc.com, quic_taozhan@quicinc.com, quic_jiegan@quicinc.com, Kyle Deng Subject: [PATCH 3/3] arm64: dts: qcom: qcs615: add AOSS_QMP node Date: Thu, 17 Oct 2024 10:53:13 +0800 Message-Id: <20241017025313.2028120-4-quic_chunkaid@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241017025313.2028120-1-quic_chunkaid@quicinc.com> References: <20241017025313.2028120-1-quic_chunkaid@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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: bQbRSCm1ht4rvObHDS7-2N78jBEeUzjX X-Proofpoint-GUID: bQbRSCm1ht4rvObHDS7-2N78jBEeUzjX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 clxscore=1015 impostorscore=0 mlxscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 spamscore=0 mlxlogscore=713 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410170020 Add the Always-On Subsystem Qualcomm Message Potocol(AOSS_QMP) node for QCS615 SoC. The AOSS_QMP enables the system to send and receive messages on the SoC and uses the same hardware version as sdm845. Signed-off-by: Kyle Deng --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index ac4c4c751da1..a36debf36f82 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -512,6 +512,16 @@ pdc: interrupt-controller@b220000 { interrupt-controller; }; + aoss_qmp: power-controller@c300000 { + compatible = "qcom,qcs615-aoss-qmp", "qcom,aoss-qmp"; + reg = <0x0 0x0c300000 0x0 0x400>; + interrupts = ; + mboxes = <&apss_shared 0>; + + #clock-cells = <0>; + #power-domain-cells = <1>; + }; + sram@c3f0000 { compatible = "qcom,rpmh-stats"; reg = <0x0 0x0c3f0000 0x0 0x400>; @@ -528,6 +538,13 @@ intc: interrupt-controller@17a00000 { redistributor-stride = <0x0 0x20000>; }; + apss_shared: mailbox@17c00000 { + compatible = "qcom,qcs615-apss-shared", + "qcom,sdm845-apss-shared"; + reg = <0x0 0x17c00000 0x0 0x1000>; + #mbox-cells = <1>; + }; + watchdog: watchdog@17c10000 { compatible = "qcom,apss-wdt-qcs615", "qcom,kpss-wdt"; reg = <0x0 0x17c10000 0x0 0x1000>;