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>
This commit is contained in:
parent
e8fcbb6140
commit
e16fa44b39
2 changed files with 3 additions and 2 deletions
|
@ -2,14 +2,14 @@ Generic Platform UHCI Controller
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
Required properties:
|
Required properties:
|
||||||
- compatible : "platform-uhci"
|
- compatible : "generic-uhci" (deprecated: "platform-uhci")
|
||||||
- reg : Should contain 1 register ranges(address and length)
|
- reg : Should contain 1 register ranges(address and length)
|
||||||
- interrupts : UHCI controller interrupt
|
- interrupts : UHCI controller interrupt
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
uhci@d8007b00 {
|
uhci@d8007b00 {
|
||||||
compatible = "platform-uhci";
|
compatible = "generic-uhci";
|
||||||
reg = <0xd8007b00 0x200>;
|
reg = <0xd8007b00 0x200>;
|
||||||
interrupts = <43>;
|
interrupts = <43>;
|
||||||
};
|
};
|
|
@ -148,6 +148,7 @@ static void uhci_hcd_platform_shutdown(struct platform_device *op)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id platform_uhci_ids[] = {
|
static const struct of_device_id platform_uhci_ids[] = {
|
||||||
|
{ .compatible = "generic-uhci", },
|
||||||
{ .compatible = "platform-uhci", },
|
{ .compatible = "platform-uhci", },
|
||||||
{}
|
{}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue