From patchwork Thu Aug 1 08:54:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tengfei Fan X-Patchwork-Id: 13749990 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DAA2BC52D6D for ; Thu, 1 Aug 2024 08:59:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=lCFv9W/1yqPkptOdArl+XrDedHPQMb/w80hiU9HehYc=; b=Vfr7wXhxbI7F3U f7iEl9LhwEQoyCn2zYjfjvIaVOzO0W5dtTuSDMmMlTe0DTqiEfJwN2qab1x3pt3yF+WPwN3wikdQi WRr20HVvPe4dOTZwv9h1oiAK3XmT0mRPRTu0RrrYzsqgbjAN/PPy78XpvkG+btD12X0r4n5yjtpvV +XoQgH5jpj28+oZ1GA+oJ4lEHu6yxZVqGsaVy12Zx/0yxX7vJgvcv07XD9pC9EL4XOxAt6LOwwm7t PNGlhCVdUABrX15c7GeoJhC8en2qdNc/wXS+PAbnVTd99TtExwscFEYXjAZ4wzvXmSW6zutS7CaaH YwckF3lUXzP2Kr54qhuw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZReD-00000004Rkp-2Zrk; Thu, 01 Aug 2024 08:58:57 +0000 Received: from mx0b-0031df01.pphosted.com ([205.220.180.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZRax-00000004R2v-2ZZ3 for linux-arm-kernel@lists.infradead.org; Thu, 01 Aug 2024 08:55:47 +0000 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 4717caAg012068; Thu, 1 Aug 2024 08:55:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=lCFv9W/1yqPkptOdArl+Xr DedHPQMb/w80hiU9HehYc=; b=c7DqWxRX8sA4Gv4h2b0I4/vc3laNIZnx7YsFgk jUwQFEmDwIXiKlQcPTdWMbpQS1tYWYw5UtvaIDqat2HL8MFKIY1m3IelRYVx2x4m Wc6E1G5Z6VWKkpX46GNFRjz1rrHvlkzfBYlQAmMEyOfeiqkcpaBnIb390TUXzZC/ BGIX0i9es7IWYOi4UFcXE2qJ+UFNa7i/2qA8GWdzp3KJnOG6Uo03a8e51xH0MwOi b154OzkbqWiKyFtqpglfn4LUXjC2wEnTeIGgOGd7GxaSwAg2JPB2Kx6I2FTI54p0 BW6SXe+mHRU2/wJ3TYjuDAf47ZcD4brZWx/dzzUSZhX971hg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 40qugahysx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 01 Aug 2024 08:55:30 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 4718tB8n003144 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 1 Aug 2024 08:55:11 GMT Received: from tengfan-gv.ap.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.1544.9; Thu, 1 Aug 2024 01:55:05 -0700 From: Tengfei Fan Subject: [PATCH v3 0/3] interconnect: qcom: Add SM4450 interconnect Date: Thu, 1 Aug 2024 16:54:35 +0800 Message-ID: <20240801-sm4450_interconnect-v3-0-8e364d0faa99@quicinc.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAExNq2YC/32NQQ6DIBQFr2JYF/NBwNJV79E0xiDoX4gtUNPGe PeCq666nJfMvI1EG9BGcqk2EuyKERefoTlVxEy9Hy3FITPhwAWcgdE4CyGhQ59sMIv31iTqWi0 cDC0oKUk2H8E6fB/V2z3zhDEt4XOcrKyspdeAzkUlBG9rrrTWlNHnC02XrB9d768F0JvaLDMpm ZX/qEwCB8Z1zbRi7K+67/sXCy+ZDegAAAA= To: Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon CC: , , , , , , Tengfei Fan X-Mailer: b4 0.15-dev-a66ce X-Developer-Signature: v=1; a=ed25519-sha256; t=1722502505; l=1520; i=quic_tengfan@quicinc.com; s=20240709; h=from:subject:message-id; bh=PLUfEgox7CtnZQfwF9dblYIhmu0YYHyX4i6/vkfHk5o=; b=VWdFqX4Ksr3WAAfzNWgRbi+/MElAuhobA1LwdCgC+OC5JQOk3S6WF/abT0p2xGD5TMQtB8YfE iSr/1XsrptcAqMkMJBdoNBMqxrgCPa5eJBhKthAlSdCBqc6DpE9H5nY X-Developer-Key: i=quic_tengfan@quicinc.com; a=ed25519; pk=4VjoTogHXJhZUM9XlxbCAcZ4zmrLeuep4dfOeKqQD0c= X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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: EZ2P_gBkMqeZ_nXS_qEpbLs5zIYTkAjE X-Proofpoint-ORIG-GUID: EZ2P_gBkMqeZ_nXS_qEpbLs5zIYTkAjE 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-01_06,2024-07-31_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 lowpriorityscore=0 priorityscore=1501 bulkscore=0 suspectscore=0 impostorscore=0 mlxscore=0 spamscore=0 malwarescore=0 phishscore=0 mlxlogscore=709 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2407110000 definitions=main-2408010054 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240801_015535_825614_9CB52ED7 X-CRM114-Status: GOOD ( 11.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SM4450 interconnect provider driver and enable it. Signed-off-by: Tengfei Fan --- Changes in v3: - add enable CONFIG_INTERCONNECT_QCOM_SM4450 defconfig patch. - remove all _disp related paths in sm4450.c - fix patch check issue Changes in v2: - remove DISP related paths - make compatible and data of of_device_id in one line - add clock patch series dependence - redo dt_binding_check previous discussion here: [1] https://lore.kernel.org/linux-arm-msm/20230915020129.19611-1-quic_tengfan@quicinc.com/ [2] https://lore.kernel.org/linux-arm-msm/20230908064427.26999-1-quic_tengfan@quicinc.com/ --- Tengfei Fan (3): dt-bindings: interconnect: Add Qualcomm SM4450 interconnect: qcom: Add SM4450 interconnect provider driver arm64: defconfig: Enable interconnect for SM4450 .../bindings/interconnect/qcom,sm4450-rpmh.yaml | 133 ++ arch/arm64/configs/defconfig | 1 + drivers/interconnect/qcom/Kconfig | 9 + drivers/interconnect/qcom/Makefile | 2 + drivers/interconnect/qcom/sm4450.c | 1723 ++++++++++++++++++++ drivers/interconnect/qcom/sm4450.h | 152 ++ include/dt-bindings/interconnect/qcom,sm4450.h | 163 ++ 7 files changed, 2183 insertions(+) --- base-commit: 048d8cb65cde9fe7534eb4440bcfddcf406bb49c change-id: 20240801-sm4450_interconnect-f794f0d70655 Best regards,