From patchwork Fri Oct 25 03:07:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qingqing Zhou X-Patchwork-Id: 13849962 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 DF79EC8DF; Fri, 25 Oct 2024 03:08:22 +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=1729825704; cv=none; b=BbSiFQxwL1864zWL/TGjKHYDFQ5nx/L5uyMV3vl1o3ktFAiYD6j7Hpvs1AhLwZMzpb8ljOakIaWfejpBvCGDpQAI4i+o7yrzSCxtaliwCtr3xoHIwKk7fN+EZEIqNEelRLXrzEEdZkAxpyca7m47syo6XEigWqNWPaW7wrOeHDw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729825704; c=relaxed/simple; bh=Egjc8NHxJzN1bS6lXlCYWHNwh3S5xbMi+N50oid7zsI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Zo8EsZjw/2/QUpj0OHm0d2I6ea7ZohSifhEw5r/dVUvVYqgaCGsIbkZ+KjgsNw5+PvevsN1TuCot0YgdJHd4a9kbm0EqtOAcCewsKarzxkunZKVqSiaFpYLd11kpje2OngfKneFS7MwX1WxbHthIyplsX+AUHEdr+/RbKIO5Tgk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=LfQVUnKX; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="LfQVUnKX" 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 49OM4jEM025435; Fri, 25 Oct 2024 03:08:13 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=oMKJcqbkWLg4bpUmlxbTtWZ/ M/XakWU6eNht5HpBcGw=; b=LfQVUnKXUsLDDUP7G9Hl73dpxq7hw1LK8jRhC+UK mtLu7bcIpd5aFbUPhVHIfxjpAI9Z02/tYwEuscczBMXrs79vG3pOM+K2b/TEraqu AyZBhYwy6UaZq4nKZvbMq3feCgkTKl+bjd/11XdoUosgaGSJVkKdbb5wub5wkDXf qrvESKNo4T9+zr6n+MVTkiCVBWnLPcEU3Bpn9qjMdKraeCijIKR4UWg9fxB0htq+ 2x9+rToB5JU3pYJ5zNQy3y1AsnWfGBDeiSwcBzRwAtUy35Ua6Yo9OBCYgJQFwZT0 xcvfaFUFS/QnAe1fWkVI7KbN3JqQmmnFMKle3I8Zip3GUg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42em40fjew-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:12 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA02.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49P38CcQ017837 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:12 GMT Received: from hu-qqzhou-sha.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 24 Oct 2024 20:08:08 -0700 From: Qingqing Zhou To: , , , , , , , , CC: , , , , Qingqing Zhou Subject: [PATCH v3 1/4] dt-bindings: firmware: qcom,scm: document QCS615 SCM Date: Fri, 25 Oct 2024 08:37:29 +0530 Message-ID: <20241025030732.29743-2-quic_qqzhou@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241025030732.29743-1-quic_qqzhou@quicinc.com> References: <20241025030732.29743-1-quic_qqzhou@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: JZEvr6sHenYkBHDIeq_6Z7TdAHU-Ix2U X-Proofpoint-GUID: JZEvr6sHenYkBHDIeq_6Z7TdAHU-Ix2U 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 priorityscore=1501 mlxscore=0 impostorscore=0 spamscore=0 phishscore=0 mlxlogscore=999 lowpriorityscore=0 clxscore=1015 malwarescore=0 bulkscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410250021 Add the compatible for Qualcomm QCS615 SCM. Acked-by: Krzysztof Kozlowski Signed-off-by: Qingqing Zhou --- Documentation/devicetree/bindings/firmware/qcom,scm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml index 2cc83771d8e7..2a94d02f11a1 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -42,6 +42,7 @@ properties: - qcom,scm-msm8996 - qcom,scm-msm8998 - qcom,scm-qcm2290 + - qcom,scm-qcs615 - qcom,scm-qdu1000 - qcom,scm-sa8775p - qcom,scm-sc7180 From patchwork Fri Oct 25 03:07:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qingqing Zhou X-Patchwork-Id: 13849964 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 3E2DE18A6AB; Fri, 25 Oct 2024 03:08:29 +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=1729825711; cv=none; b=fTnXMmndVjbTlecs1Pr3f8A34HVJvyMiOatVXjFSBk/DYpVJiNNeVCSpPNAvrS1TmMT7lYDVibx+3FHC41dFTtbIqUCt55BKYiiiSRhv3/TV/APcbV+g1MOV9p4GoS8rZoEW8aONEzNwPuKwSmogyho4eKNLECtWGcwIzFYW3ak= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729825711; c=relaxed/simple; bh=qoSJY5JdiDzbQ2AvSiCH06l7nAviyIfw6PdINqwhdEQ=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=UO2nRg5B3Kuumfch+W5N7aQ9tWJfK8V1nIpaqsgUYwgDQcbX+EPbEA/XohcZyZkL3IEW+URMDxbiqsuWzE58nWMoH9gG0f/PJ2xwQx1+9qMv5DkzJ7RbgL0Not1rSKWTkDsLlscgj04mSSzFWkcV/QvQvuodwKsn6htWDSbZUX4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=h3GCrFOk; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="h3GCrFOk" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49OJn7G9018657; Fri, 25 Oct 2024 03:08:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=Zux7h0zyMNTY6/mdoZyz2neb ql9hbQ8VSDiOTsQzjn4=; b=h3GCrFOkrOITbfK8P9k8M2afEHnqTyKvrKbX49CM zgfSyBsxPqLJcqZzBvEd5X5aVqw0gWZp5+Ysei2xsI80XmZuxF+PMA2RD9Z1xKxQ C+xuFKuNnMNC67o5GaGOyJGC+tdlwE0CxItprhs1PvV5FZAOQFS+cBIaAlShB3gJ io3Q4yQg1V9GEmxFFmbalrofN47kXoSkLxYCyLKLFp0I7FUJPpLMvjyvRm1RKM6C r604ISt6wip/p9N7x2d7TrxDt7N0LAvWZj7fy0EbI86tXHeJ9bht90E12OLVFQ+I mFsmefDnTs7gmk0hH6IkVpcd01o6mb9OzYeUGJ500HkxIA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42em66fkc4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:16 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49P38FTF000683 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:15 GMT Received: from hu-qqzhou-sha.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 24 Oct 2024 20:08:12 -0700 From: Qingqing Zhou To: , , , , , , , , CC: , , , , Qingqing Zhou Subject: [PATCH v3 2/4] dt-bindings: arm-smmu: document QCS615 APPS SMMU Date: Fri, 25 Oct 2024 08:37:30 +0530 Message-ID: <20241025030732.29743-3-quic_qqzhou@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241025030732.29743-1-quic_qqzhou@quicinc.com> References: <20241025030732.29743-1-quic_qqzhou@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 40ZaWAhGQNAVON7uZKqplvGXCKjmeD3G X-Proofpoint-GUID: 40ZaWAhGQNAVON7uZKqplvGXCKjmeD3G 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 lowpriorityscore=0 adultscore=0 phishscore=0 impostorscore=0 malwarescore=0 mlxlogscore=990 suspectscore=0 clxscore=1015 mlxscore=0 bulkscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410250021 Add the compatible for Qualcomm QCS615 APPS SMMU. Signed-off-by: Qingqing Zhou Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/arm,smmu.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml index 92d350b8e01a..d3093263d888 100644 --- a/Documentation/devicetree/bindings/iommu/arm,smmu.yaml +++ b/Documentation/devicetree/bindings/iommu/arm,smmu.yaml @@ -36,6 +36,7 @@ properties: items: - enum: - qcom,qcm2290-smmu-500 + - qcom,qcs615-smmu-500 - qcom,qcs8300-smmu-500 - qcom,qdu1000-smmu-500 - qcom,sa8255p-smmu-500 @@ -555,6 +556,7 @@ allOf: - cavium,smmu-v2 - marvell,ap806-smmu-500 - nvidia,smmu-500 + - qcom,qcs615-smmu-500 - qcom,qcs8300-smmu-500 - qcom,qdu1000-smmu-500 - qcom,sa8255p-smmu-500 From patchwork Fri Oct 25 03:07:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qingqing Zhou X-Patchwork-Id: 13849965 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 93C5518B478; Fri, 25 Oct 2024 03:08:29 +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=1729825711; cv=none; b=jW4t0bJ8DULYwCk+LNyp77Nr/yc4nMK+G4XyNStGEo6bxa7mYgrLCMiyohkZzPQJ7CaZERAlPQIDTI/0et6jG75bXTOQGpfvLdUT+o9zH63YiomWKMdXgdRb7KHuO8MGPUpgQLKg0OpdvlSMeSUevJZMkXT8/Q8NJ7IGOpMpfNE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729825711; c=relaxed/simple; bh=nC8FciNiN3Dfqy58CPUQXdpnt60YHZOVeQ/0YubqLHk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Hi0X8BHQAe0IH/+7xHW3doRxT9kjOJAwN+HG0B4Cl1soJpyVx1z6va0QH8o1EtVj1xO7o1bRqZ7kI8kJ++2fRyZoOAAZpf4/SYh0969GjTaJp7IEuj5b+j0efzVZlT14fAU5P2+XFJy6XHmUFvXCwhSDg+Ld7bQbI3dxi6MqtZ8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=jds/IBJq; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="jds/IBJq" 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 49OML7TT029391; Fri, 25 Oct 2024 03:08:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=8BtTNXkjvMiKVnqAsUXbO2J/ NsnCrNk4H2wTEClBxPQ=; b=jds/IBJqtKT9mT9YcIE/9lT8fm8ftUOQ+TZSVK1M UfeEdzaRAzfE/uQ1bmf2UdHbBRMB+RnhAJPbitBEfXD2R8gxsovAU11jS8fnFBLJ qCdzu79hrZxNkrRJ0djIILID1jfqPA3yEhVdTxgjUmysIWPEbKkcRTBum7DU/dFW xntXU7bmMzaQ1/12gpb+TCZMuC48OhfeG7etNEfwluhfncd6WgUkkkfkBF0B6kDz /5s7+XbIUkXkm+D+pidSiHcfvNQTJ4YZT/4A/tYvQjkGGZuGlU4vSHxMJ+/6q8LU FLxLaePCatpzvL/MGV2iCFQ9VMzOb1zqDmBZ5m3R2VlxoQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42em3w7kk5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:19 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA04.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49P38IFN000723 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:18 GMT Received: from hu-qqzhou-sha.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 24 Oct 2024 20:08:15 -0700 From: Qingqing Zhou To: , , , , , , , , CC: , , , , Qingqing Zhou Subject: [PATCH v3 3/4] arm64: dts: qcom: qcs615: add the SCM node Date: Fri, 25 Oct 2024 08:37:31 +0530 Message-ID: <20241025030732.29743-4-quic_qqzhou@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241025030732.29743-1-quic_qqzhou@quicinc.com> References: <20241025030732.29743-1-quic_qqzhou@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: W5pvat2RGPCSLT_ITu29nn1FqZIf17G9 X-Proofpoint-GUID: W5pvat2RGPCSLT_ITu29nn1FqZIf17G9 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=999 priorityscore=1501 impostorscore=0 bulkscore=0 lowpriorityscore=0 clxscore=1015 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410250021 Add the SCM node for QCS615 platform. It is an interface to communicate to the secure firmware. Signed-off-by: Qingqing Zhou Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index ac4c4c751da1..027c5125f36b 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -278,6 +278,13 @@ reg = <0 0x80000000 0 0>; }; + firmware { + scm { + compatible = "qcom,scm-qcs615", "qcom,scm"; + qcom,dload-mode = <&tcsr 0x13000>; + }; + }; + camnoc_virt: interconnect-0 { compatible = "qcom,qcs615-camnoc-virt"; #interconnect-cells = <2>; From patchwork Fri Oct 25 03:07:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qingqing Zhou X-Patchwork-Id: 13849966 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 4F67D18C02B; Fri, 25 Oct 2024 03:08:31 +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=1729825713; cv=none; b=dTt1fi210Zqwg0Ao9GugJceGp0dawJYgkhDWufkmJJdF07JXg1zaOQnrUN7tXMWXiaP5X+sYXrbr/0MC4KLabZss7y8eCEcH+Drx5GjgsNs4v/ARy6HCKvJ4++TT19Ir2FKmoVZ+h0xDTexzdV1Zwvi+0mbjLzWDj7IY6SCJasg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729825713; c=relaxed/simple; bh=xBVhLS8ccudZR83SIWr5rtlTCezJLDL18/V/SgcM5Hg=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=hpbw05qtsChsNG6ZlMprF9rxa6DQNaFtJt+heJQ3o3IvX5O4D9sAP9EsaUuK+cS9stFKBq+FN9Ig4ak7xUnYwMpXSoXdrD0mI5aUitSoMfqDEcX/Atb4jGBBeKz6z4sCxRBt/DsTwWs45P49Z3c0uiyXqtKVnjrW2C6xbCUpa+s= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=bbGmMDkj; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="bbGmMDkj" Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 49OCdQpd030075; Fri, 25 Oct 2024 03:08:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=qcppdkim1; bh=Fl7DnlkeftVt/F/qb/NMKWJj p9u5RdBk1HGzlJ3C2ec=; b=bbGmMDkjN26a7Je8VmP2ymIJt5s4PzuuqB6tdSZx B3TYEjizZKIpUFbX0AA5pkkwt84i5hNj32Omh5nOU3Y9Lq1lgr/qzoA0Y0M5gJ6a 8ykR+FIM4v8Vre0BAzpXgZrm5r2de+1KkGHqCA4+1nhB7z31o1VtA8D6XaVuMqKj NEo9UVVd/JfCTp5B0WoksvZimSHiQ6WfLZUDGO1Rf85SuFf/YyIM4mvKpXt/OtMM f+mLBvuFDCFO4lZ1+gXo45Pzu+1wmsW3LKTvQ0VsHBqGYkdAVnifAY7bD7naXciw yeBzkFxdpM1O+qXwW5JZc+tgKTviqREhdUw7OLsSQybFjA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42fdtxkdv2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:22 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA05.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 49P38MgW015748 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 25 Oct 2024 03:08:22 GMT Received: from hu-qqzhou-sha.qualcomm.com (10.80.80.8) by nalasex01b.na.qualcomm.com (10.47.209.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Thu, 24 Oct 2024 20:08:18 -0700 From: Qingqing Zhou To: , , , , , , , , CC: , , , , Qingqing Zhou Subject: [PATCH v3 4/4] arm64: dts: qcom: qcs615: add the APPS SMMU node Date: Fri, 25 Oct 2024 08:37:32 +0530 Message-ID: <20241025030732.29743-5-quic_qqzhou@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20241025030732.29743-1-quic_qqzhou@quicinc.com> References: <20241025030732.29743-1-quic_qqzhou@quicinc.com> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01b.na.qualcomm.com (10.47.209.197) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 7_3LxCE6kgMFMHYtFPnQkkqzS5UniubI X-Proofpoint-ORIG-GUID: 7_3LxCE6kgMFMHYtFPnQkkqzS5UniubI 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 mlxscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 mlxlogscore=811 priorityscore=1501 impostorscore=0 bulkscore=0 spamscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410250021 Add the APPS SMMU node for QCS615 platform. Add the dma-ranges to limit DMA address range to 36bit width to align with system architecture. Signed-off-by: Qingqing Zhou --- arch/arm64/boot/dts/qcom/qcs615.dtsi | 74 ++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi index 027c5125f36b..38428e4537b7 100644 --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi @@ -379,6 +379,7 @@ soc: soc@0 { compatible = "simple-bus"; ranges = <0 0 0 0 0x10 0>; + dma-ranges = <0 0 0 0 0x10 0>; #address-cells = <2>; #size-cells = <2>; @@ -524,6 +525,79 @@ reg = <0x0 0x0c3f0000 0x0 0x400>; }; + apps_smmu: iommu@15000000 { + compatible = "qcom,qcs615-smmu-500", "qcom,smmu-500", "arm,mmu-500"; + reg = <0x0 0x15000000 0x0 0x80000>; + #iommu-cells = <2>; + #global-interrupts = <1>; + + interrupts = , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + , + ; + }; + intc: interrupt-controller@17a00000 { compatible = "arm,gic-v3"; reg = <0x0 0x17a00000 0x0 0x10000>, /* GICD */