Re: [PATCH v2 3/4] dt-bindings: media: mediatek: mdp: Change mediatek,gce-events to reference

From: Krzysztof Kozlowski
Date: Fri Jan 12 2024 - 02:23:57 EST


On 10/01/2024 07:35, Jason-JH.Lin wrote:
> Change mediatek,gce-events property to reference mediatek,gce-props.yaml
> instead of defining itself.
>
> Signed-off-by: Jason-JH.Lin <jason-jh.lin@xxxxxxxxxxxx>
> ---
> .../bindings/media/mediatek,mdp3-rdma.yaml | 11 +++--------
> .../devicetree/bindings/media/mediatek,mdp3-rsz.yaml | 12 ++++--------
> .../bindings/media/mediatek,mdp3-wrot.yaml | 12 ++++--------
> 3 files changed, 11 insertions(+), 24 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml
> index 59db8306485b..1ba70b9a5843 100644
> --- a/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml
> +++ b/Documentation/devicetree/bindings/media/mediatek,mdp3-rdma.yaml
> @@ -44,13 +44,6 @@ properties:
> 4 arguments defined in this property. Each GCE subsys id is mapping to
> a client defined in the header include/dt-bindings/gce/<chip>-gce.h.
>
> - mediatek,gce-events:
> - description:
> - The event id which is mapping to the specific hardware event signal
> - to gce. The event id is defined in the gce header
> - include/dt-bindings/gce/<chip>-gce.h of each chips.
> - $ref: /schemas/types.yaml#/definitions/uint32-array
> -
> mediatek,scp:
> $ref: /schemas/types.yaml#/definitions/phandle
> description:
> @@ -96,6 +89,8 @@ required:
> - '#dma-cells'
>
> allOf:
> + - $ref: ../mailbox/mediatek,gce-props.yaml

You need full path, so /schemas/mailbox/

Applies to all the patches.

Best regards,
Krzysztof