RE: [PATCH] soundwire: debugfs: add root-level peripherals table
From: Liao, Bard
Date: Fri Sep 04 2026 - 07:56:49 EST
> -----Original Message-----
> From: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxx>
> Sent: Friday, September 4, 2026 3:35 PM
> To: Bard Liao <yung-chuan.liao@xxxxxxxxxxxxxxx>; linux-
> sound@xxxxxxxxxxxxxxx; vkoul@xxxxxxxxxx
> Cc: vinod.koul@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> peter.ujfalusi@xxxxxxxxxxxxxxx; Liao, Bard <bard.liao@xxxxxxxxx>
> Subject: Re: [PATCH] soundwire: debugfs: add root-level peripherals table
>
> On 9/2/26 10:18, Bard Liao wrote:
> > The table will let user know what peripherals are listed and get the
> > detected status by the dev_num.
>
> This sounds useful indeed, but does this need to be in debugfs?
>
> We already have a sysfs entry for every peripheral listed in ACPI. Each
> peripheral will have a set of properties extracted from DisCo tables,
> could we piggy-back on all this and just expose the dev_num?
It is convenient for the user to get all information on top of the
soundwire folder instead of looking for the information one by one
in each peripheral folder.
>
> >
> > Signed-off-by: Bard Liao <yung-chuan.liao@xxxxxxxxxxxxxxx>