]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: marvell: Use a SoC-specific compatible for xHCI on Armada37xx
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 27 Apr 2016 13:36:42 +0000 (15:36 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 27 Apr 2016 15:51:51 +0000 (17:51 +0200)
Even if the Armada 37xx does not any specific setup, the device tree
binding documentation requires to use a SoC-specific version
corresponding to the platform first followed by the generic version.

This patch introduce this new compatible string and updates the
documentation accordingly.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Documentation/devicetree/bindings/usb/usb-xhci.txt
arch/arm64/boot/dts/marvell/armada-37xx.dtsi

index 6a17aa85c4d5f65825f40b20ddef8131d3cabf8d..966885c636d02919c0d80a36a0b76230685a6e54 100644 (file)
@@ -4,6 +4,7 @@ Required properties:
   - compatible: should be one or more of
 
     - "generic-xhci" for generic XHCI device
+    - "marvell,armada3700-xhci" for Armada 37xx SoCs
     - "marvell,armada-375-xhci" for Armada 375 SoCs
     - "marvell,armada-380-xhci" for Armada 38x SoCs
     - "renesas,xhci-r8a7790" for r8a7790 SoC
index 55a861d60fae3582e56fae76a9fe363ce45d837a..1d4fb4d27787c54f362b9ee9177e177476f7d814 100644 (file)
@@ -106,7 +106,8 @@ uart0: serial@12000 {
                        };
 
                        usb3: usb@58000 {
-                               compatible = "generic-xhci";
+                               compatible = "marvell,armada3700-xhci",
+                               "generic-xhci";
                                reg = <0x58000 0x4000>;
                                interrupts = <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>;
                                status = "disabled";