Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp239121rwj; Thu, 22 Dec 2022 02:07:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXv4W+CsOc67hgsBoluShCadrZLKcAJC8reXK7ALEHUel3dShy2hQBBaHC7BZaPW+hOEgYcm X-Received: by 2002:aa7:ccc2:0:b0:462:2e05:30ce with SMTP id y2-20020aa7ccc2000000b004622e0530cemr4053374edt.42.1671703635499; Thu, 22 Dec 2022 02:07:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671703635; cv=none; d=google.com; s=arc-20160816; b=oRZY1LVVyVvGya9D9J4mrZDr8oWOJI142h/F2DnA9ONve4ecoHnFvL2gb7KTAq6z1l WRJs4onXR44th+z6d7nGrOycHBnmWjwA+TaHjqJ4NvglVLhb8u96qqSqaXX2m7pqhB1o bwu8N1eLoOIYrQtz5orbPOr4voBLMWgSI9xOqqXBql64fMX4qNorO86Kpb5LdtT8xVFW fGrPKl286h3e+NBHR982rykDIXLKVavFPuNfXestq7BToO+1dO9JjcxzAeq4q/nKa9Sx yNBrLyg6v5rYckaFRL/zsZe9pXWtuFyZV2CEACwpjnSQTUz94dvxkPuw4pNvWJDtLjkt C7Hw== 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=T4H8QUE17gV+JKqdpZdgW9KJkdgXFFfGyOlyy/Xu5ns=; b=padoTm/dzKEtKoDSwm/+VxcEgAbXXPaVK6AgT4QTdWsxTh5i/t2zfdLtrfFQQU2xWA ZluXSQn/NO+0tTMw2S8TaqAJEPjuY4RYlZsrorwhvIjl05imuEHJkdXa51fEJPLtej5S 53mNVGfykE9K6E0lq6Q4gB0YsjHCmNWggs2WI1+zNOH/qSoeDG6K6e0acSitslDf5+BP ecVGNULphXNL/56XuhFTbAjdlzn1qMma4Y7+hqd8HRv616geEIQugtsMHjIB4l5ImqMj QYXD1nXMkZs2WsW67uNhJcmdA8HhGI2rFEWgK0omi/xcJQYsIPsHyeo1+X2OOtPKI76N 1h2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=ERd9bxpk; 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 dm6-20020a05640222c600b0046c5b0dfea1si336945edb.625.2022.12.22.02.06.59; Thu, 22 Dec 2022 02:07:15 -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=ERd9bxpk; 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 S235363AbiLVJow (ORCPT + 67 others); Thu, 22 Dec 2022 04:44:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235297AbiLVJn7 (ORCPT ); Thu, 22 Dec 2022 04:43:59 -0500 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D307A27B0D; Thu, 22 Dec 2022 01:43:54 -0800 (PST) Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BM5m5EU004069; Thu, 22 Dec 2022 09:43:46 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=T4H8QUE17gV+JKqdpZdgW9KJkdgXFFfGyOlyy/Xu5ns=; b=ERd9bxpk8VTLkInOooHCD1APZA/DAjbTuobPQzxQPCwIka4NVXFrMuZ+Yu+c4ElnSzUw y/VLCHgTVVXU3giK5KCbYhZG0xh6GpcjJVqdu9Y/dn3XuEqM3neX4f5xTrYxUueLyx+L 7NzrFhVvWtfzcSxhPvwaxn3KGC+MIjFAjk2KMI7UmS5M0aDp/g9viCDbYF0NKSqgEo/s odwiKP+krFsHeObeOYxkRHZB8LlNY7Kq8qG7YIeDaGA91dqscr/mdfqtC8vdAD3swwoz bIuLikNUk2sR6gNZfhUWgJV8a608NkyDd2TO+yAbOTgbE3gHrBnlgGHMZYQRdZuCDBx1 eQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3mm0wfjerj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Dec 2022 09:43:45 +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 2BM9hixO010763 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Dec 2022 09:43:44 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, 22 Dec 2022 01:43:40 -0800 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , , , CC: Srinivasa Rao Mandadapu Subject: [PATCH 6/7] arm64: dts: qcom: sc7280: audioreach: Update VA/RX/TX macro clock nodes Date: Thu, 22 Dec 2022 15:12:49 +0530 Message-ID: <1671702170-24781-7-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1671702170-24781-1-git-send-email-quic_srivasam@quicinc.com> References: <1671702170-24781-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: 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: RtMDzehJw4-lrePgJY4P9Ih4QfZZdRGo X-Proofpoint-GUID: RtMDzehJw4-lrePgJY4P9Ih4QfZZdRGo X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-22_03,2022-12-21_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 malwarescore=0 impostorscore=0 priorityscore=1501 mlxscore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212220085 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 Update VA, RX and TX macro and lpass_tlmm clock properties and enable them. Signed-off-by: Srinivasa Rao Mandadapu Tested-by: Mohammad Rafi Shaik --- .../qcom/sc7280-herobrine-audioreach-wcd9385.dtsi | 43 ++++++++++++++++++++++ 1 file changed, 43 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 ce5d69e..a0061ef 100644 --- a/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280-herobrine-audioreach-wcd9385.dtsi @@ -119,6 +119,49 @@ status = "okay"; }; +&lpass_tlmm { + clocks = <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + + clock-names = "core", "audio"; + reg = <0 0x033c0000 0x0 0x20000>, + <0 0x03550000 0x0 0xa100>; +}; + +&lpass_va_macro { + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; + + clock-names = "mclk", "macro", "dcodec"; + power-domain-names = "null"; + status = "okay"; +}; + +&lpass_rx_macro { + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_macro>; + + clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; + power-domain-names = "null"; + status = "okay"; +}; + +&lpass_tx_macro { + clocks = <&q6prmcc LPASS_CLK_ID_TX_CORE_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_CLK_ID_TX_CORE_NPL_MCLK LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&q6prmcc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>, + <&lpass_va_macro>; + + clock-names = "mclk", "npl", "macro", "dcodec", "fsgen"; + power-domain-names = "null"; + status = "okay"; +}; + &soc { qcom,lpass@3000000 { compatible = "qcom,sc7280-adsp-pil"; -- 2.7.4