phy: omap-control: update dra7 and am437 usb2 bindings
PATCH v3 1/1 phy: omap-control: update dra7 and am437 usb2 bindings
From: Roger Quadros <[email protected]>
The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant.
---
Changes from v2:
Kept only the drivers/phy part in this patch
drivers/phy/phy-omap-control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/phy/phy-omap-control.c +2 -2
@@ -228,11 +228,11 @@ static const struct of_device_id omap_control_phy_id_table[] = { .data = &pipe3_data, }, { - .compatible = "ti,control-phy-dra7usb2", + .compatible = "ti,control-phy-dra7-usb2", .data = &dra7usb2_data, }, { - .compatible = "ti,control-phy-am437usb2", + .compatible = "ti,control-phy-am437-usb2", .data = &am437usb2_data, }, {},
Signature · 1 line
1.7.9.5
Quoted 19 lines · Kishon Vijay Abraham I
From: Roger Quadros <[email protected]>
The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant.
Signed-off-by Roger Quadros <[email protected]>Signed-off-by Kishon Vijay Abraham I <[email protected]>---
Changes from v2:
Kept only thedrivers/phypart in this patchdrivers/phy/phy-omap-control.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/phy/phy-omap-control.c +0
-0
drivers/phy/phy-omap-control.c static const struct of_device_id omap_control_phy_id_table[] = { · line 235
Quoted 10 lines
drivers/phy/phy-omap-control.c +2
-2@@ -228,11 +228,11 @@ static const struct of_device_id omap_control_phy_id_table[] = { .data = &pipe3_data, }, { - .compatible = "ti,control-phy-dra7usb2", + .compatible = "ti,control-phy-dra7-usb2", .data = &dra7usb2_data, }, { - .compatible = "ti,control-phy-am437usb2", + .compatible = "ti,control-phy-am437-usb2",
Tony suggested to keep the compatible
ti,control-phy-usb2-dra7 and ti,control-phy-usb2-am437
http://www.spinics.net/lists/linux-omap/msg104040.html
Since we already have a ti,control-phy-usb2 I think it make sense to keep the new comaptible for dra7 and am437 as above.
Quoted 3 lines
drivers/phy/phy-omap-control.c +0
-0.data = &am437usb2_data, }, {},
Signature · 1 line
-George