From patchwork Mon Feb 6 16:16:39 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: 53416 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2332527wrn; Mon, 6 Feb 2023 08:36:32 -0800 (PST) X-Google-Smtp-Source: AK7set96k7v4MX6MSUbr9yobdNy38fUWFkkqiWzkN/x2Xtxniv1yYjLfXWybBjwSA3wlLFTlFspi X-Received: by 2002:a50:cc83:0:b0:4a2:471a:4d26 with SMTP id q3-20020a50cc83000000b004a2471a4d26mr204258edi.10.1675701392715; Mon, 06 Feb 2023 08:36:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675701392; cv=none; d=google.com; s=arc-20160816; b=kkB9CggN2NsyyJ1AkKy3LYcHI/n/OfIf/IVg8NrbtSOPUrioaw2sDXAa81YQLy+PVZ 9W2P9uF0oS8QhAlRVBMphW3QwmLzfc/6dGzvja8a+qaSL0/efdS+RBDZbMH3MUm1WE8L 8JTqUrmz/uRVEd3gWfUcDw2Mht1YpuIj9m/lIRSZBSiqqt0IufPzy2g40m0GGaZyat1L dW2iu2P5T+IsSCSAWUu7vJMr4PLepm7zgaUu3UIs9ioWC/TbEH6WN2F/z6LisVwUSYIn QNs3O892bMcWRcZZHrrejX2xf6qt3qFGld9ZxlgLdZ2sSWvw3Vwl+riGhrIE6z93EPzg lunw== 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=2zsI3iZp/AHTeK969yB+SmqfYD+XMN0N8LdwNApu5RQ=; b=H+xVRxDnmDC7xfVFCQmjVpkDKZE/bZEsvW98E4VQE82ZkRIrDUL89MgIcxMpLEU7CS AB+TrnsE6V0XueJXpQ5CKK/1Dd0GjujjAWq5DA9FJsr/na7wNh0qajbWYcKbI7MxheXA 6E3dA/vpvcciDM3otGbo+Ky3ozMCmzcbX4+GaFuZqVVmeLp7ZRzYLtCZcJQywlszwQnm pxxMmMtv8Bw7pZsCQvDXlGJUItcmoE1ZVQkaJ7dvOWZGbJ3juYnSHqvRoH1W2p2Yk8WB +MfC1YiXtiuMvAXrehL9zbuRpS6EAI01escuNLp7EdV51qzWM7xi46eoQTYXKulbOH1w +8Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=W30fRRiy; 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 s6-20020a508dc6000000b004a2254ee2e7si11151926edh.492.2023.02.06.08.36.09; Mon, 06 Feb 2023 08:36:32 -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=W30fRRiy; 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 S231801AbjBFQS2 (ORCPT + 99 others); Mon, 6 Feb 2023 11:18:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231420AbjBFQS0 (ORCPT ); Mon, 6 Feb 2023 11:18:26 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E9888688; Mon, 6 Feb 2023 08:18:03 -0800 (PST) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 316BwNC9021440; Mon, 6 Feb 2023 16:17:53 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=2zsI3iZp/AHTeK969yB+SmqfYD+XMN0N8LdwNApu5RQ=; b=W30fRRiy+rnzLRzt+irntrfmJ2D5ROA54pp9T8gueCEY8iJ0huW5+RuWOEEmptL5YAG8 DRJAqTs7vXHmHCvHLCanuJnyjAlC+1prNl0X+ocWCe+gML/ZKfpmnq2IgaZHrwEAwQOG kCe3PB677fY51hdtLKAlS312hBnfvezYEidWf4RkX+Lsqbvqs0VABkA9uaEOyw4EhRM0 cxibh1WNoWbtaMJ+gAcRWq+PdRWPeNkHKSCcIVjDw3axxaBrjslk/ymygxLxQI4kgQlP PVMAcn2fiV61IqRRtHKpcacERfSB9q7T0twdrFMfZwy4brvvxGES0HkSSzjUEd9celJi Fw== Received: from nalasppmta05.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3nhepsv6g5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Feb 2023 16:17:53 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 316GHppQ018643 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 Feb 2023 16:17:51 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; Mon, 6 Feb 2023 08:17:43 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH v5 6/8] arm64: dts: qcom: sc7280: Add qcom,adsp-pil-mode property in clock nodes Date: Mon, 6 Feb 2023 21:46:39 +0530 Message-ID: <1675700201-12890-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1675700201-12890-1-git-send-email-quic_srivasam@quicinc.com> References: <1675700201-12890-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: KlFWDXvqM6oZOEffBSNJ-zJIxBlyHuwt X-Proofpoint-ORIG-GUID: KlFWDXvqM6oZOEffBSNJ-zJIxBlyHuwt 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-06_07,2023-02-06_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 spamscore=0 clxscore=1015 impostorscore=0 malwarescore=0 bulkscore=0 adultscore=0 mlxscore=0 phishscore=0 mlxlogscore=999 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302060141 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757100263695742240?= X-GMAIL-MSGID: =?utf-8?q?1757100263695742240?= Add "qcom,adsp-pil-mode" property in clock nodes for herobrine crd revision 3 board specific device tree. This is to register clocks conditionally by differentiating ADSP based platforms and legacy path platforms. Also disable lpass_core module, as it's not required for ADSP based platforms and creating conflict with ADSP clocks. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- .../boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi index 86ba4a5..7c1ea15 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi @@ -108,6 +108,14 @@ }; }; +&lpass_aon { + qcom,adsp-pil-mode; +}; + +&lpass_core { + status = "disabled"; +}; + &lpass_rx_macro { /delete-property/ power-domains; /delete-property/ power-domain-names; @@ -154,6 +162,10 @@ status = "okay"; }; +&lpasscc { + qcom,adsp-pil-mode; +}; + &remoteproc_adsp { status = "okay"; };