Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp908180iob; Wed, 4 May 2022 10:23:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxrEgvpQBjVfdbSuz67VoAIoqqrTgpkVPcYLVmwV2QUXVNL0BJt8wjb8lwAGToGkzbO7brS X-Received: by 2002:a17:906:8a79:b0:6f3:c84b:42f2 with SMTP id hy25-20020a1709068a7900b006f3c84b42f2mr20474053ejc.499.1651685008014; Wed, 04 May 2022 10:23:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651685008; cv=none; d=google.com; s=arc-20160816; b=ul5ZUQ3S1PJ1JWmoQpLGm661jtIzzRdYfuyIjHN/jT1H2zVbNndjO0nJ0xTWTqMark yItR5ULm27B7Gb2YL7s7iwMwPvq6Xt6BN21+yYA4eeiAAxrbTWz/+bE0GQveu3CoJwX4 8CZQG79Uz2kWXvB7JbsoGuNnoTRheQ9LC/dsWDor5pZGcjHhQFGRxm7XPhYal5dGwNXu WRHHurYQg/Fdd1ucDSddUbvJGDvVeuH0WHcf+p8HB/8g8BF41uX1kZ/3ABQHI3PuSBn6 Ix0Ukmokw7erI9OQqSpt8DvAeDMJNtwz820w/AtWhb85voEg4bMES8zJ0NPiD7Xxzfx9 Vh0Q== 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=RLfO9m5T+829BIFJqaZKW/74n31TKdrvPbzYS9l8eyk=; b=1IAugd9jw//8Sd5hMPWXJUg8Tmkt5CjFVPnDjFwYgeG4wCZzplCdeUxHnBsTDhRO4i NaGPiFJyCqg/jZaXw3Fc5OQiT8cVbOcIhl0fOzo9kvrp49ieehIS7C7Gx7n4xF3nkc/+ zWO153T1pKYg0PxOvPrFyvQkFNU6GuzuGd5yY8m1m8khqqzQRMjSUVumJx8v1nA9QmcD qgBdzrBaXJQ73uuXXiRH7s9FaY+3Fu/IOYoledAEAXB33vhMet9QMao0k44CtdCQdO3J zUB9+tcdtIEEc6HpKDrUo7PtJbllc40unbHyTkrzn40oxHacA/PMZJcVLXkkrSR2+gHm kZfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=yQiWTn+t; 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 b17-20020a170906195100b006e875262481si17164674eje.936.2022.05.04.10.23.03; Wed, 04 May 2022 10:23:28 -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=yQiWTn+t; 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 S1349025AbiEDLs7 (ORCPT + 99 others); Wed, 4 May 2022 07:48:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54776 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349046AbiEDLsm (ORCPT ); Wed, 4 May 2022 07:48:42 -0400 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA2572C67E; Wed, 4 May 2022 04:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1651664707; x=1683200707; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=RLfO9m5T+829BIFJqaZKW/74n31TKdrvPbzYS9l8eyk=; b=yQiWTn+tGLl75RQ4CIo/pYP76Zl0kB7XhQRRs3pdUG7U2F5k//llRUX0 E5VGXXt42nypqmM5b0xhFjawsUZMo/4IhR62S9ZGnCmwA1iZ1Ky/mUHcq VSzzODL5Pk8pQPRl6fh/AiOw9/oDhJdlAItJfXTtvbwRYl/UAL9iG/57J Y=; Received: from unknown (HELO ironmsg05-sd.qualcomm.com) ([10.53.140.145]) by alexa-out-sd-01.qualcomm.com with ESMTP; 04 May 2022 04:45:06 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg05-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 May 2022 04:45:06 -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; Wed, 4 May 2022 04:45:05 -0700 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.22; Wed, 4 May 2022 04:45:01 -0700 From: Srinivasa Rao Mandadapu To: , , , , , , , , , , CC: Srinivasa Rao Mandadapu , "Venkata Prasad Potturu" Subject: [PATCH v11 08/12] arm64: dts: qcom: sc7280: Add lpass cpu node Date: Wed, 4 May 2022 17:14:05 +0530 Message-ID: <1651664649-25290-9-git-send-email-quic_srivasam@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1651664649-25290-1-git-send-email-quic_srivasam@quicinc.com> References: <1651664649-25290-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-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 Add lpass cpu node for audio on sc7280 based platforms. Signed-off-by: Srinivasa Rao Mandadapu Co-developed-by: Venkata Prasad Potturu Signed-off-by: Venkata Prasad Potturu Reviewed-by: Matthias Kaehlcke Reviewed-by: Stephen Boyd --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 62 ++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi index fc63051..e4b7140 100644 --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi @@ -22,6 +22,7 @@ #include #include #include +#include #include / { @@ -2336,6 +2337,67 @@ #power-domain-cells = <1>; }; + lpass_cpu: audio@3987000 { + compatible = "qcom,sc7280-lpass-cpu"; + + reg = <0 0x03987000 0 0x68000>, + <0 0x03b00000 0 0x29000>, + <0 0x03260000 0 0xc000>, + <0 0x03280000 0 0x29000>, + <0 0x03340000 0 0x29000>, + <0 0x0336c000 0 0x3000>; + reg-names = "lpass-hdmiif", + "lpass-lpaif", + "lpass-rxtx-cdc-dma-lpm", + "lpass-rxtx-lpaif", + "lpass-va-lpaif", + "lpass-va-cdc-dma-lpm"; + + iommus = <&apps_smmu 0x1820 0>, + <&apps_smmu 0x1821 0>, + <&apps_smmu 0x1832 0>; + + power-domains = <&rpmhpd SC7280_LCX>; + power-domain-names = "lcx"; + required-opps = <&rpmhpd_opp_nom>; + + clocks = <&lpass_aon LPASS_AON_CC_AUDIO_HM_H_CLK>, + <&lpass_audiocc LPASS_AUDIO_CC_EXT_MCLK0_CLK>, + <&lpasscore LPASS_CORE_CC_SYSNOC_MPORT_CORE_CLK>, + <&lpasscore LPASS_CORE_CC_EXT_IF0_IBIT_CLK>, + <&lpasscore LPASS_CORE_CC_EXT_IF1_IBIT_CLK>, + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM_CLK>, + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM0_CLK>, + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM1_CLK>, + <&lpass_audiocc LPASS_AUDIO_CC_CODEC_MEM2_CLK>, + <&lpass_aon LPASS_AON_CC_VA_MEM0_CLK>; + clock-names = "aon_cc_audio_hm_h", + "audio_cc_ext_mclk0", + "core_cc_sysnoc_mport_core", + "core_cc_ext_if0_ibit", + "core_cc_ext_if1_ibit", + "audio_cc_codec_mem", + "audio_cc_codec_mem0", + "audio_cc_codec_mem1", + "audio_cc_codec_mem2", + "aon_cc_va_mem0"; + + #sound-dai-cells = <1>; + #address-cells = <1>; + #size-cells = <0>; + + interrupts = , + , + , + ; + interrupt-names = "lpass-irq-lpaif", + "lpass-irq-hdmi", + "lpass-irq-vaif", + "lpass-irq-rxtxif"; + + status = "disabled"; + }; + lpass_hm: clock-controller@3c00000 { compatible = "qcom,sc7280-lpasshm"; reg = <0 0x3c00000 0 0x28>; -- 2.7.4