提交 22a5aa17 编写于 作者: F Felipe Balbi

usb: dwc3: core: switch to snps,dwc3

all other drivers using Synopsys IPs with DT
have a compatible of snps,$driver, in order
to add consistency, we are switching over to
snps,dwc3 but keeping synopsys,dwc3 in the core
driver to maintain backwards compatibility.

New DTS bindings should NOT use synopsys,dwc3.
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 f7e846f0
...@@ -3,7 +3,7 @@ synopsys DWC3 CORE ...@@ -3,7 +3,7 @@ synopsys DWC3 CORE
DWC3- USB3 CONTROLLER DWC3- USB3 CONTROLLER
Required properties: Required properties:
- compatible: must be "synopsys,dwc3" - compatible: must be "snps,dwc3"
- reg : Address and length of the register set for the device - reg : Address and length of the register set for the device
- interrupts: Interrupts used by the dwc3 controller. - interrupts: Interrupts used by the dwc3 controller.
- usb-phy : array of phandle for the PHY device - usb-phy : array of phandle for the PHY device
...@@ -14,7 +14,7 @@ Optional properties: ...@@ -14,7 +14,7 @@ Optional properties:
This is usually a subnode to DWC3 glue to which it is connected. This is usually a subnode to DWC3 glue to which it is connected.
dwc3@4a030000 { dwc3@4a030000 {
compatible = "synopsys,dwc3"; compatible = "snps,dwc3";
reg = <0x4a030000 0xcfff>; reg = <0x4a030000 0xcfff>;
interrupts = <0 92 4> interrupts = <0 92 4>
usb-phy = <&usb2_phy>, <&usb3,phy>; usb-phy = <&usb2_phy>, <&usb3,phy>;
......
...@@ -644,7 +644,7 @@ ...@@ -644,7 +644,7 @@
utmi-mode = <2>; utmi-mode = <2>;
ranges; ranges;
dwc3@4a030000 { dwc3@4a030000 {
compatible = "synopsys,dwc3"; compatible = "snps,dwc3";
reg = <0x4a030000 0x1000>; reg = <0x4a030000 0x1000>;
interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
usb-phy = <&usb2_phy>, <&usb3_phy>; usb-phy = <&usb2_phy>, <&usb3_phy>;
......
...@@ -734,6 +734,9 @@ static const struct dev_pm_ops dwc3_dev_pm_ops = { ...@@ -734,6 +734,9 @@ static const struct dev_pm_ops dwc3_dev_pm_ops = {
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id of_dwc3_match[] = { static const struct of_device_id of_dwc3_match[] = {
{
.compatible = "snps,dwc3"
},
{ {
.compatible = "synopsys,dwc3" .compatible = "synopsys,dwc3"
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册