From patchwork Thu Sep 22 21:36:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjani Sridharan X-Patchwork-Id: 608614 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B63A3C6FA82 for ; Thu, 22 Sep 2022 21:38:19 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id CD33782B; Thu, 22 Sep 2022 23:37:27 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz CD33782B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663882697; bh=OgnU7KxwBJxa9g4IaopFx0Pbsmxfrs7KgiNvT+oOTTk=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=RTkJbLzaATO5eeXJnlqpEt7fWENVwnKdJ5cYIeWr4Ccs/7whKKlCmBMjxLltWNQFJ tS31qXP6h8mk3oMhu74iMbRfk/Q06JpaNJEEW6QaSKR7X3hQOvW4hLiO+2k8FwgwnL K57nCPf6cN3kzoSIAcG+9aJvCkJhd+BFSjSOB3s4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 02F55F8027B; Thu, 22 Sep 2022 23:37:08 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 02CBDF8053D; Thu, 22 Sep 2022 23:37:03 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 54311F80107 for ; Thu, 22 Sep 2022 23:36:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 54311F80107 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="oCDLq3T7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663882617; x=1695418617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=OgnU7KxwBJxa9g4IaopFx0Pbsmxfrs7KgiNvT+oOTTk=; b=oCDLq3T7V7qz3Ev8ZmxgVS0lbcQtfgy03yVuWkYT902EDic66cEx5932 7RquerT+wj6mzLNtJsFgCIfYUJgsIsAhxo4YaTZIwqJ62wRmi9gICai3R ROTsRNC1P8adczBIjCpudDLK8PapoDfcCRsoinkWfxnCaHoMf1ivdh8eA wJuYw6E2/5QKgCFrjh/8eXP/yGuAGV2HSPsCh8OZU15SmHEJtmS87qk2c rDdqsD0hO96lZUJvKLgSh9UzuGKFfvghxUvPTYQR3nrYz5uCx/tn+oJI+ WSHA3ACHgAOW0BT+wQiae0qwQkJohzksZR/ydPWHY0OocYxiNAD9R1w/4 A==; X-IronPort-AV: E=McAfee;i="6500,9779,10478"; a="386725759" X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="386725759" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 14:36:50 -0700 X-IronPort-AV: E=Sophos;i="5.93,337,1654585200"; d="scan'208";a="745550840" Received: from jpwarner-mobl2.amr.corp.intel.com (HELO rsridh2-mobl1.localdomain) ([10.254.13.62]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2022 14:36:50 -0700 From: Ranjani Sridharan To: alsa-devel@alsa-project.org Subject: [PATCH 01/10] ASoC: SOF: Intel: introduce new op to handle dsp power down Date: Thu, 22 Sep 2022 14:36:35 -0700 Message-Id: <20220922213644.666315-2-ranjani.sridharan@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220922213644.666315-1-ranjani.sridharan@linux.intel.com> References: <20220922213644.666315-1-ranjani.sridharan@linux.intel.com> MIME-Version: 1.0 Cc: tiwai@suse.de, Ranjani Sridharan , Rander Wang , Fred Oh , broonie@kernel.org, Bard Liao X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Fred Oh DSP core power down sequences are different between cavs platforms and MTL. Signed-off-by: Fred Oh Reviewed-by: Rander Wang Reviewed-by: Bard Liao Signed-off-by: Ranjani Sridharan --- sound/soc/sof/intel/shim.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/sof/intel/shim.h b/sound/soc/sof/intel/shim.h index 638159bee864..c7b4b1e0a824 100644 --- a/sound/soc/sof/intel/shim.h +++ b/sound/soc/sof/intel/shim.h @@ -186,6 +186,7 @@ struct sof_intel_dsp_desc { enum sof_intel_hw_ip_version hw_ip_version; bool (*check_sdw_irq)(struct snd_sof_dev *sdev); bool (*check_ipc_irq)(struct snd_sof_dev *sdev); + int (*power_down_dsp)(struct snd_sof_dev *sdev); int (*cl_init)(struct snd_sof_dev *sdev, int stream_tag, bool imr_boot); };