dt-bindings: phy: mediatek: tphy: change patternProperties
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 16 Mar 2021 09:22:23 +0000 (17:22 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 25 Mar 2021 07:19:35 +0000 (12:49 +0530)
The phy may be named as pcie-phy when the T-PHY only supports
PCIe mode, it's also the similar case for SATA, named as
sata-phy.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210316092232.9806-4-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Documentation/devicetree/bindings/phy/mediatek,tphy.yaml

index c5b436ad6239ff43421d2adf327b495010bfd375..b8a7651a3d9aea654b4552bb1df6e4f2fd679acc 100644 (file)
@@ -118,7 +118,7 @@ properties:
 
 # Required child node:
 patternProperties:
-  "^usb-phy@[0-9a-f]+$":
+  "^(usb|pcie|sata)-phy@[0-9a-f]+$":
     type: object
     description:
       A sub-node is required for each port the controller provides.