浏览代码

dt-bindings: mt8173-mtu3: add generic compatible and rename file

The mt8173-mtu3.txt actually holds the bindings for all mediatek
SoCs with usb3 DRD IP, so add a generic compatible and change the
name to mediatek,mtu3.txt.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Chunfeng Yun 8 年之前
父节点
当前提交
c3d3ad68fe
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      Documentation/devicetree/bindings/usb/mediatek,mtu3.txt

+ 5 - 1
Documentation/devicetree/bindings/usb/mt8173-mtu3.txt → Documentation/devicetree/bindings/usb/mediatek,mtu3.txt

@@ -1,7 +1,11 @@
 The device node for Mediatek USB3.0 DRD controller
 The device node for Mediatek USB3.0 DRD controller
 
 
 Required properties:
 Required properties:
- - compatible : should be "mediatek,mt8173-mtu3"
+ - compatible : should be "mediatek,<soc-model>-mtu3", "mediatek,mtu3",
+	soc-model is the name of SoC, such as mt8173, mt2712 etc,
+	when using "mediatek,mtu3" compatible string, you need SoC specific
+	ones in addition, one of:
+	- "mediatek,mt8173-mtu3"
  - reg : specifies physical base address and size of the registers
  - reg : specifies physical base address and size of the registers
  - reg-names: should be "mac" for device IP and "ippc" for IP port control
  - reg-names: should be "mac" for device IP and "ippc" for IP port control
  - interrupts : interrupt used by the device IP
  - interrupts : interrupt used by the device IP