From patchwork Wed Apr 25 09:39:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 141633 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp626465lji; Wed, 25 Apr 2018 02:34:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+g+A2zJccQLfZIN5VOAm9PzNAhY7f34vAWMA91ZGA9Cd1ABtD2pl2PCecGGPnugWr1UGoD X-Received: by 2002:adf:9142:: with SMTP id j60-v6mr22930088wrj.222.1524648894528; Wed, 25 Apr 2018 02:34:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524648894; cv=none; d=google.com; s=arc-20160816; b=K1FjySwlGm/sZrFze5gC2Kn7h32DgC21colcHQVTdHYV6nDoZ3oG++ZmdvzuXlvB5O PT4PIreolWo+TFk7UNxCywrc3hYSGJyVcANam62ayUod6CJXS0sbjbvZFjJBFNFH0GWj z2Ms5uZGm6LV6tDDig9dXWJKnxSDY5dDqpiCVWmuewCuj0G4uCCCU/08klgcTTNEh2hv 0VUE/TG8yIFtuhHdhYWmAfD0Rch6G2OQU2r2nZWtvclssZKz4VcMsEkf7ZQMHMCeicdQ 5a3NupwejFBTPn9ABBvP7rIGpCFi1MXBf/9FnzCYep3DqbiXpaYQ0YirH6VhxadYtE/l tXIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:message-id:date:to:from:delivered-to :arc-authentication-results; bh=sREa3+RwUGVJUyXk31iZuIaGbGuFyp+e06ajrTxrObs=; b=eIM+PwTZOyrfxvF8nLebhM5f8eotGErw3WDhTFWds90o5BvwycIJkx+Mi0UpGZMMGO SKnz3beMGGkCCfwQo0KMyOGJLYwLksxcwXnNZurJ7e/UiGlbqSUrm7HB9LsQfNjriaoz OC1nnQTkLiTTZeqch7Y6MfEessM8ORtNZfX7YPhXQvYl1bz/Nzt6tDEupPRxdyWIxKB8 UHoX+jsfZSDb/eppa9W2SjsCN1/KQ98KwCFH8IZyB7c+Dz+DOZsoGi9r8tojz5N6mjLI hlBG7+ifQol+NUppV0VLbzhMOx7V2+xg8rID33iBDL4hBfNkr/hnMRcQ4zavyD4LkA3S j/fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Return-Path: Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id j5si6967471wmh.61.2018.04.25.02.34.54; Wed, 25 Apr 2018 02:34:54 -0700 (PDT) Received-SPF: pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) client-ip=77.48.224.243; Authentication-Results: mx.google.com; spf=pass (google.com: domain of alsa-devel-bounces@alsa-project.org designates 77.48.224.243 as permitted sender) smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 5B43926770C; Wed, 25 Apr 2018 11:34:51 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 25FCC26770C; Wed, 25 Apr 2018 11:34:49 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI autolearn=disabled version=3.4.0 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by alsa0.perex.cz (Postfix) with ESMTP id 37ED0266CA1 for ; Wed, 25 Apr 2018 11:34:45 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 02:34:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,325,1520924400"; d="scan'208";a="34503747" Received: from vkoul-udesk7.iind.intel.com ([10.223.84.143]) by fmsmga007.fm.intel.com with ESMTP; 25 Apr 2018 02:34:41 -0700 From: Vinod Koul To: Greg KH Date: Wed, 25 Apr 2018 15:09:10 +0530 Message-Id: <1524649163-12088-1-git-send-email-vkoul@kernel.org> X-Mailer: git-send-email 2.7.4 Cc: ALSA , tiwai@suse.de, Pierre-Louis Bossart , liam.r.girdwood@linux.intel.com, patches.audio@intel.com, Vinod Koul , broonie@kernel.org Subject: [alsa-devel] [PATCH v5 00/13] soundwire: Add stream support X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 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: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org This series adds support in SoundWire subsystem for: - Documentation for stream support - stream management - data port management - DAI ops in cadence and Intel drivers - ASoC API to propagate SDW stream Updated in v5: - Add todo for device-device changes in future and some comment updates based on feedback from Pierre Updates in v4: - Add more comments for sdw_release_master_stream() - Make sure ports are freed upon sdw_stream_remove_slave() - Clarify snd_soc_dai_set_sdw_stream() and setting of NULL upon release. Updates in v3: - Remove stream state transition checks and redefine stream states - Update bansk switch routines - Other nitpicks pointed out by Pierre. Updates in v2: - Make ASoC API inlined - Make stream states as states and not action - Update the direction enum - Fix some typos and comment updates Sanyog Kale (7): Documentation: soundwire: Add more documentation soundwire: Add support for SoundWire stream management soundwire: Add support for port management soundwire: Add Master and Slave port programming soundwire: Add helpers for ports operations soundwire: Add bank switch routine soundwire: Add stream configuration APIs Shreyas NC (2): ASoC: Add SoundWire stream programming interface soundwire: Remove cdns_master_ops Vinod Koul (4): soundwire: cdns: Add port routines soundwire: cdns: Add stream routines soundwire: intel: Add stream initialization soundwire: intel: Add audio DAI ops .../driver-api/soundwire/error_handling.rst | 65 + Documentation/driver-api/soundwire/index.rst | 3 + Documentation/driver-api/soundwire/locking.rst | 106 ++ Documentation/driver-api/soundwire/stream.rst | 372 +++++ drivers/soundwire/Kconfig | 2 +- drivers/soundwire/Makefile | 2 +- drivers/soundwire/bus.c | 43 + drivers/soundwire/bus.h | 72 + drivers/soundwire/cadence_master.c | 453 +++++- drivers/soundwire/cadence_master.h | 151 ++ drivers/soundwire/intel.c | 528 ++++++- drivers/soundwire/intel.h | 4 + drivers/soundwire/intel_init.c | 3 + drivers/soundwire/stream.c | 1490 ++++++++++++++++++++ include/linux/soundwire/sdw.h | 332 ++++- include/linux/soundwire/sdw_intel.h | 14 + include/sound/soc-dai.h | 23 + 17 files changed, 3649 insertions(+), 14 deletions(-) create mode 100644 Documentation/driver-api/soundwire/error_handling.rst create mode 100644 Documentation/driver-api/soundwire/locking.rst create mode 100644 Documentation/driver-api/soundwire/stream.rst create mode 100644 drivers/soundwire/stream.c -- 2.7.4 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel