From patchwork Wed Aug 14 07:28:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13762965 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 8B49713D51E; Wed, 14 Aug 2024 07:28:38 +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=1723620521; cv=none; b=GDww+kpmYIuL7P+498fXwwjLiN1KTgrx1chj1Dbx4jfGnG4xNP68DaP68ZzpM+RXwZgWdSObqeErbutjglJp8UFSQ418EBjqpdKHJ+kAlQQkpZSJo2Rmu6xZjy/yGa6G+uMy9iCjGoAOTIxAjHQqMki5qdEpN98kikKhXm4m2Xo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723620521; c=relaxed/simple; bh=YDSnzxhBXO5WjVXbrO4QKFVkLDBLDEb3W2FsYi0afq8=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=BoDYnvd7tGVhobe7D/CWFIevA6MJyzB6or86QhtFooA19d1nWwzCiUmrS9vt2WBh4lS6kG1h/MpD3Nfooc+4X7GN9R8g45/71lpUzWR29wKXRqmMQbT0OCMqcOI1rBL7Fc0+IrBNCPapJCwP7W9/jXodezh4XMk7b8DyoLLrI7E= 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=HUisjCY1; 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=quicinc.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="HUisjCY1" Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47DNAUh3026141; Wed, 14 Aug 2024 07:28:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Rxhu+LNKykDQep3hlwz7tnW5aDEfsGyZ089N0Sxe+Ic=; b=HUisjCY1grQ9xFVi DSqbY8tcohxFPZuzGLOalzmsjzJzKT36kzCBCU80uDNcCRdva+y1uBuknaFrAzCS Or7fSt6gcETsqWmKXC91rADM7px3F71DUVyNuY5WV6Bmo0SJSImABHk82BGZltJP mOGKudjuE9hDb0lYRVP9xWRREissO8T+nzUqBlMcKF219YAl41ZzECVcaJeEwJ1s MrI408HfManCkvMKKknp5IKnw64k9idMOZ0EFwqG8D7ZC9AtQ7qghXyGs+m/Sh1t TmnhTIHTqlSo8piv5MSfYn0LNK3DpWn/S9NhH1OJSQTLlOTDPmFjolYnib7hHEw2 BE5h2Q== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 40x18y2cqg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:34 +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 47E7SXHX030706 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:33 GMT Received: from jingyw-gv.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; Wed, 14 Aug 2024 00:28:30 -0700 From: Jingyi Wang To: , , , , , , , , , CC: Subject: [PATCH 1/3] dt-bindings: arm: qcom: document QCS8275/QCS8300 SoC and reference board Date: Wed, 14 Aug 2024 15:28:04 +0800 Message-ID: <20240814072806.4107079-2-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240814072806.4107079-1-quic_jingyw@quicinc.com> References: <20240814072806.4107079-1-quic_jingyw@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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: SkPVDKkiR8-nd16OYfjir_r-gQM8gDLB X-Proofpoint-ORIG-GUID: SkPVDKkiR8-nd16OYfjir_r-gQM8gDLB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-14_04,2024-08-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 impostorscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408140051 Document the QCS8275/QCS8300 SoC and its reference board QCS8300 RIDE. QCS8300 is an Industrial Safe SoC, while QCS8275 is the Industrial Non-Safe version which can share the same SoC dtsi and board DTS. Signed-off-by: Jingyi Wang --- Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index f08e13b61172..3952e1579767 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -42,6 +42,8 @@ description: | msm8996 msm8998 qcs404 + qcs8275 + qcs8300 qcs8550 qcm2290 qcm6490 @@ -884,6 +886,12 @@ properties: - const: qcom,qcs404-evb - const: qcom,qcs404 + - items: + - enum: + - qcom,qcs8300-ride + - const: qcom,qcs8275 + - const: qcom,qcs8300 + - items: - enum: - qcom,sa8155p-adp From patchwork Wed Aug 14 07:28:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13762966 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 A750713AD18; Wed, 14 Aug 2024 07:28:46 +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=1723620528; cv=none; b=bcNfZHRY0BICpThLTSiuD30S8SnCV+gnHYPUJCNm4KUP4xcdOLP3R3xQ/1W9ET6AOdKClweYhlHXODK7Q19rmdgOdHXLPU0HOmBRqm+CZuKWn9JQ/Zx1+5pFdeT8VEy70F9jn7mj7tceqfwSE56zYRc+8nrhb2YDSRCdsqjANWM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723620528; c=relaxed/simple; bh=nmZGLopCO+aDMgdb4k053+q3mxa7aGM1oArYZBgpi1E=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E0UkOF9iZsfY3gcJwBDxzJJxSUdBUup1LNASzpYmUzXMd0Qb81rko2qCOBbswxkUEOnT7wydgrJsMiVrcGe6rkdPpsiGZ5sFWbnf2XnKViJU+Wp+c9zSXEET7Q/LfY0tsmQHXHcPJAiAlXQAl/0KqdstAdCxdLMK41cuLNT5Z7Y= 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=RXNChrrY; 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="RXNChrrY" 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 47E2hwPp021416; Wed, 14 Aug 2024 07:28:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 5b9yj+KsNZqov/JDe9PNJrN4JcMt+pHCxZZPJ83oefA=; b=RXNChrrYkB94Pd4b SZsQImob18efCRa97FH7p9VAWYuZNcmvIeO4dDNRbxNpIxxK0hZpYSJD9hTQAtMy HI2lZY62dj0F8ptVFJgkf1xh8nQsp7h7X98rmiMcqDYQm3XpVpPYzO1PtFmZt4xr O9Nk+euZvpP3goynK2TvB8kalbLVi4t3OnJyqVezxB8z51F7IKMd1YB0z86dyQfu NufvanIfnTxbv1cOD5AMLbFk+mlF5SPs8dgZnX7GNi+Dd5BlALI1VYE/vi6j4AZQ b9zjFHbdajIEDm1K1BJIFGDua19B0xr96w1uhI2kyAXhpb/5VML31r1C2rxkZZXg as9Drw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 410m290jkc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:38 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA03.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47E7SaoK013350 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:36 GMT Received: from jingyw-gv.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; Wed, 14 Aug 2024 00:28:33 -0700 From: Jingyi Wang To: , , , , , , , , , CC: Subject: [PATCH 2/3] dt-bindings: arm: qcom,ids: add SoC ID for QCS8275/QCS8300 Date: Wed, 14 Aug 2024 15:28:05 +0800 Message-ID: <20240814072806.4107079-3-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240814072806.4107079-1-quic_jingyw@quicinc.com> References: <20240814072806.4107079-1-quic_jingyw@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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: h98bdik0PjV415Q1ihM_z-16SaXvUmzV X-Proofpoint-ORIG-GUID: h98bdik0PjV415Q1ihM_z-16SaXvUmzV X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-14_04,2024-08-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 clxscore=1015 spamscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 adultscore=0 impostorscore=0 phishscore=0 malwarescore=0 mlxlogscore=651 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408140051 Add the ID for Qualcomm QCS8275/QCS8300 SoC. Signed-off-by: Jingyi Wang Acked-by: Krzysztof Kozlowski --- include/dt-bindings/arm/qcom,ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dt-bindings/arm/qcom,ids.h b/include/dt-bindings/arm/qcom,ids.h index d6c9e9472121..a213f6244c5d 100644 --- a/include/dt-bindings/arm/qcom,ids.h +++ b/include/dt-bindings/arm/qcom,ids.h @@ -274,6 +274,8 @@ #define QCOM_ID_QCM8550 604 #define QCOM_ID_IPQ5300 624 #define QCOM_ID_IPQ5321 650 +#define QCOM_ID_QCS8300 674 +#define QCOM_ID_QCS8275 675 /* * The board type and revision information, used by Qualcomm bootloaders and From patchwork Wed Aug 14 07:28:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingyi Wang X-Patchwork-Id: 13762967 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 8699D1411F9; Wed, 14 Aug 2024 07:28:48 +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=1723620529; cv=none; b=jTiWF0ZV7/k8LNKYCP8O6lN3ROLFEgFch0pQ2dh9sevbqRopahA3QWn/IWYxZPps1P/ywvV/E3YTG/aCePUgzwjHiP1MGY7I3WmoUgiM8nnSqRPMwyugn5eKvWGpCQaRmgE5ebI4kaKZLvZLUOBO9LKJQk2cGa7kAqgKmvA/05Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723620529; c=relaxed/simple; bh=k7H+V99ClMNVyOSzmIwwjYTpVivhVzBGO82VCoBbG8c=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=d09YvgPcDX+nqqaP7aw65xco7G1zTAvTB9Trt8E5HSlxZysZJmwnAtnnr0qBz8vUlKvcI+y38CxIRmiZW286V+NJ2vtjjZNq0b/lWruX0w2JiQrPWravEBzF4i+eS/T8KhlTFV44r9epKhjjUEekQkHoDiZNMT5xqe64H7xe1BY= 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=g9FBZ8Id; 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="g9FBZ8Id" Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 47DNFbab032035; Wed, 14 Aug 2024 07:28:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= wRvCtGbXCq4qw4ucQ3hOaVXaafB9WOcxdSoagFcK+V0=; b=g9FBZ8IdwRB6OAQa zA0Es9y4FniKiVDNT5+pxjlsYa0scsIVDjDgVUxQlTdV9k5VXLWUnogZ5ZF1ceAT /DwM6pOALuhGlhteugrFqnK8oCJ6VVZCE6du1srdme1O74c7nfPA7DQ/H0T8HezN 9lGppYveQPok8jKXy+y6gRcTrzXiGQkRTq3/KLHA+WfJ/4gdFVZDO0UQSAkwMRKz F2r1NAs8j1xJa4aMVnzqg4Y9sQoWt8JA0GqfSkcitRb0K+1JuEQmhqXnI7HNP3+5 SzUinNM5X1n32EpvmqJ0/elgS+hyBDwElRSPWvAK02RE6LHj9/rCcBqtvE32QdQ3 AN57BQ== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 40x168242s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:40 +0000 (GMT) Received: from nalasex01b.na.qualcomm.com (nalasex01b.na.qualcomm.com [10.47.209.197]) by NALASPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTPS id 47E7SdUb022235 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Aug 2024 07:28:39 GMT Received: from jingyw-gv.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; Wed, 14 Aug 2024 00:28:36 -0700 From: Jingyi Wang To: , , , , , , , , , CC: Subject: [PATCH 3/3] soc: qcom: socinfo: add QCS8275/QCS8300 SoC ID Date: Wed, 14 Aug 2024 15:28:06 +0800 Message-ID: <20240814072806.4107079-4-quic_jingyw@quicinc.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240814072806.4107079-1-quic_jingyw@quicinc.com> References: <20240814072806.4107079-1-quic_jingyw@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: nasanex01a.na.qualcomm.com (10.52.223.231) 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: _dcS9wdbxsxsbs0TKUNTzgaN37vLLQaf X-Proofpoint-ORIG-GUID: _dcS9wdbxsxsbs0TKUNTzgaN37vLLQaf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-08-14_04,2024-08-13_02,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 clxscore=1015 suspectscore=0 mlxlogscore=789 impostorscore=0 malwarescore=0 spamscore=0 mlxscore=0 priorityscore=1501 phishscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408140051 Add SoC ID for Qualcomm QCS8275/QCS8300. Signed-off-by: Jingyi Wang --- drivers/soc/qcom/socinfo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/qcom/socinfo.c b/drivers/soc/qcom/socinfo.c index d7359a235e3c..3ba29412b9ba 100644 --- a/drivers/soc/qcom/socinfo.c +++ b/drivers/soc/qcom/socinfo.c @@ -441,6 +441,8 @@ static const struct soc_id soc_id[] = { { qcom_board_id(QCM8550) }, { qcom_board_id(IPQ5300) }, { qcom_board_id(IPQ5321) }, + { qcom_board_id(QCS8300) }, + { qcom_board_id(QCS8275) }, }; static const char *socinfo_machine(struct device *dev, unsigned int id)