Message ID | 20230731091333.3593132-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:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp1894530vqg; Mon, 31 Jul 2023 02:26:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlH2pBLlsZ1/Y3jaBuGPJ9k+uxWLe+KscgMfj4gv0vQ9pgvfA9kTZS+nlCZvX5uqkXFrCkf2 X-Received: by 2002:a05:6a21:7882:b0:127:72c3:fd60 with SMTP id bf2-20020a056a21788200b0012772c3fd60mr10898716pzc.1.1690795591147; Mon, 31 Jul 2023 02:26:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690795591; cv=none; d=google.com; s=arc-20160816; b=G77ZTnK85qjL34z5zt217rv+OzsNAQuV4N7Bh7wFrpIWrWjjEX+EkwpRwFKZYBQgBb RjgKUDlaavkRSTlESW2nYgL1thWpcbFSBSRXd9lsKyjVJ+MxbPvPpQ4a/QNhcydnN0I5 ZsfQ5XJCFfbm5q5aBNaE3aeHbjgtoPJkTwCtBBlTd6J6qujo6c3wJjJQyXB5UZ3ZY/C9 OiP7snLyJJd2cS7LiHekASDGYN7AWLggCoWb9aOLgxDUDyeHInK5HzlBJu87FltxVBZA /soIy86GJAMebru92j1g8z9IQi4FxBjbjrVXeIOc5u7rVac0tHcaijOEbWhKfSNqxsKx Sbig== 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=p6xu9rOWZbjeD+lJ14JGDcFEqEgaxobKI8iIHdBHxfA=; fh=8u11NBAqs6tBqEdG193rH6ku+1A1BgUApUzqlumcBwY=; b=HjhfTncvKnaXmkNckiWVBu4PtYwvPBsjW/NVyyIIefuGO5Q4ZW3lI9cdoZFd45G5+B VehsQWAcY+xRkAXv3g3rHZQnvl04HPDXeUz3MREVyhWJiMNQjdgC0cAWmur7wOHbpdHq 3cE8uYiX+PVGxLpPTRYmSlh2MhWkmVsJ7IOKtAwv2+IvUAOA/RgECYfN4Dda2MpCPRRr bmmT0iZz8YrWXhtpJUA3d4euLc/R1Z/bzMRqkd/+pDvK7FTr9QSOe6zgOuyzLl0NA3xx BMO1pdioib+13HZQhcaad9TXG/YQI+FnZ+FnxwLbwEcdl2r/JfqYx8kLdis+11nCwv9l O6Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=XaCSVVHD; 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 fd21-20020a056a002e9500b0068664d7f3f2si7207627pfb.88.2023.07.31.02.26.18; Mon, 31 Jul 2023 02:26:30 -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=XaCSVVHD; 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 S231919AbjGaIrM (ORCPT <rfc822;dengxinlin2429@gmail.com> + 99 others); Mon, 31 Jul 2023 04:47:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231784AbjGaIqg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Jul 2023 04:46:36 -0400 Received: from mgamail.intel.com (unknown [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B173B210C for <linux-kernel@vger.kernel.org>; Mon, 31 Jul 2023 01:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690793121; x=1722329121; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=LNv+VnT3QZhrJhTeH4mAsNhZCJHGfzshQLFDmQm7ORQ=; b=XaCSVVHDZ77jtqE8MtP60QMe0ywPT77ul9dk5+SkkvKu384R5YDLrVmM VTMpC5yWiAuZhNhXYbquZmHd8YsTo1THq0/QSDZaucLvEEdqGTtGETfrX /Hys6iqcyT1qoJnge3enk0KIlur71tI5EeDLgY9QiMgkkUBxbdCkjKN+p PBd8BSnrjM3OyOxdT95UE4emmLQphXjQzGMfOZys5QaNg6CzMt/a9rbUj ihurVzO2oWMW2PJl3sgckMqDEVhKnQ28P3RKQ8d7scem0QpkCzSaBFXju QPIFZuV59ExqBtSyUF2yOWVauw8G5bJKDwsOLLZq2JN5WvtANwgpTW4P1 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10787"; a="348557426" X-IronPort-AV: E=Sophos;i="6.01,244,1684825200"; d="scan'208";a="348557426" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2023 01:45:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10787"; a="678232190" X-IronPort-AV: E=Sophos;i="6.01,244,1684825200"; d="scan'208";a="678232190" Received: from bard-ubuntu.sh.intel.com ([10.239.185.57]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jul 2023 01:45:19 -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 v2 0/3] soundwire: allow for more than 8 devices, keep IDA for wake-capable devices Date: Mon, 31 Jul 2023 17:13:30 +0800 Message-Id: <20230731091333.3593132-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.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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: INBOX X-GMAIL-THRID: 1772927677343950177 X-GMAIL-MSGID: 1772927677343950177 |
Series |
soundwire: allow for more than 8 devices, keep IDA for wake-capable devices
|
|
Message
Bard Liao
July 31, 2023, 9:13 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 (3): soundwire: extend parameters of new_peripheral_assigned() callback soundwire: bus: add callbacks for device_number allocation soundwire: intel_auxdevice: add hybrid IDA-based device_number allocation v2: - Move the device numver allocation from bus.c to intel_auxdevice.c - List the codecs with wake capability in a quirk table, and assign device number according to that quirk table. drivers/soundwire/bus.c | 18 +++--- drivers/soundwire/intel_auxdevice.c | 85 ++++++++++++++++++++++++++--- include/linux/soundwire/sdw.h | 12 ++-- include/linux/soundwire/sdw_intel.h | 7 +++ 4 files changed, 99 insertions(+), 23 deletions(-)
Comments
On Mon, 31 Jul 2023 17:13:30 +0800, Bard Liao wrote: > 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 (3): > soundwire: extend parameters of new_peripheral_assigned() callback > soundwire: bus: add callbacks for device_number allocation > soundwire: intel_auxdevice: add hybrid IDA-based device_number > allocation > > [...] Applied, thanks! [1/3] soundwire: extend parameters of new_peripheral_assigned() callback commit: 23afc82fb22bccd3f1d2a856d3eccb70453f33b0 [2/3] soundwire: bus: add callbacks for device_number allocation commit: 39d80b0e5fed2c32f66093fead626358b7106974 [3/3] soundwire: intel_auxdevice: add hybrid IDA-based device_number allocation commit: e66f91a2d10b9a25eedcaddee9d6f08c8132760a Best regards,