Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp773608rwb; Thu, 19 Jan 2023 02:28:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXtM6qMFtlDY2Lb8UKY83kaTcItAEmF20bCl5Qz5WCwuqkPN0wvdDyBR4B2uqn2BP7D1LgTs X-Received: by 2002:a17:902:d88a:b0:194:9f55:73e2 with SMTP id b10-20020a170902d88a00b001949f5573e2mr10979807plz.23.1674124093521; Thu, 19 Jan 2023 02:28:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674124093; cv=none; d=google.com; s=arc-20160816; b=HJfYUIlGqy24++FNVtWlDp/t4qOYl5F4yj6jaO7Kk/GQdDrwlxHfgSgqvkjBQJhUI/ vSyQ+vi2lBjYLMFOgOqQR8uY64hTmT1YGMqzbq2cFEhOJNSxhQkh/atZ7UljbDOZMiPr yxDOCkuLHNtlBc4gYXv0GgNbWGRVyEvfHD4oAyu2WqvUA18flAv1aTFlsKW2W9rSC1o+ id0jC3jJkGezYwshrDt1SLWS/MEcYUSzex/hyAbPoNJu/9Uk+y/n/MfXJ9f1T3tFZSRC /1dN2IIchSxvX4jVjsl7e6vkWxWdtdQXVyAI9H05JTzMIEwMocbNlEmOKz9v3j39w4sY 5x3A== 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=MBUcw4nivj5N87UcNlA5CYSKXZFDAtGtlae095FlqwE=; b=FLMuMIFya8zRV112hijnwKKF2PtJ6i40NLA2lUmv9hM/AVQc7SrX/5Fp+ByH6AFwhW NQ/0UIIb8WG03d4Sers1Pu9EL8otmuLJyr4CLugSZuumW37+wy+Zx34W6X1envNMUYON 1kJkYyNMKonVYXQafXIPTuuS2O8J7UIH82vEvAFelEVezqX+rVAA+6Ip83nnFZiGrhnI cnuYHqNxw9oo/lVb+xV+oNLcZgcTMvg4I6rIfS9gkwaQIrSabEXJ7dK6sGt1fo8KZ5br +AZo4X10tWuh0MYBaKni0pGCupStS55E9hUWZ4YBXrt1OWfQWae2/8/miyscl7a4DuaK in3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oXrU8rpF; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a170903234400b001866341b823si22573074plh.322.2023.01.19.02.28.08; Thu, 19 Jan 2023 02:28:13 -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=oXrU8rpF; 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 S230225AbjASJ3U (ORCPT + 44 others); Thu, 19 Jan 2023 04:29:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230155AbjASJ2o (ORCPT ); Thu, 19 Jan 2023 04:28:44 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E108C6C556; Thu, 19 Jan 2023 01:28:20 -0800 (PST) Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30J7hQnq026513; Thu, 19 Jan 2023 09:28:15 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=MBUcw4nivj5N87UcNlA5CYSKXZFDAtGtlae095FlqwE=; b=oXrU8rpFnJzd+VobTsR6MueZ9ryVUqyOZIuxRKHGP8E0ANcnOkZKFbEXwwRbP0hLoIcx go/+gRzgbAsqoaBza1XcxV31WYyoOGAsymYMymCwWR9AGDdxxcyLktIqaDKe99PGYqnM T+5R7Sxrxt0/olgaK8xpwmFMoZz3joi/Wb12xRRRzPH+7jsNTqsM1lbEVMD/vX6sXOjw GfBeu7MLhqZXur+5WuW+5Pu2e6P5Tzy3UQ4QOV2zq85srSrxcWf2UhIUlBhKdXg3N1Wy cRPswbyChe39FbzHJyko+N+VK93GmIWrHiId4YGo0Y9CWSBE6NmEIVnkhgOq+C+xJPkO PQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n69uyu9ru-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 09:28:14 +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 30J9SDaD024611 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 19 Jan 2023 09:28:13 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; Thu, 19 Jan 2023 01:28:09 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v4 6/6] clk: qcom: lpassaudiocc-sc7280: Skip lpass_aon_cc_pll config Date: Thu, 19 Jan 2023 14:57:24 +0530 Message-ID: <1674120444-23706-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1674120444-23706-1-git-send-email-quic_srivasam@quicinc.com> References: <1674120444-23706-1-git-send-email-quic_srivasam@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain 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: -5ejd1D5t8DDYZZdXDu9D-lFDIog9RE4 X-Proofpoint-GUID: -5ejd1D5t8DDYZZdXDu9D-lFDIog9RE4 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-19_07,2023-01-18_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 adultscore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 phishscore=0 clxscore=1015 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301190076 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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 18f7a50..e135c09 100644 --- a/drivers/clk/qcom/lpassaudiocc-sc7280.c +++ b/drivers/clk/qcom/lpassaudiocc-sc7280.c @@ -826,7 +826,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) { -- 2.7.4