[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e214d308-1b92-a7a5-3c76-da05dca99cc5@linux.intel.com>
Date: Mon, 11 May 2020 14:00:11 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Vinod Koul <vkoul@...nel.org>,
Bard Liao <yung-chuan.liao@...ux.intel.com>
Cc: alsa-devel@...a-project.org, tiwai@...e.de,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
ranjani.sridharan@...ux.intel.com, hui.wang@...onical.com,
broonie@...nel.org, srinivas.kandagatla@...aro.org,
jank@...ence.com, mengdong.lin@...el.com,
slawomir.blauciak@...el.com, sanyog.r.kale@...el.com,
rander.wang@...ux.intel.com, bard.liao@...el.com
Subject: Re: [PATCH 3/3] soundwire: bus_type: add sdw_master_device support
>> + md = &bus->md;
>> + md->dev.bus = &sdw_bus_type;
>> + md->dev.type = &sdw_master_type;
>> + md->dev.parent = parent;
>> + md->dev.of_node = parent->of_node;
>> + md->dev.fwnode = fwnode;
>> + md->dev.dma_mask = parent->dma_mask;
>> +
>> + dev_set_name(&md->dev, "sdw-master-%d", bus->link_id);
>
> This give nice sdw-master-0. In DT this comes from reg property. I dont
> seem to recall if the ACPI/Disco spec treats link_id as unique across
> the system, can you check that please, if not we would need to update
> this.
Table 3 in the Disco for Soundwire 1.0 spec: "all LinkID values are
relative to the immediate parent Device."
There isn't any known implementation with more than one controller.
Powered by blists - more mailing lists