Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1306434ybl; Wed, 21 Aug 2019 13:19:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyzzcKdVYSkEDOEoRGjqXz0LwKangBss/txctZWaq9m8ugol6bn+eSYkmAe4kgzV+xgU0Fs X-Received: by 2002:a17:902:822:: with SMTP id 31mr17717871plk.343.1566418750540; Wed, 21 Aug 2019 13:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566418750; cv=none; d=google.com; s=arc-20160816; b=E0EbAQHBduzkf7TQruVX2lE8K9NPXXp1uVDwNt/Pyft3g3UHK3BRnCGK5LpRrczvUG ZUDieDt8A/sURxcuskCcHOrCR0Pw324F7oZd19FFBdQedqGi4s9eNKg4FbpsSvzLl0S2 OnyUD6MGI18yodSuwlsei9oAM/B0WkB1BGNisSAuWjyy0yeTIflmaX2VXt29MMsclX2s D3ngeEmvd6FJ8AzwaU4dgJxIl6pLJ4R7mE37frmNlmoLM17gYAW4h3nSV2Zrqo8f89Pe p8tccDkXTMXaQZlp4iTE8oXZa01AGw/IaRfFduLfuLxtWtOoQRWFwfdtcrEFVy3DJ7KM WiLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=eiEMGvSpHk11ZKSICUMY0Saq3sXi+r4yp8Zq+MTUcW4=; b=nYN001lZFYvraD7DhvUzPJDw2FXB2Vkeg83cKA3zsiGkwKGccrjenkRWFjUhk/I4jj Dv6wd0yUe84rniHZatVit69LdWgvPNKeZAA9q81C+VeItgt5NgryzgSQ4PF5AZpGyiuE zH6lhqZLmgX5E0Biq37bVCR+A8/oxBPBHLD8uHs4mn3biCo83EzL+SqDrhSK5j3ezmz0 bUCouZc7yBI77ShUao6NgxwUbRvm6JDtoyAaC1YHrvY/8zaZMDgYjMbGS6SpQyHZh4py 7OhJxfHCiB61rr3GUXsJerOltSD5O887K1AlS/mSGMcg+zvZL9OmfBnJEWh8CQ4T+jPH d8EQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23si696582pjn.19.2019.08.21.13.18.55; Wed, 21 Aug 2019 13:19:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730379AbfHUUR3 (ORCPT + 99 others); Wed, 21 Aug 2019 16:17:29 -0400 Received: from mga12.intel.com ([192.55.52.136]:3444 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728955AbfHUUR3 (ORCPT ); Wed, 21 Aug 2019 16:17:29 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Aug 2019 13:17:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,412,1559545200"; d="scan'208";a="186344083" Received: from smasango-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.252.139.100]) by FMSMGA003.fm.intel.com with ESMTP; 21 Aug 2019 13:17:26 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: linux-kernel@vger.kernel.org, tiwai@suse.de, broonie@kernel.org, vkoul@kernel.org, gregkh@linuxfoundation.org, jank@cadence.com, srinivas.kandagatla@linaro.org, slawomir.blauciak@intel.com, Bard liao , Rander Wang , Ranjani Sridharan , Pierre-Louis Bossart Subject: [RFC PATCH 0/5] ASoC: SOF: Intel: SoundWire initial integration Date: Wed, 21 Aug 2019 15:17:15 -0500 Message-Id: <20190821201720.17768-1-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This RFC is the companion of the other RFC 'soundwire: intel: simplify DAI/PDI handling​'. Our purpose at this point is to gather feedback on the interfaces between the Intel SOF parts and the SoundWire code. The suggested solution is a simple init/release inserted at probe/remove and resume/suspend, as well as two callbacks for the SOF driver to generate IPC configurations with the firmware. That level of separation completely hides the details of the SoundWire DAIs and will allow for 'transparent' multi-cpu DAI support, which will be handled in the machine driver and the soundwire DAIs. This solution was tested on IceLake and CometLake, and captures the feedback from SOF contributors on an initial integration that was deemed too complicated (and rightly so). Pierre-Louis Bossart (5): ASoC: SOF: IPC: dai-intel: move ALH declarations in header file ASoC: SOF: Intel: hda: add helper to initialize SoundWire IP ASoC: SOF: Intel: hda: add SoundWire IP support ASoC: SOF: Intel: hda: add SoundWire stream config/free callbacks ASoC: SOF: Intel: add support for SoundWire suspend/resume include/sound/sof/dai-intel.h | 18 ++-- sound/soc/sof/intel/hda-dsp.c | 11 +++ sound/soc/sof/intel/hda.c | 157 ++++++++++++++++++++++++++++++++++ sound/soc/sof/intel/hda.h | 11 +++ 4 files changed, 188 insertions(+), 9 deletions(-) base-commit: 3b3aaa017e8072b1bfddda92be296b3463d870be -- 2.20.1