Re: [PATCH v2] dt-bindings: display: mediatek: dp: Reference common DAI properties
From: Rob Herring (Arm)
Date: Tue Nov 05 2024 - 09:27:35 EST
On Tue, 05 Nov 2024 17:00:28 +0800, Fei Shao wrote:
> The MediaTek DP hardware supports audio and exposes a DAI, so the
> '#sound-dai-cells' property is needed for describing the DAI links.
>
> Reference the dai-common.yaml schema to allow '#sound-dai-cells' to be
> used, and filter out non-DP compatibles as MediaTek eDP in the same
> binding doesn't support audio.
>
> This fixes dtbs_check error:
> '#sound-dai-cells' does not match any of the regexes: 'pinctrl-[0-9]+'
>
> Signed-off-by: Fei Shao <fshao@xxxxxxxxxxxx>
> ---
>
> Changes in v2:
> - reference to dai-common.yaml since the hardware exposes DAI
> and update to `unevaluatedProperties: false`
> - update commit message
>
> .../display/mediatek/mediatek,dp.yaml | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>