Re: [PATCH v1 1/2] media: dt-bindings: i2c: toshiba,et8ek8: Convert to DT schema

From: Krzysztof Kozlowski
Date: Thu Dec 25 2025 - 03:37:29 EST


On 24/12/2025 22:07, Alex Tran wrote:
>>> + maxItems: 1
>>> +
>>> + reset-gpios:
>>> + description:
>>> + XSHUTDOWN GPIO. The XSHUTDOWN signal is active low. The sensor
>>> + is in hardware standby mode when the signal is in the low state.
>>> + maxItems: 1
>>> +
>>> + flash-leds:
>>> + $ref: /schemas/media/video-interfaces.yaml#
>>
>> This and...
>>
>>> +
>>> + lens-focus:
>>> + $ref: /schemas/media/video-interfaces.yaml#
>>
>> ... this are weird. LEDs are not video interfaces, for sure. lens focus
>> shouldn't be video interface, either.
>>
>> You also miss unevaluatedProps there.
>>
>> This needs careful fixing/rewriting, with explanation in commit msg.
>>
>
> My mistake. The correct schema reference for these 2 should be video
> interface devices.

No. LEDs are not video interface devices, either. LEDs are LEDs.

Best regards,
Krzysztof