From patchwork Thu May 21 14:27:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 11563057 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 D8B061392 for ; Thu, 21 May 2020 14:28:40 +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 6B2942072C for ; Thu, 21 May 2020 14:28:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="NEQmNtX/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OzZJrHdE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B2942072C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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 AFCCA1827; Thu, 21 May 2020 16:27:52 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AFCCA1827 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1590071318; bh=45si3ZDX8+CTnWHHDSXuNiYj4XJAuQTAtiOhyfpPBJw=; h=Date:From:To:Subject:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=NEQmNtX/GYHYHhFV52J0QAOubP8VwKF4dSb/uVreq6ZWlSY4tMowORcJsl8mO27M7 VtoagIfDDRGkiGcHrlrRYx+bCeAVOm24ny9AbYoN4nZXjLu1AvuY6rpOKHNC7Ks7DX Uv+Un6EdF+s6s8RJ6sGZnXnsAYl0fIv3pY51V3Ig= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 456A1F801A3; Thu, 21 May 2020 16:27:52 +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 964B3F801D8; Thu, 21 May 2020 16:27:50 +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.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,SPF_PASS autolearn=disabled version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0AF00F80161 for ; Thu, 21 May 2020 16:27:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0AF00F80161 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="OzZJrHdE" Received: from localhost (unknown [106.200.226.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D77262072C; Thu, 21 May 2020 14:27:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590071264; bh=45si3ZDX8+CTnWHHDSXuNiYj4XJAuQTAtiOhyfpPBJw=; h=Date:From:To:Cc:Subject:From; b=OzZJrHdEO/x2TOzEntiJeA5o5Bq1eECq/z9U3qNkrOF653dWhh/Lp/Dkx0xg2Gvr/ cgQ3jLE8xln179VS8r2HPL+ggmTfWYu06Ixch+WIguXK3o5/1oy0OOUHBQ5wDqiNsZ vFTxH/QiD600NsGA2TuprtuVvycU8PH11qIMgE00= Date: Thu, 21 May 2020 19:57:39 +0530 From: Vinod Koul To: Greg KH Subject: [GIT PULL] soundwire updates for v5.8-rc1 Message-ID: <20200521142739.GB374218@vkoul-mobl.Dlink> MIME-Version: 1.0 Content-Disposition: inline Cc: alsa-devel@alsa-project.org, LKML 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" Hi Greg, Please pull to receive updates for soundwire. The big news the sdw_master_device getting completed along with sysfs attributes for master and slave devices. That closes the long cleanup work done by Pierre and Bard for the devices. The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git tags/soundwire-5.8-rc1 for you to fetch changes up to fcbcf1f7b56855ffe1cec768cb1013c5a4c854c3: soundwire: intel: use a single module (2020-05-20 19:24:55 +0530) ---------------------------------------------------------------- soundwire updates for v5.8-rc1 This contains sdw_master_device patches and other updates done by Intel folks. Details: - sdw_master_device to represent the master instances. - sysfs properties for sdw_master_device and sdw_slave. - Documentation update for TDM modes. - some code cleanup patches and odd updates. ---------------------------------------------------------------- Bard Liao (2): soundwire: bus: add unique bus id soundwire: master: add runtime pm support Guennadi Liakhovetski (2): soundwire: (cosmetic) remove multiple superfluous "else" statements soundwire: intel: (cosmetic) remove multiple superfluous "else" statements Kuninori Morimoto (1): soundwire: intel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer Pierre-Louis Bossart (11): soundwire: qcom: fix error handling in probe Documentation: SoundWire: clarify TDM mode support soundwire: slave: don't init debugfs on device registration error soundwire: debugfs: clarify SDPX license with GPL-2.0-only soundwire: bus: reduce verbosity on enumeration soundwire: bus: rename sdw_bus_master_add/delete, add arguments soundwire: bus_type: introduce sdw_slave_type and sdw_master_type soundwire: bus_type: add sdw_master_device support soundwire: disco: s/ch/channels/ soundwire: master: add sysfs support soundwire: add Slave sysfs support Rander Wang (1): soundwire: intel: use a single module Samuel Zou (1): soundwire: qcom: Use IRQF_ONESHOT Vinod Koul (2): soundwire: fix trailing line in sysfs_slave.c soundwire: fix spelling mistake .../ABI/testing/sysfs-bus-soundwire-master | 23 ++ .../ABI/testing/sysfs-bus-soundwire-slave | 91 +++++++ Documentation/driver-api/soundwire/stream.rst | 89 +++++- Documentation/driver-api/soundwire/summary.rst | 7 +- drivers/soundwire/Makefile | 8 +- drivers/soundwire/bus.c | 71 +++-- drivers/soundwire/bus.h | 4 + drivers/soundwire/bus_type.c | 22 +- drivers/soundwire/cadence_master.c | 8 +- drivers/soundwire/debugfs.c | 2 +- drivers/soundwire/intel.c | 13 +- drivers/soundwire/intel_init.c | 4 +- drivers/soundwire/master.c | 172 ++++++++++++ drivers/soundwire/mipi_disco.c | 11 +- drivers/soundwire/qcom.c | 34 ++- drivers/soundwire/slave.c | 10 +- drivers/soundwire/sysfs_local.h | 14 + drivers/soundwire/sysfs_slave.c | 214 +++++++++++++++ drivers/soundwire/sysfs_slave_dpn.c | 300 +++++++++++++++++++++ include/linux/soundwire/sdw.h | 32 ++- include/linux/soundwire/sdw_type.h | 9 +- 21 files changed, 1066 insertions(+), 72 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-soundwire-master create mode 100644 Documentation/ABI/testing/sysfs-bus-soundwire-slave create mode 100644 drivers/soundwire/master.c create mode 100644 drivers/soundwire/sysfs_local.h create mode 100644 drivers/soundwire/sysfs_slave.c create mode 100644 drivers/soundwire/sysfs_slave_dpn.c