Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1981506ybg; Thu, 24 Oct 2019 03:12:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUkzJEO3CtW18bQmmQPhESC3cvIpKLCBNRBbBSjw0TByUdve8SxlMYLPQbWGD/2HUkqcB/ X-Received: by 2002:aa7:c595:: with SMTP id g21mr41806971edq.79.1571911949724; Thu, 24 Oct 2019 03:12:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571911949; cv=none; d=google.com; s=arc-20160816; b=x6eomqX5RfpqT7gJ6930Gjb5QiOFxmj0fOWNrIqjkIR4EZLnZkmfUMRHBIkI0XUYFk rTVv43elRmQYum6u2CYAd8uQ688aWTaU5pldvAXPpDdUmXy12QVm61fbeZF+zyxBf+gX juNFmClXzAoW3a9eoqYcUiYbggoFApBbG9oGBn+81jmKDQz79vG9O5x8b7N2WNSmAEZC v8NtCdDSfn0/UxirUxdUfQm93BQnXIUYhPt44jIMGnY8ZuNxGPegs/TYNIOSEP7VhCF6 dQ7HsZ44HzYC0QhaNXUU30fm3AgySWPiO95IZSQpw/0WjKR+8IKm+HBrB8aDHaB1IAaD 16wA== 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=fjleIGleqcd82cvax65pz4ayCAOJm9+BTxwAwYnOIMk=; b=MbxgOGAskLpr0K/IHMCWJOs19Uz/rQN3R2BUAzURFO5bjqh2YRPzgli0zuYph1Tzwx bC+8wrMhHX8rW0TlHVMRVya/R5LJKpIbKsr6fkgKfY3tTdO1QO6N/XDSrMtgQuX/lMlC 7MRjAVfYYkrHddkwWw7VoeDa/JBIYdIXEWEEvDLWyINQv6mFDnE04RkTs20cyd/Kiwbe CYpdd8yhW/WvkjYFqWLy9DZjPsMm6XWIvrlUTtHGcj8m40xEE8USgrSsJNKrEgkff++g KAZKvjZBA/r6cJPd+HvpUl9vP4f5u+6ks+qnYTYIjNBjiDyDNmiFe3+2GfHOhWX3gtpj aB9Q== 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 w30si16804243edd.137.2019.10.24.03.12.06; Thu, 24 Oct 2019 03:12:29 -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 S2392543AbfJWV2h (ORCPT + 99 others); Wed, 23 Oct 2019 17:28:37 -0400 Received: from mga09.intel.com ([134.134.136.24]:24145 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733169AbfJWV2h (ORCPT ); Wed, 23 Oct 2019 17:28:37 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Oct 2019 14:28:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,222,1569308400"; d="scan'208";a="399541151" Received: from ayamada-mobl1.gar.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.254.95.208]) by fmsmga006.fm.intel.com with ESMTP; 23 Oct 2019 14:28:34 -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: [PATCH 00/14] soundwire: intel: implement new ASoC interfaces Date: Wed, 23 Oct 2019 16:28:09 -0500 Message-Id: <20191023212823.608-1-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org this patchset applies on top of the series "[PATCH 0/4] soundwire: update ASoC interfaces" and previously submitted cleanups "[PATCH v3 0/5] soundwire: intel/cadence: better initialization" The changes are essentially a removal of the platform devices and the implementation of the new interfaces required to scan the ACPI tables, probe the links and start them. The missing prepare, trigger and setup ASoC callbacks are also implemented. The hw_params and free callbacks use the new interfaces as well. While there are quite a few lines of code changed, this is mostly about interface changes. The next series will contain more functional changes and deal with race conditions on probe, enumeration and suspend/resume issues. Bard Liao (1): soundwire: add device driver to sdw_md_driver Pierre-Louis Bossart (10): soundwire: renames to prepare support for master drivers/devices soundwire: rename dev_to_sdw_dev macro soundwire: rename drv_to_sdw_slave_driver macro soundwire: bus_type: rename sdw_drv_ to sdw_slave_drv soundwire: intel: rename res field as link_res soundwire: add support for sdw_slave_type soundwire: add initial definitions for sdw_master_device soundwire: intel: remove platform devices and provide new interface soundwire: intel: free all resources on hw_free() soundwire: intel_init: add implementation of sdw_intel_enable_irq() Rander Wang (3): 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 drivers/base/regmap/regmap-sdw.c | 4 +- drivers/soundwire/Makefile | 2 +- drivers/soundwire/bus.c | 2 +- drivers/soundwire/bus_type.c | 60 +++--- drivers/soundwire/intel.c | 280 ++++++++++++++++++++++----- drivers/soundwire/intel.h | 8 +- drivers/soundwire/intel_init.c | 300 ++++++++++++++++++++++------- drivers/soundwire/master.c | 64 ++++++ drivers/soundwire/slave.c | 9 +- include/linux/soundwire/sdw.h | 39 +++- include/linux/soundwire/sdw_type.h | 34 +++- 11 files changed, 642 insertions(+), 160 deletions(-) create mode 100644 drivers/soundwire/master.c -- 2.20.1