Skip to content

Commit

Permalink
dt-bindings: phy: fix dt_binding_check warning in mediatek, ufs-phy.yaml
Browse files Browse the repository at this point in the history
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>
Seiya Wang authored and Vinod Koul committed Mar 31, 2021
1 parent 6709775 commit d57cd79
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Documentation/devicetree/bindings/phy/mediatek,ufs-phy.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit d57cd79

Please sign in to comment.