]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dt-bindings: display: mediatek: dp: Reference common DAI properties
authorFei Shao <fshao@chromium.org>
Tue, 5 Nov 2024 09:00:28 +0000 (17:00 +0800)
committerChun-Kuang Hu <chunkuang.hu@kernel.org>
Mon, 30 Dec 2024 14:38:05 +0000 (14:38 +0000)
commit8fe3ee95da1bf42830e9b02c70f111b53ab65229
tree17aeeb5ed8e4fdb335150537820c0ce9473826b2
parent0d68b55887cedc7487036ed34cb4c2097c4228f1
dt-bindings: display: mediatek: dp: Reference common DAI properties

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@chromium.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patchwork.kernel.org/project/dri-devel/patch/20241105090207.3892242-1-fshao@chromium.org/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Documentation/devicetree/bindings/display/mediatek/mediatek,dp.yaml