summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorSeiya Wang <seiya.wang@mediatek.com>2021-03-19 10:34:26 +0800
committerVinod Koul <vkoul@kernel.org>2021-03-31 18:30:53 +0530
commitd57cd79db1a3c147b63fb0c64ccd26855eb8f86e (patch)
tree818c8290d0f4ca6e01058d44f2afe215b761620f /Documentation
parent67097754afc90a5def9d54c599d0862fe992f5a0 (diff)
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 <seiya.wang@mediatek.com> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210319023427.16711-9-seiya.wang@mediatek.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml b/Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
index 5235b1a0d188..74cc32c1d2e8 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