uhci-platform: Change compatible string from platform-uhci to generic-uhci
authorHans de Goede <hdegoede@redhat.com>
Tue, 11 Feb 2014 16:54:45 +0000 (17:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Feb 2014 20:25:51 +0000 (12:25 -0800)
This brings the uhci-platform bindings in sync with what we've done for
the ohci- and ehci-platform drivers. As discussed there using platform as a
prefix is a bit weird as the platform bus is a Linux specific thing and
the bindings are supposed to be OS agnostic.

Note that the old platform-uhci compatible string is kept around for, well,
compatibility reasons.

While at it rename the bindings txt file to match the name of all the
other ?hci-platform bindings docs.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/platform-uhci.txt [deleted file]
Documentation/devicetree/bindings/usb/usb-uhci.txt [new file with mode: 0644]
drivers/usb/host/uhci-platform.c

diff --git a/Documentation/devicetree/bindings/usb/platform-uhci.txt b/Documentation/devicetree/bindings/usb/platform-uhci.txt
deleted file mode 100644 (file)
index a4fb071..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-Generic Platform UHCI Controller
------------------------------------------------------
-
-Required properties:
-- compatible : "platform-uhci"
-- reg : Should contain 1 register ranges(address and length)
-- interrupts : UHCI controller interrupt
-
-Example:
-
-       uhci@d8007b00 {
-               compatible = "platform-uhci";
-               reg = <0xd8007b00 0x200>;
-               interrupts = <43>;
-       };
diff --git a/Documentation/devicetree/bindings/usb/usb-uhci.txt b/Documentation/devicetree/bindings/usb/usb-uhci.txt
new file mode 100644 (file)
index 0000000..2981334
--- /dev/null
@@ -0,0 +1,15 @@
+Generic Platform UHCI Controller
+-----------------------------------------------------
+
+Required properties:
+- compatible : "generic-uhci" (deprecated: "platform-uhci")
+- reg : Should contain 1 register ranges(address and length)
+- interrupts : UHCI controller interrupt
+
+Example:
+
+       uhci@d8007b00 {
+               compatible = "generic-uhci";
+               reg = <0xd8007b00 0x200>;
+               interrupts = <43>;
+       };
index 44e6c9da88922431f3551d4e563e2fec525ffed1..01833ab2b5c397ced4d86b83b7c3c3d476e8d286 100644 (file)
@@ -148,6 +148,7 @@ static void uhci_hcd_platform_shutdown(struct platform_device *op)
 }
 
 static const struct of_device_id platform_uhci_ids[] = {
+       { .compatible = "generic-uhci", },
        { .compatible = "platform-uhci", },
        {}
 };
This page took 0.025974 seconds and 5 git commands to generate.