From patchwork Thu Feb 2 14:52:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kathiravan Thirumoorthy X-Patchwork-Id: 51975 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp283602wrn; Thu, 2 Feb 2023 06:54:29 -0800 (PST) X-Google-Smtp-Source: AK7set+kgIFMHbTj1n5BMj/aYuqfTxJ56IfhknryO8UGoHAlRJKslb7AKDH5VDnuKI9piK6KaFBN X-Received: by 2002:a05:6a21:100f:b0:bf:f8a:330b with SMTP id nk15-20020a056a21100f00b000bf0f8a330bmr1769490pzb.10.1675349668920; Thu, 02 Feb 2023 06:54:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675349668; cv=none; d=google.com; s=arc-20160816; b=pKjKN82q6ZZUokmxyntl5DO4EbvB04qUKCjKj1aC+Q+Gvv7rjxaf+QsLL4c3PDvozM H0VoLVdhePBzgrEHne8TwwXCaduoCox7KuhiDEezsYCJ62GMLc8t68pkrqYHhmTqm10r 0OrYR8czq1gnRwZGXBGZRQHG+25QEsx7E65A2SWgdUhBWGS6vtWiaR3unWLTh4qA0LWr 9URKqCL2K3X8uAEL71dmr52agI3PFWwRZda6K1XZbKGxXq8BeLHmqpxa1OcD3SzdkdwR sZly5VKEuij3gxI9pC+Z/4bKYOIg6wfqIkJQe09PyzQO+LPEVUy9zNNVUON+vPgcFxwu A4nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=uFfF4B2nQ6jBS6GS8F+og0BZ7KOkr+lMqtYkgCo0BFQ=; b=uz3PXrieUuJ+Vi/c3VUJn1gTjJrTLorzlyWPWlPQccGjYdI1cv/v1zhFl1TgJyL7l6 v7Tt5Cu2UoBz6pnRjEnpbuIBdKUX74e8RDgo2SlA9M3Q7NUq4A56UXAWRLEAUbKTL5/n THY5/3/Jx5dUOv8HLwLSdU2SDYtQwUGKfcOevJSfEu58EidR0wnRlqC5L95HtYQjqpP7 xx9Cg9aKOXzYwUkIbTcjJ/Xkj7EFC1REwTp50kfrORho9flVcDtRdPwexd6F2hy19+g3 82KHJT/mp51+DZgcaX4JPnkH0Hs8o7FWBlwaYP/nB7x9GmhtJ+pGLE999si4ncsPp8X+ d+CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MeZDxpNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i18-20020aa78d92000000b0058de1af3586si20417808pfr.207.2023.02.02.06.54.12; Thu, 02 Feb 2023 06:54:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=MeZDxpNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232731AbjBBOxf (ORCPT + 99 others); Thu, 2 Feb 2023 09:53:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231841AbjBBOxF (ORCPT ); Thu, 2 Feb 2023 09:53:05 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B13419F0B; Thu, 2 Feb 2023 06:52:52 -0800 (PST) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 312Ee5cM021159; Thu, 2 Feb 2023 14:52:49 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-transfer-encoding : content-type; s=qcppdkim1; bh=uFfF4B2nQ6jBS6GS8F+og0BZ7KOkr+lMqtYkgCo0BFQ=; b=MeZDxpNugIfY3cIgUe4JBOnu6qNJUllHLJ5UDvsxyPNzQzry828Sl+pZYgHSweYKVgGe UvdV2wSuI7poZuK+OlM5oXfgldOVI5d/v+h/yVK6UrnBDGvinPqKDV8CcVKETM6xL2Fl hHs0YJbK1yAGrMj+fRGJw5ipEVcStv31Dq5zEi2zDVfFNW8pQJ/mZTGr2+Zgy7s2O3tG KOFzn2PCVWxK9RObiEAwbbYHWmJSUmQw9TCUWChWw5GJqn1Cg7UHeqtdoDuSuiMmtLXQ z7t1Di3YeNgXJhPPrd3HKGrjHp6gnSM6K5+sSePwgaJT9AlIVFgLWi0Ln8OAEo3c2ErE RQ== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nfm9cu9k6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Feb 2023 14:52:48 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 312EqmHF024809 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 2 Feb 2023 14:52:48 GMT Received: from win-platform-upstream01.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.986.36; Thu, 2 Feb 2023 06:52:44 -0800 From: Kathiravan T To: , , , , , , , , , , , CC: Kathiravan T Subject: [PATCH 5/6] mailbox: qcom-apcs-ipc: add IPQ5332 APSS clock support Date: Thu, 2 Feb 2023 20:22:07 +0530 Message-ID: <20230202145208.2328032-6-quic_kathirav@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230202145208.2328032-1-quic_kathirav@quicinc.com> References: <20230202145208.2328032-1-quic_kathirav@quicinc.com> MIME-Version: 1.0 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-ORIG-GUID: pC5d5S-xEYD-3xiGX7_iha6hBx1Uv4nJ X-Proofpoint-GUID: pC5d5S-xEYD-3xiGX7_iha6hBx1Uv4nJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-02_04,2023-02-02_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 bulkscore=0 suspectscore=0 spamscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 phishscore=0 adultscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302020133 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756731454516172872?= X-GMAIL-MSGID: =?utf-8?q?1756731454516172872?= IPQ5332 has the APSS clock controller utilizing the same register space as the APCS, so provide access to the APSS utilizing a child device like other IPQ chipsets. Like IPQ6018, the same controller and driver is used, so utilize IPQ6018 match data for IPQ5332. Signed-off-by: Kathiravan T Reviewed-by: Konrad Dybcio --- drivers/mailbox/qcom-apcs-ipc-mailbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mailbox/qcom-apcs-ipc-mailbox.c b/drivers/mailbox/qcom-apcs-ipc-mailbox.c index 0e9f9cba8668..9d1f1b8671fc 100644 --- a/drivers/mailbox/qcom-apcs-ipc-mailbox.c +++ b/drivers/mailbox/qcom-apcs-ipc-mailbox.c @@ -141,6 +141,7 @@ static int qcom_apcs_ipc_remove(struct platform_device *pdev) /* .data is the offset of the ipc register within the global block */ static const struct of_device_id qcom_apcs_ipc_of_match[] = { + { .compatible = "qcom,ipq5332-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,ipq6018-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,ipq8074-apcs-apps-global", .data = &ipq6018_apcs_data }, { .compatible = "qcom,msm8916-apcs-kpss-global", .data = &msm8916_apcs_data },