From patchwork Fri Jan 20 12:46:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivasa Rao Mandadapu X-Patchwork-Id: 46330 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp177901wrn; Fri, 20 Jan 2023 04:48:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+Ne6OU2lRrxTnomPuGcjQbzKgd9txXlkf/iQYNPZRjWayM/QcCazNUBH4uRZDHq02EaK3 X-Received: by 2002:a05:6a00:10:b0:576:a74a:13c3 with SMTP id h16-20020a056a00001000b00576a74a13c3mr17307456pfk.1.1674218899531; Fri, 20 Jan 2023 04:48:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674218899; cv=none; d=google.com; s=arc-20160816; b=QYhUsqsZ8+ubuRSXAgvs8LFTdTqgl0+6o3amBoAyyD67kQgJ6PfBYYKccm3WDfeuE5 2g0orNhr7T0HfXnaAI2qDDZejKoBuvKbwRhff2PJc7HM5nsZK0/NlWNYb/hozKyQAm5w RClmookfzUegteicoMjLUqhaNTNC56vAznWRRZFY+R7IPf8cwNmjlJvrYFiVy/gre7U2 m3BFwAjLCpCKbmNyzjo7HETtkGQBbjOZO4nPTaIwJvlyZyKEGUaIrYYrtGJ+cWK0B7gQ 3KvS7GsvtrE+UkfPtQe2NntVJVZAHiqHT/ON+HNf0VjXgf0iV5l0qI/kXTAD453OULu3 RKVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=It6HwbxzBzijiUrWxDwnPsxlQeS2oJacAX0qTbCGG8Y=; b=xHd/SDM5FJqmuGt2V53vLLeP6arM0h7ysiWi9rnrWGeYKNqn0j1BsupKsHlxyhgZgl K7W054STE8wfuf/fg65yMH9H8IBMPxiafJyErmg+nEJpDEwHLlvFX7vIokGtcQy6fJnT y48jQhL+H03Kvre2VAKBDZSMUUM2TFQO5Owwhs189voQ270WiaacGQmPyCh154cAMjz2 YryJln8P6XxwqF/qua/G9ZvS3rJ9QJfUywUDzoQ5ai1qTvyt+Hw4M/rvWJ+FvXNOqFVT LCA970bfLG0vv97zqGLR914mnyHvMdS89tkqOzK0hDeB+LJsJGweVsgi9oeILUeJjhHD hy0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Itxo0snF; 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 s12-20020a056a00194c00b0058dc1d84b4asi4425060pfk.52.2023.01.20.04.48.05; Fri, 20 Jan 2023 04:48:19 -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=Itxo0snF; 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 S230343AbjATMrm (ORCPT + 99 others); Fri, 20 Jan 2023 07:47:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbjATMrj (ORCPT ); Fri, 20 Jan 2023 07:47:39 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 930B0BD15F; Fri, 20 Jan 2023 04:47:31 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30KCCmE2004209; Fri, 20 Jan 2023 12:47:25 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=It6HwbxzBzijiUrWxDwnPsxlQeS2oJacAX0qTbCGG8Y=; b=Itxo0snFMZ9QCUSKKeozqmWbbZn1ttt4kXib8KsEmVV32DuojRCzVDQHay8clL70Q3Qc XDNaPr0lyH6tsB2MuuWBZDXWN+1J5kXZFeP3WmFlB0r+Y/4TT0VmQ5eXk9immGau0ye/ 6oJAb+PvKfNnujoYBSHz/OB7ktFA2OD6SW8E90b1yYcIW5B0KUBMldc20UD2XPTkcxPH OA2N+NyYsd0qfA/qZ/7Q+C9hxy5CgrPDukOjoaYhGGAFHu0B6mA/I3LKxn0VpqgUgNwf zonV7KUJvQvI9t5rmEzI8x7qAE+wiK66upqpNtIqBWSlBK+Hhz5rW8JOFlHAFJLQixos MA== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n6r59ccug-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 12:47:24 +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 30KClOCV030904 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 12:47:24 GMT Received: from hu-srivasam-hyd.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; Fri, 20 Jan 2023 04:47:19 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 4/6] clk: qcom: lpasscorecc-sc7280: Skip lpasscorecc registration Date: Fri, 20 Jan 2023 18:16:44 +0530 Message-ID: <1674218806-7711-5-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1674218806-7711-1-git-send-email-quic_srivasam@quicinc.com> References: <1674218806-7711-1-git-send-email-quic_srivasam@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-ORIG-GUID: hrlB-NF6tcFvqI0BADlIskkLS3HtcgY_ X-Proofpoint-GUID: hrlB-NF6tcFvqI0BADlIskkLS3HtcgY_ 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-01-20_08,2023-01-20_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 malwarescore=0 priorityscore=1501 bulkscore=0 suspectscore=0 phishscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301200120 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?1755545756836817901?= X-GMAIL-MSGID: =?utf-8?q?1755545756836817901?= Skip lpasscorecc clocks registration for ADSP based platforms as it's causing NOC errors when ADSP based clocks are enabled. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- drivers/clk/qcom/lpasscorecc-sc7280.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/qcom/lpasscorecc-sc7280.c b/drivers/clk/qcom/lpasscorecc-sc7280.c index 6ad19b0..3aa16d8 100644 --- a/drivers/clk/qcom/lpasscorecc-sc7280.c +++ b/drivers/clk/qcom/lpasscorecc-sc7280.c @@ -395,6 +395,9 @@ static int lpass_core_cc_sc7280_probe(struct platform_device *pdev) const struct qcom_cc_desc *desc; struct regmap *regmap; + if (of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-mode")) + return 0; + lpass_core_cc_sc7280_regmap_config.name = "lpass_core_cc"; lpass_core_cc_sc7280_regmap_config.max_register = 0x4f004; desc = &lpass_core_cc_sc7280_desc;