Skip to contentSkip to conversation

phy: omap-control: update dra7 and am437 usb2 bindings

PATCH Superseded Kishon Vijay Abraham I 2 participants 2 messages Mar 7, 2014 Generic PHY framework

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

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
index 17fc200..a7e2d7f 100644
@@ -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
#1 lore raw
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.

---
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 +0 -0
index 17fc200..a7e2d7f 100644

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