Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3445925imw; Thu, 7 Jul 2022 01:46:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1toS/vhLvafyjPjXNgLyIaVT+KFNa1bLUBlXvS7K5L11LhTOnw6g3yGzrGl6UNl8MyLJSQj X-Received: by 2002:a17:907:2cf6:b0:72a:5268:c05e with SMTP id hz22-20020a1709072cf600b0072a5268c05emr39878609ejc.38.1657183561375; Thu, 07 Jul 2022 01:46:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657183561; cv=none; d=google.com; s=arc-20160816; b=0ymo3gy3SD7zzmbI3odr/qVkxNqk6XqoNJl8TjekJi8gAkXOVZgA146nBGw2ldWB+B jlZUzTt8bYztqNfWdXsgr6CR4sXqe40OfWoZOlNi1gMuXsFDZp30nGB8PxdtFgqS1P9S pymxxNfGQ3P701HSGB9hq2B4tQQKTYs4rRpg1Y6qWBACUZKSpvxleKkI7AlDhTxtNLMx R17L0bfqH/XFacuHavqDkDcGgkSFB/YCxmeuftaG0+uz21baRDDLKIx+Lqp8wxoOg8nl joGDnx58gxXireUnCyZHDLLCPrdbDDeS2My+pcgknd2elUEOLMklWfy9EsNn4czrTExT VTcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=pK51D6/KCwtEn5SHEF/Xv6jcS3+colyLJ58dPARzfUo=; b=IeISartcEIpOmhnwJZm2JjxgKZyP+tiIdlLAEhkEsIFZkD30UWg7DTjzgaxTSSG0iQ 5QWLRhPTHOnrnFDcaumr2X7s1V9TwAzUqRaM5x5lzb3+mO3SFVoW3VzcqQFTVcIrvwS+ CtaR0pvsF/U1d1yxLhKsuD6alVfd+3lAt/IAdp5UJx7TaQfYhoAY+xMTpSqLmcCLiY4f 1iQRogf3JTZaM+RxC9kFarIx9KZqxqX+IbXzzBuQdvUPjnfKA2eV3Gnj8arLG1hWWSq6 1lyHz/P8z28yOi4kr7HdLTiDOEEkMtuceq9HPg7CLS7iGDzLIwzAAeEoJhwy/r1EE9VY 724w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=cxcilQOV; 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 nc37-20020a1709071c2500b0072af6e29843si645260ejc.1007.2022.07.07.01.45.36; Thu, 07 Jul 2022 01:46:01 -0700 (PDT) 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=qcdkim header.b=cxcilQOV; 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 S235010AbiGGIS5 (ORCPT + 99 others); Thu, 7 Jul 2022 04:18:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234919AbiGGISA (ORCPT ); Thu, 7 Jul 2022 04:18:00 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED7F14F188; Thu, 7 Jul 2022 01:16:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657181788; x=1688717788; h=from:to:cc:subject:date:message-id:mime-version; bh=pK51D6/KCwtEn5SHEF/Xv6jcS3+colyLJ58dPARzfUo=; b=cxcilQOVnEKZZ2/buX8s4HciTC4d0flRA3S95co9JgqWQYnagCEhjV/x /5jdat9odiYuWFquys7/8+UUgf3UnHXKljWFgTfziSZXFJ/Y0WNWTNOjs ZuXj43jOYKkUc9HiUy4f2EoItAY8JQoeK/Jc4Q/byF96fE4zlKKGfwhQJ g=; Received: from unknown (HELO ironmsg02-sd.qualcomm.com) ([10.53.140.142]) by alexa-out-sd-02.qualcomm.com with ESMTP; 07 Jul 2022 01:16:28 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg02-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2022 01:16:28 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 7 Jul 2022 01:16:27 -0700 Received: from c-skakit-linux.qualcomm.com (10.49.16.6) 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.22; Thu, 7 Jul 2022 01:16:23 -0700 From: Satya Priya To: Andy Gross , Bjorn Andersson , Rob Herring , "Krzysztof Kozlowski" CC: Konrad Dybcio , Stephen Boyd , Taniya Das , , , , , Taniya Das , "Satya Priya" Subject: [PATCH V2] arm64: dts: qcom: sc7280: Update lpassaudio clock controller for resets Date: Thu, 7 Jul 2022 13:45:39 +0530 Message-ID: <1657181739-32052-1-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Taniya Das The lpass audio supports TX/RX/WSA block resets. Disable the LPASS PIL clock by default, boards can enable it if needed. Also to keep consistency update lpasscore to lpass_core. Fixes: 9499240d15f2 ("arm64: dts: qcom: sc7280: Add lpasscore & lpassaudio clock controllers") Signed-off-by: Taniya Das Signed-off-by: Satya Priya --- Changes since V1: - Updated the phandle reference in lpass_aon node. - As per Matthias' comment updated the commit text. arch/arm64/boot/dts/qcom/sc7280.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index 40e700c..73dddca 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -2174,6 +2174,7 @@ clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>; clock-names = "iface"; #clock-cells = <1>; + status = "disabled"; }; lpass_audiocc: clock-controller@3300000 { @@ -2185,6 +2186,7 @@ power-domains = <&lpass_aon LPASS_AON_CC_LPASS_AUDIO_HM_GDSC>; #clock-cells = <1>; #power-domain-cells = <1>; + #reset-cells = <1>; }; lpass_aon: clock-controller@3380000 { @@ -2192,13 +2194,13 @@ reg = <0 0x03380000 0 0x30000>; clocks = <&rpmhcc RPMH_CXO_CLK>, <&rpmhcc RPMH_CXO_CLK_A>, - <&lpasscore LPASS_CORE_CC_CORE_CLK>; + <&lpass_core LPASS_CORE_CC_CORE_CLK>; clock-names = "bi_tcxo", "bi_tcxo_ao", "iface"; #clock-cells = <1>; #power-domain-cells = <1>; }; - lpasscore: clock-controller@3900000 { + lpass_core: clock-controller@3900000 { compatible = "qcom,sc7280-lpasscorecc"; reg = <0 0x03900000 0 0x50000>; clocks = <&rpmhcc RPMH_CXO_CLK>; -- 2.7.4