From: Seiya Wang Date: Fri, 19 Mar 2021 02:34:26 +0000 (+0800) Subject: dt-bindings: phy: fix dt_binding_check warning in mediatek, ufs-phy.yaml X-Git-Tag: accepted/tizen/unified/20230118.172025~7416^2~33^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d57cd79db1a3c147b63fb0c64ccd26855eb8f86e;p=platform%2Fkernel%2Flinux-rpi.git dt-bindings: phy: fix dt_binding_check warning in mediatek, ufs-phy.yaml This commit fixes the warning messages of make dt_binding_check from newly added mediatek,mt8195-ufsphy in mediatek,ufs-phy.yaml Signed-off-by: Seiya Wang Acked-by: Rob Herring Link: https://lore.kernel.org/r/20210319023427.16711-9-seiya.wang@mediatek.com Signed-off-by: Vinod Koul --- diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml index 5235b1a0..74cc32c 100644 --- a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml +++ b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml @@ -22,8 +22,12 @@ properties: pattern: "^ufs-phy@[0-9a-f]+$" compatible: - enum: mediatek,mt8195-ufsphy - const: mediatek,mt8183-ufsphy + oneOf: + - items: + - enum: + - mediatek,mt8195-ufsphy + - const: mediatek,mt8183-ufsphy + - const: mediatek,mt8183-ufsphy reg: maxItems: 1