Re: [PATCH] ASoC: SDCA: push port+cluster caps into DAI driver properties

From: Srinivas Kandagatla

Date: Mon Nov 30 2026 - 16:39:39 EST


On 11/30/26 3:32 PM, Charles Keepax wrote:
> On Mon, Nov 30, 2026 at 03:21:31PM +0000, Charles Keepax wrote:
>> On Mon, Nov 30, 2026 at 12:17:02PM +0000, Srinivas Kandagatla wrote:
>>> @@ -441,6 +428,11 @@ static int class_function_probe(struct auxiliary_device *auxdev,
>>> if (ret)
>>> goto err_pm;
>>>
>>> + ret = sdca_asoc_narrow_dai_caps(dev, core->sdw, drv->regmap,
>>> + drv->function, dais, num_dais);
>>> + if (ret)
>>> + goto err_pm;
>>> +
>>
>> Hmm... I think there is a bit of a problem here, I might have
>> missed in my initial look. We can't really assume that the
>> port assigned is fixed and available at probe.
>
> I am kinda wondering if just going with your initial approach but
> with the addition of a FIXME is maybe the way to go here. I think
Sure, i will send v2 with a FIXME.
> there are quite big problems to solve here and from our side we
> only really needed the port constraints for the bit depths, so
> losing the channel stuff isn't a deal breaker.
thanks,
Srini
>
> Thanks,
> Charles