usb: dwc3: core: switch to snps,dwc3
authorFelipe Balbi <balbi@ti.com>
Tue, 2 Jul 2013 18:20:24 +0000 (21:20 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 29 Jul 2013 10:56:48 +0000 (13:56 +0300)
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: Felipe Balbi <balbi@ti.com>
Documentation/devicetree/bindings/usb/dwc3.txt
arch/arm/boot/dts/omap5.dtsi
drivers/usb/dwc3/core.c

index 7a95c651ceb3b20f82bd0940aed222cc1e3be5c6..3a64e20f6c321bdf72ef85469925845790644df6 100644 (file)
@@ -3,7 +3,7 @@ synopsys DWC3 CORE
 DWC3- USB3 CONTROLLER
 
 Required properties:
- - compatible: must be "synopsys,dwc3"
+ - compatible: must be "snps,dwc3"
  - reg : Address and length of the register set for the device
  - interrupts: Interrupts used by the dwc3 controller.
  - usb-phy : array of phandle for the PHY device
@@ -14,7 +14,7 @@ Optional properties:
 This is usually a subnode to DWC3 glue to which it is connected.
 
 dwc3@4a030000 {
-       compatible = "synopsys,dwc3";
+       compatible = "snps,dwc3";
        reg = <0x4a030000 0xcfff>;
        interrupts = <0 92 4>
        usb-phy = <&usb2_phy>, <&usb3,phy>;
index e643620417a9edb4bcabe2a447dbcf38b720f746..07be2cd7b3188f6c943b1928e812dfa676973bfb 100644 (file)
                        utmi-mode = <2>;
                        ranges;
                        dwc3@4a030000 {
-                               compatible = "synopsys,dwc3";
+                               compatible = "snps,dwc3";
                                reg = <0x4a030000 0x1000>;
                                interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
                                usb-phy = <&usb2_phy>, <&usb3_phy>;
index 0686acff1e22a839e95727f7e381170430ea4ed1..2f5632730ffb5bfe29c2986f3ef1db39cbcc14ec 100644 (file)
@@ -734,6 +734,9 @@ static const struct dev_pm_ops dwc3_dev_pm_ops = {
 
 #ifdef CONFIG_OF
 static const struct of_device_id of_dwc3_match[] = {
+       {
+               .compatible = "snps,dwc3"
+       },
        {
                .compatible = "synopsys,dwc3"
        },