Message ID | 20240122-discoverable-devs-ksft-v4-3-d602e1df4aa2@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2bc4:b0:101:a8e8:374 with SMTP id hx4csp2797036dyb; Mon, 22 Jan 2024 11:45:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IF3GzuXfhT9U/b0M7d9SeGlxWhRHPAB/yeC8E8C0V0VfQspX76hiqnmI/mmaEy86O8zq+Uk X-Received: by 2002:a05:6358:4b14:b0:176:374c:6e87 with SMTP id kr20-20020a0563584b1400b00176374c6e87mr4677325rwc.5.1705952736513; Mon, 22 Jan 2024 11:45:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705952736; cv=pass; d=google.com; s=arc-20160816; b=UW7WsMqrGPfI+5JVNdWKhDjZsHLiD4r6M51xvJo3hkoTl7NPa0w2capJ8fVAeRj6NL QDpjJOp+P4lujGOUfyBNR6uj+QNq524NcC6395eVU/+u/fZPVTfAn1AuryCbhwepfSmc cjcVZdE7LrxwQclJn2gwS63E+4NB/kHFzNJ+3QSOG/mHyZI5WD9vswpe9siWcgC4998p Cjplq5TABLTW9YJUNXwlU35jV3wsJHrc9f7QKHTri8CxR122gH0EbETf1g1ZoTKxaCg5 o378dtVOkGIMb4T1SpyVIPiKvIdlHHwJdn6vpYyHQFCMFMH2O5P9NT53my3EPDagphN3 ERdQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=ExAOjxHp3V7juj/M76gjQ6ZucbtHQjnKeHP63u/+87g=; fh=vMxqFYt9H1xu4f0EsdIpd2OcP8W/DFmylTdyxQ34G68=; b=CCTSB6Db2Oahtj95Gh76HzVZTmdy42MqhJfSFfEfyYWmZFzgVaxHQeY6NecPoX2Qvy 8wWGDuVb+3vbB4iYxjVV3YnVX+FFThWszcMy0KR2oZBnWacIURIS2z5ixolzaqoMyJ+N Ek4p0u7SXWXl8zNvJUvp9OPMA2idxsRGZ+1Mb7tkUkMnCA2mXlwr+Z0WeQaFIjJOuyWX 62+XUnZhIXHaO4RS6bbJEBzBegVkAzeca1B7b4LmnDFMfvuDT6FnDwF8oFkdVxuP7XNy 1Xd1PVJHN/khHPV32j4aKm0ZGGou+NwQP76Y9kFh7qg0rz/9u4u6puYiWojO0ObZs1lr l5kA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="H/fJHhNA"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id z20-20020aa78894000000b006d9bd2c09dasi11115360pfe.336.2024.01.22.11.45.36 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 11:45:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="H/fJHhNA"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34032-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8D3B6B23E95 for <ouuuleilei@gmail.com>; Mon, 22 Jan 2024 19:15:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A28A348CC0; Mon, 22 Jan 2024 18:56:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="H/fJHhNA" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79E4048780; Mon, 22 Jan 2024 18:56:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949764; cv=none; b=pGqDe8wZFPT9OSz2IvipYAXD2OSrO39lFNG7LrlasDYsmBM70W+dH841GgxCuJexrt+3vpdT7YrZXWuVqysFOQNvCTW2OYi+wYZCOGJzFGJwVOwT+8DNX8Z4pjk6QKpr+CVVEjSl568V7AD9eWZh7Eu3VILh85Q04+KXXRjXbpg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705949764; c=relaxed/simple; bh=bK4Q2EbBc/nuHHjpU5lTiNRDOBSyU7sMPKPNpqyyg8s=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=jLsiQbgH1jKwA/JXeE/8j/Jz5qRA8Pzmu9tsdPVnjwc+9WqnokRgEVUc6DBP4PL1Rq3coJki0vZ1iE3mqBT3bKZvXo8TE5vwkhVEhu0qINXh6yteCgs92fdWfhkPYhQf5t596vgfPAz7w9mNJzFNWCNYPhhSA7s4BG2FkM55u/k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=H/fJHhNA; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705949762; bh=bK4Q2EbBc/nuHHjpU5lTiNRDOBSyU7sMPKPNpqyyg8s=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=H/fJHhNArVz1m4aahhjDKDMbAHLrTGImjOS6d8WXBOLSU3QHcj+lcol49NLXYXp5b CyopSGhNUGpL/R8gv7kXjsa0Xkttk21qkISVdly8gShz9gCHWphNffpyXjvg5NzOSp pimw3bG0TzWrZBgnwnz+wV6Dn9k/DIMajrJzwZNbd6+XO+S+/+n9MQNKSokYut0L9w T9VZGNDVzZT/4etPJ+tplbSG+zV3lASWBsLH2XNiMMYveIkx6Q94iMCX7NMMK6oW7L 6ns751E6MT+BrpAOUZdB/boLgB+n0qPNEv/JEET95uctoMchB9SEVusByxVqizI4UJ /cBQJy86FAO9Q== Received: from [192.168.0.47] (zone.collabora.co.uk [167.235.23.81]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madrid.collaboradmins.com (Postfix) with ESMTPSA id AABFF37820A7; Mon, 22 Jan 2024 18:55:56 +0000 (UTC) From: =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com> Date: Mon, 22 Jan 2024 15:53:23 -0300 Subject: [PATCH v4 3/3] kselftest: devices: Add sample board file for XPS 13 9300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240122-discoverable-devs-ksft-v4-3-d602e1df4aa2@collabora.com> References: <20240122-discoverable-devs-ksft-v4-0-d602e1df4aa2@collabora.com> In-Reply-To: <20240122-discoverable-devs-ksft-v4-0-d602e1df4aa2@collabora.com> To: Shuah Khan <shuah@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Bjorn Helgaas <bhelgaas@google.com> Cc: kernelci@lists.linux.dev, kernel@collabora.com, Tim Bird <Tim.Bird@sony.com>, linux-pci@vger.kernel.org, David Gow <davidgow@google.com>, linux-kselftest@vger.kernel.org, Rob Herring <robh+dt@kernel.org>, Doug Anderson <dianders@chromium.org>, linux-usb@vger.kernel.org, Saravana Kannan <saravanak@google.com>, Dan Carpenter <dan.carpenter@linaro.org>, Guenter Roeck <groeck@chromium.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?b?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= <nfraprado@collabora.com> X-Mailer: b4 0.12.4 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788821096439131606 X-GMAIL-MSGID: 1788821096439131606 |
Series |
[v4,1/3] kselftest: Add test to verify probe of devices from discoverable buses
|
|
Commit Message
Nícolas F. R. A. Prado
Jan. 22, 2024, 6:53 p.m. UTC
Add a sample board file describing the file's format and with the list
of devices expected to be probed on the XPS 13 9300 machine as an
example x86 platform.
Test output:
TAP version 13
Using board file: boards/Dell Inc.,XPS 13 9300.yaml
1..22
ok 1 /pci-controller/14.0/usb2-controller/9/camera.device
ok 2 /pci-controller/14.0/usb2-controller/9/camera.0.driver
ok 3 /pci-controller/14.0/usb2-controller/9/camera.1.driver
ok 4 /pci-controller/14.0/usb2-controller/9/camera.2.driver
ok 5 /pci-controller/14.0/usb2-controller/9/camera.3.driver
ok 6 /pci-controller/14.0/usb2-controller/10/bluetooth.device
ok 7 /pci-controller/14.0/usb2-controller/10/bluetooth.0.driver
ok 8 /pci-controller/14.0/usb2-controller/10/bluetooth.1.driver
ok 9 /pci-controller/2.0/gpu.device
ok 10 /pci-controller/2.0/gpu.driver
ok 11 /pci-controller/4.0/thermal.device
ok 12 /pci-controller/4.0/thermal.driver
ok 13 /pci-controller/12.0/sensors.device
ok 14 /pci-controller/12.0/sensors.driver
ok 15 /pci-controller/14.3/wifi.device
ok 16 /pci-controller/14.3/wifi.driver
ok 17 /pci-controller/1d.0/0.0/ssd.device
ok 18 /pci-controller/1d.0/0.0/ssd.driver
ok 19 /pci-controller/1d.7/0.0/sdcard-reader.device
ok 20 /pci-controller/1d.7/0.0/sdcard-reader.driver
ok 21 /pci-controller/1f.3/audio.device
ok 22 /pci-controller/1f.3/audio.driver
Totals: pass:22 fail:0 xfail:0 xpass:0 skip:0 error:0
Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com>
---
.../devices/boards/Dell Inc.,XPS 13 9300.yaml | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
Comments
Il 22/01/24 19:53, Nícolas F. R. A. Prado ha scritto: > Add a sample board file describing the file's format and with the list > of devices expected to be probed on the XPS 13 9300 machine as an > example x86 platform. > > Test output: > > TAP version 13 > Using board file: boards/Dell Inc.,XPS 13 9300.yaml > 1..22 > ok 1 /pci-controller/14.0/usb2-controller/9/camera.device > ok 2 /pci-controller/14.0/usb2-controller/9/camera.0.driver > ok 3 /pci-controller/14.0/usb2-controller/9/camera.1.driver > ok 4 /pci-controller/14.0/usb2-controller/9/camera.2.driver > ok 5 /pci-controller/14.0/usb2-controller/9/camera.3.driver > ok 6 /pci-controller/14.0/usb2-controller/10/bluetooth.device > ok 7 /pci-controller/14.0/usb2-controller/10/bluetooth.0.driver > ok 8 /pci-controller/14.0/usb2-controller/10/bluetooth.1.driver > ok 9 /pci-controller/2.0/gpu.device > ok 10 /pci-controller/2.0/gpu.driver > ok 11 /pci-controller/4.0/thermal.device > ok 12 /pci-controller/4.0/thermal.driver > ok 13 /pci-controller/12.0/sensors.device > ok 14 /pci-controller/12.0/sensors.driver > ok 15 /pci-controller/14.3/wifi.device > ok 16 /pci-controller/14.3/wifi.driver > ok 17 /pci-controller/1d.0/0.0/ssd.device > ok 18 /pci-controller/1d.0/0.0/ssd.driver > ok 19 /pci-controller/1d.7/0.0/sdcard-reader.device > ok 20 /pci-controller/1d.7/0.0/sdcard-reader.driver > ok 21 /pci-controller/1f.3/audio.device > ok 22 /pci-controller/1f.3/audio.driver > Totals: pass:22 fail:0 xfail:0 xpass:0 skip:0 error:0 > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > --- > .../devices/boards/Dell Inc.,XPS 13 9300.yaml | 40 ++++++++++++++++++++++ > 1 file changed, 40 insertions(+) > > diff --git a/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml > new file mode 100644 > index 000000000000..ff932eb19f0b > --- /dev/null > +++ b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml > @@ -0,0 +1,40 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# > +# This is the device definition for the XPS 13 9300. > +# The filename "Dell Inc.,XPS 13 9300" was chosen following the format > +# "Vendor,Product", where Vendor comes from > +# /sys/devices/virtual/dmi/id/sys_vendor, and Product comes from > +# /sys/devices/virtual/dmi/id/product_name. > +# > +# See google,spherion.yaml for more information. What if - instead of taking google,spherion.yaml as an example - you create a new file named something like "example,device.yaml" that would be a fantasy device, bringing examples for all .. or most of .. the currently supported types/devices? You would also move the nice documentation that you wrote in spherion.yaml to the new example,device.yaml and ask to refer to that instead in all of the real device specific definitions. # SPDX-License-Identifier: GPL-2.0 <--- (GPL-2.0 OR MIT) like device trees perhaps? # # This is the device definition for the Example Device # The filename "Example Device" was chosen following the format # "Vendor,Product", where: # - Vendor is "Example" and comes from /sys/devices/virtual/dmi/id/sys_vendor # - Product is "Device" and comes from /sys/devices/virtual/dmi/id/product_name # # ....the rest of the blurb goes here # - type : .... this that the other devices: - the least amount of device descriptions that you can use for documenting how to write this stuff :-) Anything against that? Cheers, Angelo > +# > +- type: pci-controller > + # This machine has a single PCI host controller so it's valid to not have any > + # key to identify the controller. If it had more than one controller, the UID > + # of the controller from ACPI could be used to distinguish as follows: > + #acpi-uid: 0 > + devices: > + - path: 14.0 > + type: usb-controller > + usb-version: 2 > + devices: > + - path: 9 > + name: camera > + interfaces: [0, 1, 2, 3] > + - path: 10 > + name: bluetooth > + interfaces: [0, 1] > + - path: 2.0 > + name: gpu > + - path: 4.0 > + name: thermal > + - path: 12.0 > + name: sensors > + - path: 14.3 > + name: wifi > + - path: 1d.0/0.0 > + name: ssd > + - path: 1d.7/0.0 > + name: sdcard-reader > + - path: 1f.3 > + name: audio >
On Tue, Jan 23, 2024 at 12:08:22PM +0100, AngeloGioacchino Del Regno wrote: > Il 22/01/24 19:53, Nícolas F. R. A. Prado ha scritto: > > Add a sample board file describing the file's format and with the list > > of devices expected to be probed on the XPS 13 9300 machine as an > > example x86 platform. > > > > Test output: > > > > TAP version 13 > > Using board file: boards/Dell Inc.,XPS 13 9300.yaml > > 1..22 > > ok 1 /pci-controller/14.0/usb2-controller/9/camera.device > > ok 2 /pci-controller/14.0/usb2-controller/9/camera.0.driver > > ok 3 /pci-controller/14.0/usb2-controller/9/camera.1.driver > > ok 4 /pci-controller/14.0/usb2-controller/9/camera.2.driver > > ok 5 /pci-controller/14.0/usb2-controller/9/camera.3.driver > > ok 6 /pci-controller/14.0/usb2-controller/10/bluetooth.device > > ok 7 /pci-controller/14.0/usb2-controller/10/bluetooth.0.driver > > ok 8 /pci-controller/14.0/usb2-controller/10/bluetooth.1.driver > > ok 9 /pci-controller/2.0/gpu.device > > ok 10 /pci-controller/2.0/gpu.driver > > ok 11 /pci-controller/4.0/thermal.device > > ok 12 /pci-controller/4.0/thermal.driver > > ok 13 /pci-controller/12.0/sensors.device > > ok 14 /pci-controller/12.0/sensors.driver > > ok 15 /pci-controller/14.3/wifi.device > > ok 16 /pci-controller/14.3/wifi.driver > > ok 17 /pci-controller/1d.0/0.0/ssd.device > > ok 18 /pci-controller/1d.0/0.0/ssd.driver > > ok 19 /pci-controller/1d.7/0.0/sdcard-reader.device > > ok 20 /pci-controller/1d.7/0.0/sdcard-reader.driver > > ok 21 /pci-controller/1f.3/audio.device > > ok 22 /pci-controller/1f.3/audio.driver > > Totals: pass:22 fail:0 xfail:0 xpass:0 skip:0 error:0 > > > > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> > > --- > > .../devices/boards/Dell Inc.,XPS 13 9300.yaml | 40 ++++++++++++++++++++++ > > 1 file changed, 40 insertions(+) > > > > diff --git a/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml > > new file mode 100644 > > index 000000000000..ff932eb19f0b > > --- /dev/null > > +++ b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml > > @@ -0,0 +1,40 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +# > > +# This is the device definition for the XPS 13 9300. > > +# The filename "Dell Inc.,XPS 13 9300" was chosen following the format > > +# "Vendor,Product", where Vendor comes from > > +# /sys/devices/virtual/dmi/id/sys_vendor, and Product comes from > > +# /sys/devices/virtual/dmi/id/product_name. > > +# > > +# See google,spherion.yaml for more information. > > What if - instead of taking google,spherion.yaml as an example - you create a new > file named something like > > "example,device.yaml" > > that would be a fantasy device, bringing examples for all .. or most of .. the > currently supported types/devices? > > You would also move the nice documentation that you wrote in spherion.yaml to the > new example,device.yaml and ask to refer to that instead in all of the real device > specific definitions. > > # SPDX-License-Identifier: GPL-2.0 <--- (GPL-2.0 OR MIT) like device trees perhaps? > # > # This is the device definition for the Example Device > # The filename "Example Device" was chosen following the format > # "Vendor,Product", where: > # - Vendor is "Example" and comes from /sys/devices/virtual/dmi/id/sys_vendor > # - Product is "Device" and comes from /sys/devices/virtual/dmi/id/product_name > # > # ....the rest of the blurb goes here > # > > - type : .... this that the other > devices: > - the least amount of device descriptions that you can use for documenting how > to write this stuff :-) > > Anything against that? That'd also work. Though I feel like a single example file for both a DT-based and an ACPI-based platform might get unnecessarily confusing (given the different way for identifying the machine - DMI vs DT compatible - and for identifying the root level controller - ACPI UID vs DT MMIO). I also feel like a real machine example is helpful to have. In my opinion, your suggestion would make much more sense - and be needed even - if we had several machine files in this directory, so that the documentation stands out among them. However the feedback that I got from Shuah during Plumbers was that maintaining per-machine files in-tree wasn't going to happen. So these two files serve as the documentation, with real-life examples, that other machines could build upon in a separate repository. Thanks, Nícolas
diff --git a/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml new file mode 100644 index 000000000000..ff932eb19f0b --- /dev/null +++ b/tools/testing/selftests/devices/boards/Dell Inc.,XPS 13 9300.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# This is the device definition for the XPS 13 9300. +# The filename "Dell Inc.,XPS 13 9300" was chosen following the format +# "Vendor,Product", where Vendor comes from +# /sys/devices/virtual/dmi/id/sys_vendor, and Product comes from +# /sys/devices/virtual/dmi/id/product_name. +# +# See google,spherion.yaml for more information. +# +- type: pci-controller + # This machine has a single PCI host controller so it's valid to not have any + # key to identify the controller. If it had more than one controller, the UID + # of the controller from ACPI could be used to distinguish as follows: + #acpi-uid: 0 + devices: + - path: 14.0 + type: usb-controller + usb-version: 2 + devices: + - path: 9 + name: camera + interfaces: [0, 1, 2, 3] + - path: 10 + name: bluetooth + interfaces: [0, 1] + - path: 2.0 + name: gpu + - path: 4.0 + name: thermal + - path: 12.0 + name: sensors + - path: 14.3 + name: wifi + - path: 1d.0/0.0 + name: ssd + - path: 1d.7/0.0 + name: sdcard-reader + - path: 1f.3 + name: audio