Re: [PATCH v4 1/2] dt-bindings: memory: mediatek: Add SMI reset and clamp for MT8188

From: Krzysztof Kozlowski
Date: Fri Mar 07 2025 - 03:37:33 EST


On 07/03/2025 09:14, Friday Yang (杨阳) wrote:
>>> The 'mediatek,larb-id' for SMI LARBs in the image, IPE, and camera
>>> subsystems are as follows:
>>> - image subsystem: 9, 10, 11, 12, 16
>>> - IPE subsystem: 13
>>> - camera subsystem: 17, 18, 19, 20
>>>
>>> Therefore, we believe that 'mediatek,larb-id' should be 'oneOf' the
>>
>>
>> So explain me where is the second condition?
>>
>
> Sorry for the misunderstanding. I should fix it like this:
> just delete 'oneOf' and use 'enum'
>
> - if: # only for camera and image subsys
> properties:
> com
> patible:
> const: mediatek,mt8188-smi-larb
> mediatek,larb-
> id:
> enum:
> [ 9, 10, 11, 12, 13, 16, 17, 18, 19, 20 ]
Yes

Best regards,
Krzysztof