Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Felipe Balbi <balbi@ti.com>

+6 -3
+2 -2
Documentation/devicetree/bindings/usb/dwc3.txt
··· 3 3 DWC3- USB3 CONTROLLER 4 4 5 5 Required properties: 6 - - compatible: must be "synopsys,dwc3" 6 + - compatible: must be "snps,dwc3" 7 7 - reg : Address and length of the register set for the device 8 8 - interrupts: Interrupts used by the dwc3 controller. 9 9 - usb-phy : array of phandle for the PHY device ··· 14 14 This is usually a subnode to DWC3 glue to which it is connected. 15 15 16 16 dwc3@4a030000 { 17 - compatible = "synopsys,dwc3"; 17 + compatible = "snps,dwc3"; 18 18 reg = <0x4a030000 0xcfff>; 19 19 interrupts = <0 92 4> 20 20 usb-phy = <&usb2_phy>, <&usb3,phy>;
+1 -1
arch/arm/boot/dts/omap5.dtsi
··· 644 644 utmi-mode = <2>; 645 645 ranges; 646 646 dwc3@4a030000 { 647 - compatible = "synopsys,dwc3"; 647 + compatible = "snps,dwc3"; 648 648 reg = <0x4a030000 0x1000>; 649 649 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 650 650 usb-phy = <&usb2_phy>, <&usb3_phy>;
+3
drivers/usb/dwc3/core.c
··· 735 735 #ifdef CONFIG_OF 736 736 static const struct of_device_id of_dwc3_match[] = { 737 737 { 738 + .compatible = "snps,dwc3" 739 + }, 740 + { 738 741 .compatible = "synopsys,dwc3" 739 742 }, 740 743 { },