From patchwork Mon Sep 16 21:42:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 11147909 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E656A912 for ; Mon, 16 Sep 2019 21:43:59 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0CFF7214D9 for ; Mon, 16 Sep 2019 21:43:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="Ee/Kyby8" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CFF7214D9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org 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 D755E165D; Mon, 16 Sep 2019 23:43:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D755E165D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1568670237; bh=99irtEXCuUT4iiWs4fvmNjZw5iBR7jI6jJ4j/vuS/68=; h=From:To:Date:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Ee/Kyby8EVQRK5QUXvjOzIBa72uppkDT8XksZpCi319mAuDAVvFECO/jvbrQrzjAX ZsD3DwNDzU9SdCMCT0h5fwonaMnk7cVM99M2c9M319MAaTxPL2YrmARBQwLZ2d7p5P Rbgqj3By2gaIC7yEIvajy6uFq5tKyP0fywShvmW8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E4BCEF801DA; Mon, 16 Sep 2019 23:43:05 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 35CAFF80535; Mon, 16 Sep 2019 23:43:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=disabled version=3.4.0 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) (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 7E84FF801DA for ; Mon, 16 Sep 2019 23:43:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E84FF801DA X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Sep 2019 14:42:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,514,1559545200"; d="scan'208";a="198479862" Received: from dgitin-mobl.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.251.142.45]) by orsmga002.jf.intel.com with ESMTP; 16 Sep 2019 14:42:56 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Date: Mon, 16 Sep 2019 16:42:39 -0500 Message-Id: <20190916214251.13130-1-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Cc: Pierre-Louis Bossart , tiwai@suse.de, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Ranjani Sridharan , vkoul@kernel.org, broonie@kernel.org, srinivas.kandagatla@linaro.org, jank@cadence.com, slawomir.blauciak@intel.com, Bard liao , Rander Wang Subject: [alsa-devel] [RFC PATCH 00/12] soundwire/SOF: updated interfaces, functional integration 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" This series builds on the 'soundwire: add Master device support, GreyBus style' RFC'. It provides enhancements to the stream callbacks, a split initialization. Most of the SOF patches were already submitted in an earlier RFC, and feedback on the parameters was taken into account. The main change here are the API changes with a split between ACPI scan, probe, startup steps. Known limits: a) Power management (regular suspend/resume and pm_runtime) is not supported for now as we need to run additional checks on hardware. This will be provided as a separate series. b) during validation checks on CML/ICL, initialization and playback/capture worked fine, but we observed a reproducible system freeze while doing load/unload tests, so likely an initialization missing or a leak to be fixed. Comments and feedback welcome. Pierre-Louis Bossart (7): ASoC: soc-acpi: add link_mask field ASoC: SOF: support alternate list of machines ASoC: SOF: Intel: add SoundWire configuration interface ASoC: SOF: Intel: add build support for SoundWire ASoC: SOF: IPC: dai-intel: move ALH declarations in header file ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks ASoC: SOF: Intel: hda: initial SoundWire machine driver autodetect Rander Wang (5): soundwire: intel: update stream callbacks for hwparams/free stream operations soundwire: intel: add prepare support in sdw dai driver soundwire: intel: add trigger support in sdw dai driver soundwire: intel: add sdw_stream_setup helper for .startup callback soundwire: intel: free all resources on hw_free() drivers/soundwire/intel.c | 181 ++++++++++++++++++- drivers/soundwire/intel_init.c | 2 +- include/linux/soundwire/sdw_intel.h | 40 ++++- include/sound/soc-acpi.h | 2 + include/sound/sof.h | 3 + include/sound/sof/dai-intel.h | 18 +- sound/soc/sof/intel/Kconfig | 23 +++ sound/soc/sof/intel/hda-loader.c | 9 + sound/soc/sof/intel/hda.c | 261 +++++++++++++++++++++++++++- sound/soc/sof/intel/hda.h | 36 ++++ 10 files changed, 546 insertions(+), 29 deletions(-)