From patchwork Fri Feb 24 13:53:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 61327 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp918679wrd; Fri, 24 Feb 2023 05:56:29 -0800 (PST) X-Google-Smtp-Source: AK7set9stq9dk2skeU3fhgTxTjvUtk8OkuXkUyzcNwioiCpsKfcZ9NSU/QTLbwc+9CgmAjlzoQFV X-Received: by 2002:a05:6a00:18a9:b0:594:1f1c:3d3b with SMTP id x41-20020a056a0018a900b005941f1c3d3bmr18890705pfh.16.1677246988899; Fri, 24 Feb 2023 05:56:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677246988; cv=none; d=google.com; s=arc-20160816; b=QyNDoOsnKH8fyDUPJKrYiT3qP7pNizAfKLQizH6ddpqshcr866QoFSUcRlFdDrdQ/v aecKHInJsJIzPva1NrpqSWbgv/C6+odzXRMpCJBZ3m4MG77GR66A1xKq0ruuCGZpeBUu ye8VkLb6v5UjFvO8O3nXAMbA2xgAjskTldFJSz/aZf3VVTQyzMO/xd8k6DMrJNbxSheh p7s/Dqh2s+0bCgrJ4EI97km/Rrxcq+OoRaDq6D7u7sCz2Lyd87q+G+S0KoeWMTuOyIn0 nBlQSIgAmFsG1AMNYx2DpwqZxBP98sFVy0girv2u82U2A4pvXAcZVYbXtKLf5YhqqWbg 2a5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=da8OQtJQFFjd0k6m0j5E5KdU0r6fSNpKM2B9bU0ke8Y=; b=uuD+W8JCTNtxoMba6rQxf6Q2y0sOdYfAyAHr2V2dhyYKml2hp9QM8FfLkNGmpxdLLF fm/oz8LvCaPLFIf02NihHLrqdW3nKh3WJM8HVTde61yBiszoucy6Eke7T30obOJ0vpEN Px1uO8M5q5pkY3zWrXunNWBHt6USfkQwnqR0qXDIhJ0+6A2bBvmtS/Nb/TCciIBqc6wp dpP0BHwifSrsH69+O4sqFrIVtfiPIxt5pB6LZFynmWemcNEVvgtJA2ax6xXX5SrbXy6t MucCHVi7hzBAdPwXWiTcx6HHnapU7/6QJx7SPXuwxiZLul74BXa524ecEboZN2A2DABP ZSQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t4GDcXdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x24-20020aa79ad8000000b005e3ff6ee57fsi1643248pfp.320.2023.02.24.05.56.15; Fri, 24 Feb 2023 05:56:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t4GDcXdG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229648AbjBXNxM (ORCPT + 99 others); Fri, 24 Feb 2023 08:53:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbjBXNxK (ORCPT ); Fri, 24 Feb 2023 08:53:10 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 707A020049 for ; Fri, 24 Feb 2023 05:53:09 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 02DCC618D8 for ; Fri, 24 Feb 2023 13:53:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5CC7C433D2; Fri, 24 Feb 2023 13:53:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677246788; bh=j1lRIIFwUewZc1+d+gHqvk0VXGdTAT0UfazS3PjzUmY=; h=Date:From:To:Cc:Subject:From; b=t4GDcXdGUtKWCkIkjcJURARTKLMmUTDyir9KNLE535taRM0VpKxtm4uYAgJwuA4yy vOb5KuDoHoAk9PWQ0HOMVew/c+QZsUXK0q0U/HN9D/hBeLQAvEz0CthkMqW7qq8YQa ZE7VYKIcLA4kj20l2HJ2S3cw1ZclOEGjeuGKrxbg2jv4GaNVdFv2kyYtFw6XuZTok4 2HJj/19gF7o9BKiNd552rYj2AG6SSadTp9Y0KnBcHCesWReXxsOonN+QJnLtPmKLvT 5TSg+T4Hm2uVsY3rxErVPd9XbDnJYbh09KdKClEyv7s9g6fd+/PNZwrLG37df551UO T6MJUdX8TT6XA== Date: Fri, 24 Feb 2023 19:23:04 +0530 From: Vinod Koul To: Linus Torvalds Cc: LKML Subject: [GIT PULL]: Soundwire updates for v6.3 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758720938712954997?= X-GMAIL-MSGID: =?utf-8?q?1758720938712954997?= Hello Linus, Please pull to receive updates for SoundWire subsystem for v6.3. This is small updates which features bit of core changes and driver updates in Intel and cadence driver. The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2: Linux 6.2-rc1 (2022-12-25 13:41:39 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/soundwire.git tags/soundwire-6.3-rc1 for you to fetch changes up to 66f95de7c13be5e442d8ed4cf00e13f8dbdc1315: soundwire: cadence: further simplify low-level xfer_msg_defer() callback (2023-01-31 20:01:52 +0530) ---------------------------------------------------------------- soundwire updates for 6.3 - Core: - sdw_transfer_defer() API change to dropan argument - Reset page address rework - Exporting sdw_nwrite_no_pm and sdw_nread_no_pm APIs - Drivers: - Cadence and related intel driver updates for FIFO handling and low level msg transfers ---------------------------------------------------------------- Charles Keepax (3): soundwire: Provide build stubs for common functions soundwire: debugfs: Switch to sdw_read_no_pm soundwire: stream: Move remaining register accesses over to no_pm Gaosheng Cui (1): soundwire: cadence: remove unused sdw_cdns_master_ops declaration Pierre-Louis Bossart (7): soundwire: intel: remove DAI startup/shutdown ASoC/soundwire: remove is_sdca boolean property soundwire: enable optional clock registers for SoundWire 1.2 devices soundwire: stream: use consistent pattern for freeing buffers soundwire: bus: remove sdw_defer argument in sdw_transfer_defer() soundwire: cadence: use directly bus sdw_defer structure soundwire: cadence: further simplify low-level xfer_msg_defer() callback Richard Fitzgerald (6): soundwire: cadence: Don't overflow the command FIFOs soundwire: cadence: Remove wasted space in response_buf soundwire: cadence: Drain the RX FIFO after an IO timeout soundwire: bus_type: Avoid lockdep assert in sdw_drv_probe() soundwire: bus: Don't zero page registers after every transaction soundwire: bus: Remove unused reset_page_addr() callback Simon Trimmer (1): soundwire: bus: export sdw_nwrite_no_pm and sdw_nread_no_pm functions drivers/soundwire/bus.c | 56 +++++------------ drivers/soundwire/bus.h | 3 +- drivers/soundwire/bus_type.c | 9 +-- drivers/soundwire/cadence_master.c | 80 ++++++++++++----------- drivers/soundwire/cadence_master.h | 22 ++++--- drivers/soundwire/debugfs.c | 13 +++- drivers/soundwire/intel.c | 27 -------- drivers/soundwire/intel_auxdevice.c | 1 - drivers/soundwire/stream.c | 38 +++++------ include/linux/soundwire/sdw.h | 122 ++++++++++++++++++++++++++++++------ sound/soc/codecs/rt1316-sdw.c | 1 - sound/soc/codecs/rt1318-sdw.c | 1 - sound/soc/codecs/rt711-sdca-sdw.c | 1 - 13 files changed, 207 insertions(+), 167 deletions(-)