Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: phy: mediatek: dsi-phy: modify compatible dependence

mt7623-mipi-tx is compatible to mt2701-mipi-tx, and use
"mediatek,mt2701-mipi-tx" instead on MT7623, so modify
the compatible items to make dependence clear.

Cc: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210316092232.9806-2-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Chunfeng Yun and committed by
Vinod Koul
66b87358 2ff8a1ee

+8 -5
+8 -5
Documentation/devicetree/bindings/phy/mediatek,dsi-phy.yaml
··· 19 19 pattern: "^dsi-phy@[0-9a-f]+$" 20 20 21 21 compatible: 22 - enum: 23 - - mediatek,mt2701-mipi-tx 24 - - mediatek,mt7623-mipi-tx 25 - - mediatek,mt8173-mipi-tx 26 - - mediatek,mt8183-mipi-tx 22 + oneOf: 23 + - items: 24 + - enum: 25 + - mediatek,mt7623-mipi-tx 26 + - const: mediatek,mt2701-mipi-tx 27 + - const: mediatek,mt2701-mipi-tx 28 + - const: mediatek,mt8173-mipi-tx 29 + - const: mediatek,mt8183-mipi-tx 27 30 28 31 reg: 29 32 maxItems: 1