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

uhci-platform: Change compatible string from platform-uhci to generic-uhci

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>

authored by

Hans de Goede and committed by
Greg Kroah-Hartman
e16fa44b e8fcbb61

+3 -2
+2 -2
Documentation/devicetree/bindings/usb/platform-uhci.txt Documentation/devicetree/bindings/usb/usb-uhci.txt
··· 2 2 ----------------------------------------------------- 3 3 4 4 Required properties: 5 - - compatible : "platform-uhci" 5 + - compatible : "generic-uhci" (deprecated: "platform-uhci") 6 6 - reg : Should contain 1 register ranges(address and length) 7 7 - interrupts : UHCI controller interrupt 8 8 9 9 Example: 10 10 11 11 uhci@d8007b00 { 12 - compatible = "platform-uhci"; 12 + compatible = "generic-uhci"; 13 13 reg = <0xd8007b00 0x200>; 14 14 interrupts = <43>; 15 15 };
+1
drivers/usb/host/uhci-platform.c
··· 148 148 } 149 149 150 150 static const struct of_device_id platform_uhci_ids[] = { 151 + { .compatible = "generic-uhci", }, 151 152 { .compatible = "platform-uhci", }, 152 153 {} 153 154 };