[PATCH 1/3] drm: bridge: adv7511: fill i2s stream capabilities

Olivier MOYSAN olivier.moysan at foss.st.com
Thu Dec 19 14:49:45 UTC 2024


Hi Dmitry,

On 12/11/24 23:52, Dmitry Baryshkov wrote:
> On Tue, Dec 10, 2024 at 02:42:52PM +0100, Olivier Moysan wrote:
>> Set no_i2s_capture flag in hdmi_codec_pdata structure to report
>> that the ADV7511 HDMI bridge does not support i2s audio capture.
>>
>> Signed-off-by: Olivier Moysan <olivier.moysan at foss.st.com>
>> ---
>>   drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
>> index 61f4a38e7d2b..28ae81ca3651 100644
>> --- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
>> +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c
>> @@ -234,6 +234,7 @@ static const struct hdmi_codec_pdata codec_data = {
>>   	.ops = &adv7511_codec_ops,
>>   	.max_i2s_channels = 2,
>>   	.i2s = 1,
>> +	.no_i2s_capture = 1,
> 
> Does it support spdif capture?
> 

"no_i2s_spdif = 1" is relevant also for adv7511 bridge.
I can add it in this serie.

>>   	.spdif = 1,
>>   };
>>   
>> -- 
>> 2.25.1
>>
> 

BRs
Olivier


More information about the dri-devel mailing list