From patchwork Fri Oct 18 07:34:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Deng X-Patchwork-Id: 836771 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 8AD6D18858C; Fri, 18 Oct 2024 07:34:27 +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=1729236869; cv=none; b=H1MWw9vfZFs6WBzb+EelkmtGGeHFSwpwoCk8HSd9QYy/w5ecTHHnHMpZvNTlON7ZcPLWPEyAAO7wBOMPebRbY5QD72QEZ1bdSFbbfL5x3p45qOHl+dIjACMftHFWMfPYJAoyDT0K9dNjixv8V0XNoGM39QQynXKZXO8syKcUCCE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729236869; c=relaxed/simple; bh=AnLIugQj/7QaFvKbV6Ooub9oCgGaxNze0/2tCLQ1A+4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XVMeISIX/iz8//E5aFemTFnTIFkd07i+mluxPo6KV2/lffGr5qlyQ/1IhsRbP6VZRCdE171q8Hz9klzPGSQmZ33qWO+ilXSOSHfvwC56NMUaTcMlE05oQNGBNHkjQ0jbL95K67g+y/LoIH0Kb/QqaO71e8uKlQ7wzok15SedEZc= 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=lZzLMneo; 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="lZzLMneo" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49HHZZm0001759; Fri, 18 Oct 2024 07:34:24 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=6G12s0iokKS 9A6JKdn0VB5jZ+BbiblWqw1R2exL2bsU=; b=lZzLMneooo6+XwHYBXn0nQ0N3jV KNGzJgwnEZi49Hw7mSnU+vouX8AbWPj1cblsIoZsTyXUd0VcEccx9gSnOWsLY4iT EwQdmjlKAiIe17yFhRegoHxhXC/6InM7Incfor+49rtwcBh9SeZxPNbKm6mz8g+9 ZICUxlzxIN8B2em6vGYjGvo9L3ybWMNjtoqbcxpU7GcVcyRZJKaGeOJBgDW5coIb cHlEyoUwYbHX/GAmuWMk63Uv/GZEF4klXbu9fc0Dq6Sbk1qP6TRhbs+wK9i4YZU6 Y+3XcHCzPPDvfgaW20mNjI3qFks8EcThi/gASyLPVD5L0E1UD+xv35WzyqQ== 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 42ajm5d9j7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:23 +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 49I7YLCw001446; Fri, 18 Oct 2024 07:34:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 427j6m3yja-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:21 +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 49I7YLVn001437; Fri, 18 Oct 2024 07:34:21 GMT Received: from chunkaid-gv.ap.qualcomm.com (chunkaid-gv.qualcomm.com [10.64.66.109]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 49I7YKbw001435 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:21 +0000 Received: by chunkaid-gv.ap.qualcomm.com (Postfix, from userid 4533072) id 4CCDB21C51; Fri, 18 Oct 2024 15:34:19 +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, Kyle Deng , Krzysztof Kozlowski Subject: [PATCH v2 2/3] dt-bindings: aoss: qcom: Document the qcs615 AOSS_QMP Date: Fri, 18 Oct 2024 15:34:16 +0800 Message-Id: <20241018073417.2338864-3-quic_chunkaid@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241018073417.2338864-1-quic_chunkaid@quicinc.com> References: <20241018073417.2338864-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: y5VeEXjel6U-H9stu2Kt1lcL9lF19KWC X-Proofpoint-ORIG-GUID: y5VeEXjel6U-H9stu2Kt1lcL9lF19KWC 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 adultscore=0 mlxlogscore=934 mlxscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 priorityscore=1501 spamscore=0 suspectscore=0 clxscore=1011 phishscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410180046 Document the Always-On Subsystem Qualcomm Message Protocol(AOSS_QMP) on the Qualcomm qcs615 platform. Reviewed-by: Krzysztof Kozlowski 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 Fri Oct 18 07:34:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kyle Deng X-Patchwork-Id: 836770 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 D5E8F189F57; Fri, 18 Oct 2024 07:34:28 +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=1729236870; cv=none; b=L3WfLBB0G/YSnSDEirr8sWck+DNheJy78xyVvKhEWOGQa2+MdBA31o1TKrFbiALnF2ZGP0qF18EfGQfS5IbLvO3RD+xsjVzyydwGaOPsggOYArFh7gYDVqFvAlIyz8duMchypNXRF9E0WqYAfmYWRgUttK94/66goqFUz0Bg4rw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729236870; c=relaxed/simple; bh=Sp6BRb6z97UF3k/PM3lcbtyZXgUlurGDHVzA5sHFpKQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ef73r/f/vJyOAsCcQWT4ysVrwJ/g1cK3U9pG5XUuIGDJXjdaVj1xA50i9Ix4+1K63wGVN/iBG5l8uyAGmrn+24DVtAQJYbAXOhlksDFg0qqH90L7hDPKpscyOgKJ/y9zTC6SiZYBjppheXpaozqsT/B8GodWfyvVfjSSkj1Dw7A= 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=B48VS0t0; 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="B48VS0t0" 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 49I5VHLc008326; Fri, 18 Oct 2024 07:34:25 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=3EZTDR8k5oY 4N7qcqlHaAd0AtLOkriPtF8jGFblgV1o=; b=B48VS0t0fhCJE65cU0hqA9YeEuq 9kWQ72YlFWgxiHHYr2Ek7cfGUbI2xDeWZgaZQLpCbGGCGosiP6fWeku7y1zdabWB JUdznUMzmUhmMxjkW4/sC6QAsvH36FXlNrbTP3cGlZHYmAGar/klXw/3Rz4I8EE6 v3gpziFGMVM7wWvZlrELhVMDioqSXAeinGkknoZqLA+M7oNxGbeMYGcatALMZTLc +PERWBFSLVUkz+1yXdv1lz2qsCLOg26921duu+76sROGs8xQGauiR39XNOLp9lBM ibFXCPqtG9B8WGdDsnuQhfZUN/6R04mmIkP2a9OIInfeJhKFTlyWiNpzfLA== 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 42b5hst76c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:24 +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 49I7YLCv001446; Fri, 18 Oct 2024 07:34:21 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 427j6m3yj9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:21 +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 49I7YLlv001436; Fri, 18 Oct 2024 07:34:21 GMT Received: from chunkaid-gv.ap.qualcomm.com (chunkaid-gv.qualcomm.com [10.64.66.109]) by APTAIPPMTA02.qualcomm.com (PPS) with ESMTPS id 49I7YKY8001434 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 18 Oct 2024 07:34:21 +0000 Received: by chunkaid-gv.ap.qualcomm.com (Postfix, from userid 4533072) id 5127321C63; Fri, 18 Oct 2024 15:34:19 +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, Kyle Deng Subject: [PATCH v2 3/3] arm64: dts: qcom: qcs615: add AOSS_QMP node Date: Fri, 18 Oct 2024 15:34:17 +0800 Message-Id: <20241018073417.2338864-4-quic_chunkaid@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241018073417.2338864-1-quic_chunkaid@quicinc.com> References: <20241018073417.2338864-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: 1-be_SzY6A6ofXDEoOSUI7pBKug_Tql8 X-Proofpoint-ORIG-GUID: 1-be_SzY6A6ofXDEoOSUI7pBKug_Tql8 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 clxscore=1015 impostorscore=0 mlxscore=0 malwarescore=0 mlxlogscore=696 spamscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 phishscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410180046 Add the Always-On Subsystem Qualcomm Message Protocol(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>;