Skip to contentSkip to conversation

usb: phy: mxs: add imx6sx support

PATCH In review Peter Chen 2 participants 4 messages Aug 26, 2014 – Aug 28, 2014 3 messages not in the archive

Subsystems (3)
lore
Share & tools
lore

Peter Chen

author
#0 lore raw

PATCH 1/2 usb: phy: mxs: add imx6sx support

Add imx6sx support

---
 drivers/usb/phy/phy-mxs-usb.c |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
drivers/usb/phy/phy-mxs-usb.c +7 -1
index c42bdf0..00972ec 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright 2012-2013 Freescale Semiconductor, Inc.
+ * Copyright 2012-2014 Freescale Semiconductor, Inc.
  * Copyright (C) 2012 Marek Vasut <[email protected]>
  * on behalf of DENX Software Engineering GmbH
  *
@@ -125,7 +125,13 @@ static const struct mxs_phy_data imx6sl_phy_data = {
 		MXS_PHY_NEED_IP_FIX,
 };
 
+static const struct mxs_phy_data imx6sx_phy_data = {
+	.flags = MXS_PHY_DISCONNECT_LINE_WITHOUT_VBUS |
+		MXS_PHY_NEED_IP_FIX,
+};
+
 static const struct of_device_id mxs_phy_dt_ids[] = {
+	{ .compatible = "fsl,imx6sx-usbphy", .data = &imx6sx_phy_data, },
 	{ .compatible = "fsl,imx6sl-usbphy", .data = &imx6sl_phy_data, },
 	{ .compatible = "fsl,imx6q-usbphy", .data = &imx6q_phy_data, },
 	{ .compatible = "fsl,imx23-usbphy", .data = &imx23_phy_data, },
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#2 lore raw

PATCH 2/2 doc: dt: mxs-phy: add compatible string for imx6sx-usbphy

In reply to a message not in the archive

Add compatible string for imx6sx-usbphy.

---
 Documentation/devicetree/bindings/usb/mxs-phy.txt |    1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/usb/mxs-phy.txt +1 -0
index cef181a..96681c9 100644
@@ -5,6 +5,7 @@ Required properties:
 	* "fsl,imx23-usbphy" for imx23 and imx28
 	* "fsl,imx6q-usbphy" for imx6dq and imx6dl
 	* "fsl,imx6sl-usbphy" for imx6sl
+	* "fsl,imx6sx-usbphy" for imx6sx
   "fsl,imx23-usbphy" is still a fallback for other strings
 - reg: Should contain registers location and length
 - interrupts: Should contain phy interrupt
Signature · 6 lines
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#6 lore raw

Re: [PATCH 2/2] doc: dt: mxs-phy: add compatible string for imx6sx-usbphy

In reply to a message not in the archive
Quoted 7 lines · Felipe Balbi
Quoted 3 lines · Peter Chen

Add compatible string for imx6sx-usbphy.

do I need to take this one as well or will DT folks take care of patch 2 ?

It is DT change for driver, if there is no objection from DT guys, the driver maintainer needs to take it.

Signature · 6 lines
Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html