Message ID | 20230531033736.792464-1-yung-chuan.liao@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp2612112vqr; Tue, 30 May 2023 20:28:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6TUmqbBYiznI1dj0RuPbRhyPkBmmK+p/SScGH1OL56Agu4LuWX90P6nyVG9Puu0eoAqp4R X-Received: by 2002:a05:6358:5903:b0:123:41df:5196 with SMTP id g3-20020a056358590300b0012341df5196mr732113rwf.7.1685503686934; Tue, 30 May 2023 20:28:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685503686; cv=none; d=google.com; s=arc-20160816; b=GfCt6H4vMdNkZebonRNO4Xju2sMeXXFne/DsrAsHHYfyLnlejnNf/bUPoEe2/S7uya 5OjMmMAdalLf/DPh8bjMDT5mozAGpCYAS8nFhXUKYqQiPQyLAvwFM0SwmxHvjEPzpsrS zB6A41TI8mVwQQTiQxPuoXAcxmhoTrV7dRN+jGoty/6Q5viNpTvuEkDPulNu7eoDWiqa 1a634PAMfhtCFDK7ExpXfuUM0xzQbfauGZ+bvvhhbyFFuYz8JdZbCQ1htcgqXcLY5dur 4rAzFXVF/0+2+KGxj+3rnDW4Jyllj8rhaTK3bNwW7iwjTSwJl9G1oeXL5X+i4y8wumeY bBYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C5eOUD2I8fPS5hrP2XjyGdXD/lQy/fGDm3lbZ2iiPGU=; b=J97FKYhPaFBmJ+Pgw/NfUySKEp6+F7VYeP8W10yqdfSW4GysDunffuP71Z2el2HHJT XC6fCSE63gPOcBU0LIWwfZHe8MyvybCZ2OBamPSzu0c9MsSNhCn+c45nANzeDrmd6aFn Txy4YHeBV0X8lHjOWyesIe4IARpKCF7nyoVuK5QRyU24llvtn+a86tvTURBM+6Ux1rsI oDi2EvC1tP4VioDnK/K2QF5ftFbC0nrtZRZUxJHunPIcb5QsD4NqxONY9YV7DSEaQdoR wpeuK5dtlB9mPeYY8w/Mhh9zGW7aicg347gV+drOeX349m7HmcXh3ytkRu8K2bS3gXRs GcYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Z8gFSqa/"; 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=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d15-20020a17090a498f00b002402275fc56si199875pjh.118.2023.05.30.20.27.54; Tue, 30 May 2023 20:28:06 -0700 (PDT) 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=@intel.com header.s=Intel header.b="Z8gFSqa/"; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233993AbjEaDPz (ORCPT <rfc822;callmefire3@gmail.com> + 99 others); Tue, 30 May 2023 23:15:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234102AbjEaDPg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 30 May 2023 23:15:36 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BAED188 for <linux-kernel@vger.kernel.org>; Tue, 30 May 2023 20:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685502934; x=1717038934; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/VL76X1WW1uKCaAq0pPGpA4itNI1rlmGDz9p+rE4p1w=; b=Z8gFSqa/t1VFM6vrfo1By2Ua7EGYL9Ot54iUZ98RfZCvkUJoEr8A1UtO +uPBOoDoQvSE/DY3JOZ2b+zkfl4HLV4Do+oE7asgUuaeN17Q5+wy7ZPoi MyhHeURhtvyI/+iHkUMcEw9N4Irc8BAtoZ6H9P90ha0Ol9BVNzGFhSFLj QHTrxzr479mjIsAHahpSgtXWno2ChxcqyfFaSRSkCmxm2orXrvCJxAfZ8 rBX97Ial1w+u8/ivA+2RDvrnKLvFSz+7rWzqHA05fZFa/uGxTVv+k4TgJ tAKD1+wbdhylnBhrk2YKF3Ud1h+E6kmBQqiqHEoayxld9gkq+VT17mnOK w==; X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="357507644" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="357507644" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 20:15:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10726"; a="739769457" X-IronPort-AV: E=Sophos;i="6.00,205,1681196400"; d="scan'208";a="739769457" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 20:15:32 -0700 From: Bard Liao <yung-chuan.liao@linux.intel.com> To: alsa-devel@alsa-project.org, vkoul@kernel.org Cc: vinod.koul@linaro.org, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, bard.liao@intel.com Subject: [PATCH 0/4] soundwire: allow for more than 8 devices, keep IDA for wake-capable devices Date: Wed, 31 May 2023 11:37:32 +0800 Message-Id: <20230531033736.792464-1-yung-chuan.liao@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767378714139967010?= X-GMAIL-MSGID: =?utf-8?q?1767378714139967010?= |
Series |
soundwire: allow for more than 8 devices, keep IDA for wake-capable devices
|
|
Message
Bard Liao
May 31, 2023, 3:37 a.m. UTC
This series suggests a hybrid strategy for device number allocation, where only wake-capable devices use a system-unique Device Number which will be used on LunarLake to handle wake-ups using the HDaudio WAKEEN and WAKESTS. Pierre-Louis Bossart (4): soundwire: add enum to control device number allocation soundwire: introduce SDW_DEV_NUM_ALLOC_IDA_WAKE_ONLY soundwire: extend parameters of new_peripheral_assigned() callback soundwire: intel_auxdevice: use SDW_DEV_NUM_ALLOC_IDA_WAKE_ONLY drivers/soundwire/bus.c | 28 ++++++++++++++++++++++------ drivers/soundwire/intel_auxdevice.c | 26 ++++++++++++++++++++++---- include/linux/soundwire/sdw.h | 24 ++++++++++++++++++++++-- 3 files changed, 66 insertions(+), 12 deletions(-)