aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeiya Wang <[email protected]>2021-03-19 10:34:26 +0800
committerVinod Koul <[email protected]>2021-03-31 18:30:53 +0530
commitd57cd79db1a3c147b63fb0c64ccd26855eb8f86e (patch)
tree818c8290d0f4ca6e01058d44f2afe215b761620f
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
-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