From patchwork Fri Jan 20 12:46:46 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: 46334 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp186790wrn; Fri, 20 Jan 2023 05:06:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+78mJRY6czNcckxhAj35U7VIdQ5/4uq8LU9sJez1gi8S0kPZZ6BX75HXjamqrVr1kkpcU X-Received: by 2002:a17:907:3f20:b0:7c0:f7b0:9aed with SMTP id hq32-20020a1709073f2000b007c0f7b09aedmr19617159ejc.55.1674220004202; Fri, 20 Jan 2023 05:06:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674220004; cv=none; d=google.com; s=arc-20160816; b=fYFhg8kEJcaR1LoINJgQ3duwGZxtzp/kjFihrMaF7iZ2a1JugRo4AXHofzuCROU/+B B8k3BYYV+EQUYvpzeG+3jy+yYMCFlzH070zN4AK71wTGKay2u9HDTufciIVCj0TrrXga J2spv9WNTgdwslmaSJbfZ7sbBkDzWZruXqQDaffVV80gBI68/dt1ir+s1jjbtqIutVWi +pn0aiSrlU4kzIHdstCcufvjIa0ZacUXmMg5D4ygYR+E8rfakAWZBz3LViYupBSdm/3h 8xS+55HBMuWcV01DGRJkwp86QlgZidUwrRUntXZC9foG3blXKL3nsP+Pt5+q3ayni3+p fQPA== 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=vXi5NSA8pXu6r8itrTtWjr7+Au14TerrSkz8Lx2g/Uk=; b=Z4KPYpI/lHn5JudNuUvo29tT5S1SirNM7Sxwl+D8kP79PJQ1meQoIbW4l8XvQFdMLA cSVFg+mlbG2YCLrlQnA9ZKQItdr9bNtjFZwtavwiCFnnehg01w3Ijh9BBgY1Z5kmHbjG 58GZwL6hr4bP8Gvt4PYi+JU8iWWwnfGo1ysdyufMVOXVdug/aO1Fs5NOtIofANcyYSv2 VcfvRBJU2pl3cASEfU5J9E8YbFxEUllqgXfUXw9cUrdpCo8IjLWTQsaNtEMt4xxEEIkb 4djbdh5Pjml6qucqfv+MbFzINNVAQ2gmHDaXhzuN4UDB46fFSmNzzp1g6bNaB5nNCyzL F+IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ZEGU9z0D; 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 xg3-20020a170907320300b007c4fe4301basi44344939ejb.983.2023.01.20.05.06.18; Fri, 20 Jan 2023 05:06:44 -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=ZEGU9z0D; 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 S230382AbjATMsF (ORCPT + 99 others); Fri, 20 Jan 2023 07:48:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230349AbjATMsB (ORCPT ); Fri, 20 Jan 2023 07:48:01 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3B9636FC7; Fri, 20 Jan 2023 04:47:41 -0800 (PST) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30KCJY9M026642; Fri, 20 Jan 2023 12:47:35 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=vXi5NSA8pXu6r8itrTtWjr7+Au14TerrSkz8Lx2g/Uk=; b=ZEGU9z0DJ0OkJfmsIwwCc7wKrvT62pdiwjxseQqGUG6l5zYog8Js3uNwyWcBxOaUcvgw ZKJI/CpdqVT5lUZLAA0cS9XCg6dy5q45zR6yOwaBjF2cebs4ooqe7g5mQQbTxDunJ2qI Dd1TyOgofpnr6/zvcfwaiH4vL+EmLjhP+hPEFF49zRypqQ/D0WlgfAHkwPOzyTKbOL4o tRX+GEwXkm3MbRDdAas0KrZIUuhW0sMuE9lkON0d19heGc7QArHh8XjFVLR6FnaJMv2r OLNALeo13Uzo4y+P23dAlhD15lfSOK/t8EQMZh40KInNlwdMJjKEE/gsful+QaLHWB5Z eA== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n7nuxrhxw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 12:47:34 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30KClYck024505 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 20 Jan 2023 12:47:34 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:29 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 6/6] clk: qcom: lpassaudiocc-sc7280: Skip lpass_aon_cc_pll config Date: Fri, 20 Jan 2023 18:16:46 +0530 Message-ID: <1674218806-7711-7-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-GUID: i_dsfSfQGFXz7zU_iddcEa9-cX3kgBFY X-Proofpoint-ORIG-GUID: i_dsfSfQGFXz7zU_iddcEa9-cX3kgBFY 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 lowpriorityscore=0 mlxlogscore=999 malwarescore=0 impostorscore=0 adultscore=0 priorityscore=1501 spamscore=0 bulkscore=0 phishscore=0 mlxscore=0 clxscore=1015 suspectscore=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?1755546915174948860?= X-GMAIL-MSGID: =?utf-8?q?1755546915174948860?= Skip lpass_aon_cc_pll configuration for ADSP based platforms based on qcom,adsp-pil-mode property. This is to avoid ADSP out of reset fail. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- drivers/clk/qcom/lpassaudiocc-sc7280.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/lpassaudiocc-sc7280.c b/drivers/clk/qcom/lpassaudiocc-sc7280.c index 732ecc4..12b15de 100644 --- a/drivers/clk/qcom/lpassaudiocc-sc7280.c +++ b/drivers/clk/qcom/lpassaudiocc-sc7280.c @@ -846,7 +846,8 @@ static int lpass_aon_cc_sc7280_probe(struct platform_device *pdev) goto exit; } - clk_lucid_pll_configure(&lpass_aon_cc_pll, regmap, &lpass_aon_cc_pll_config); + if (!of_property_read_bool(pdev->dev.of_node, "qcom,adsp-pil-mode")) + clk_lucid_pll_configure(&lpass_aon_cc_pll, regmap, &lpass_aon_cc_pll_config); ret = qcom_cc_really_probe(pdev, &lpass_aon_cc_sc7280_desc, regmap); if (ret) {