From patchwork Wed Jul 19 10:01:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 704439 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7200CC001DE for ; Wed, 19 Jul 2023 10:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229872AbjGSKDO (ORCPT ); Wed, 19 Jul 2023 06:03:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbjGSKCq (ORCPT ); Wed, 19 Jul 2023 06:02:46 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B69E11FFD; Wed, 19 Jul 2023 03:02:25 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J9SiVU017345; Wed, 19 Jul 2023 10:02:22 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=hSd4Ow+y93zMawxiVY1gKG8QqqlGIQLEqLqUFsCLh2U=; b=pd22jMjnOPHclOFTU0oJk3KTYBC8SSTzxscJqHRYRZkwkGzcO5p8tGv7nFlX88ldRuJX Pe7iAwppq0rvrULZ76uQMhHm+ZuVqaynZzdxQWQPNXYhhlby/hTtlQQtJBxJMQeKKNbt bGq42XItnYCTxqTr1v6CFqNGf/pXXoq2Ie2Td4qrKSLToxMEKwFMRuf7g4Ey+Mbip2ZA 1u/VksD3LPOfoTUEiBtz4Cfaqu5htxaLbjx0XAVejOypggbz9E7oNWJ2xISI084JgXu6 NU9w0+FxTlr8o+rjcHmpBv4ezzYuBPBBe/PLaME6tPf3scBSOV12SmAOQoOyl0MIp/Zv lg== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rxd7ur1xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:22 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36JA2LRh030497 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:21 GMT Received: from tengfan2-gv.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.1118.30; Wed, 19 Jul 2023 03:02:17 -0700 From: Tengfei Fan To: , , , , CC: , , , , , , , , , Tengfei Fan Subject: [PATCH 2/5] arm64: dts: qcom: Add base SM4450 QRD DTS Date: Wed, 19 Jul 2023 18:01:32 +0800 Message-ID: <20230719100135.21325-3-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230719100135.21325-1-quic_tengfan@quicinc.com> References: <20230719100135.21325-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 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-GUID: 9Brk5xmEm1oyd_RBl-uorvbuBjqs7Ae9 X-Proofpoint-ORIG-GUID: 9Brk5xmEm1oyd_RBl-uorvbuBjqs7Ae9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_06,2023-07-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 malwarescore=0 bulkscore=0 adultscore=0 suspectscore=0 mlxlogscore=734 lowpriorityscore=0 mlxscore=0 clxscore=1015 impostorscore=0 priorityscore=1501 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190091 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add DTS for Qualcomm QRD platform which uses SM4450 SoC. Signed-off-by: Tengfei Fan --- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm4450-qrd.dts | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm4450-qrd.dts diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 337abc4ceb17..a0cfd37e674b 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -215,3 +215,4 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8450-sony-xperia-nagara-pdx223.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8450-sony-xperia-nagara-pdx224.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8550-qrd.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb diff --git a/arch/arm64/boot/dts/qcom/sm4450-qrd.dts b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts new file mode 100644 index 000000000000..851a6761a6ea --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm4450-qrd.dts @@ -0,0 +1,18 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "sm4450.dtsi" +/ { + model = "Qualcomm Technologies, Inc. SM4450 QRD"; + compatible = "qcom,sm4450-qrd", "qcom,sm4450"; + + aliases { }; + + chosen { + bootargs = " "; + }; +}; From patchwork Wed Jul 19 10:01:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 704440 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B6CDC001B0 for ; Wed, 19 Jul 2023 10:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbjGSKDN (ORCPT ); Wed, 19 Jul 2023 06:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230181AbjGSKCr (ORCPT ); Wed, 19 Jul 2023 06:02:47 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB63B2107; Wed, 19 Jul 2023 03:02:28 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36J8tNTn021057; Wed, 19 Jul 2023 10:02:26 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=5/ApStGvgnOxGJw3hniKCl38+3BpIQDN1KMdf7pR3mY=; b=mDFKvqX26OGJ6JogKn6uZc/3yqD8BtnVtGKzRWHKoivvQgqYRk235RA4dBBXA9Tl1Yuj UaLXv+K+U9FsarzqOElljjgmw16UrRm7UtxY03CBqZ8eUMFS/hyziP5iWm7xuNvFTZES Ni/MVCGxzrUy31KULec5hiulRZOKUvJMzyF+z7e3EZa5J6nSeFshb4jsabARt7DhVbmA ND0SQ7Rt7/KqnSLQHdPW70tsMkmDtnb7f5BFI7QUZXjsO+ddvZu1ypBUycpHSf/VaZme fsQajMNnqONjWUZxUQ2ajy2y/gi3Ni5nnyCqWn2MC++TEJ5e818CRcaYGMd7SharDqYS kw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rx7rngp8h-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:25 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36JA2OnV030588 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:24 GMT Received: from tengfan2-gv.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.1118.30; Wed, 19 Jul 2023 03:02:21 -0700 From: Tengfei Fan To: , , , , CC: , , , , , , , , , Tengfei Fan Subject: [PATCH 3/5] dt-bindings: firmware: scm: Add SM4450 Date: Wed, 19 Jul 2023 18:01:33 +0800 Message-ID: <20230719100135.21325-4-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230719100135.21325-1-quic_tengfan@quicinc.com> References: <20230719100135.21325-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 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-GUID: EsKXYAYAEuwcyMNl6j9yKVYkyBmHGn-M X-Proofpoint-ORIG-GUID: EsKXYAYAEuwcyMNl6j9yKVYkyBmHGn-M X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_06,2023-07-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 priorityscore=1501 mlxscore=0 clxscore=1015 suspectscore=0 mlxlogscore=859 impostorscore=0 phishscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190091 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add compatible for SM4450 SoCs. Signed-off-by: Tengfei Fan --- 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 bdbee58a542b..f02f0815bece 100644 --- a/Documentation/devicetree/bindings/firmware/qcom,scm.yaml +++ b/Documentation/devicetree/bindings/firmware/qcom,scm.yaml @@ -62,6 +62,7 @@ properties: - qcom,scm-sm8450 - qcom,scm-sm8550 - qcom,scm-qcs404 + - qcom,scm-sm4450 - const: qcom,scm clocks: From patchwork Wed Jul 19 10:01:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 704438 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC6EAC04E69 for ; Wed, 19 Jul 2023 10:03:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229939AbjGSKDP (ORCPT ); Wed, 19 Jul 2023 06:03:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230215AbjGSKCr (ORCPT ); Wed, 19 Jul 2023 06:02:47 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A73C1BFD; Wed, 19 Jul 2023 03:02:32 -0700 (PDT) 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 36J8q5qE009863; Wed, 19 Jul 2023 10:02:29 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=9mPrde1MK8ASk2U2Jtc3lAsNos6EsoZaCALu1Vh2Mtk=; b=HziCr+d5whlF93rX9PfyRpXqbBcO0g+jCp5YH42CrKZzdke0GdNglSQo+33EXJs4KOSx rRqv4Oool8yBaT7Bi42q2lqNBbRMngpHV0JNWBFYHK5OAn8u8m3iE8K36aztcyJ6/81Y NOc5i3s5as0cXtQmNI8pY4O4FFY/qiBoXxHcpwOCOAv4OoV2trs+s12bk/m4xoyt8XO3 eX1v7paPUQ0UCygy//LWeXt+HF0WRX2Vh8fnNjyk1RClbddqlOhvV5EbsHA5U68RU3q8 mT3bDypo7QoIbkaZDxrx1JbtqanEQIz1dzKM5hLa6oGnjDNbHZtAut24OerobFEO+xFs NA== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rx1h398nq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:28 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36JA2S20006347 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 10:02:28 GMT Received: from tengfan2-gv.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.1118.30; Wed, 19 Jul 2023 03:02:24 -0700 From: Tengfei Fan To: , , , , CC: , , , , , , , , , Tengfei Fan Subject: [PATCH 4/5] dt-bindings: arm: qcom: Document SM4450 SoC and boards Date: Wed, 19 Jul 2023 18:01:34 +0800 Message-ID: <20230719100135.21325-5-quic_tengfan@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230719100135.21325-1-quic_tengfan@quicinc.com> References: <20230719100135.21325-1-quic_tengfan@quicinc.com> MIME-Version: 1.0 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-GUID: c43TtkqI3meLn3THrn_1CzZKCA8ddsUg X-Proofpoint-ORIG-GUID: c43TtkqI3meLn3THrn_1CzZKCA8ddsUg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_06,2023-07-18_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 spamscore=0 malwarescore=0 bulkscore=0 suspectscore=0 clxscore=1015 mlxscore=0 mlxlogscore=809 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190091 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Document the SM8450 SoC binding and also the boards using it. Signed-off-by: Tengfei Fan --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 450f616774e0..691e66612872 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -83,6 +83,7 @@ description: | sm8350 sm8450 sm8550 + sm4450 The 'board' element must be one of the following strings: @@ -976,6 +977,11 @@ properties: - qcom,sm8550-qrd - const: qcom,sm8550 + - items: + - enum: + - qcom,sm4450-qrd + - const: qcom,sm4450 + # Board compatibles go above qcom,msm-id: