From: Petr Kulhavy <redacted>
This adds DT support for TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver
Signed-off-by: Petr Kulhavy <redacted>
Signed-off-by: Alexandre Bailon <redacted>
Tested-by: David Lechner <david@lechnology.com>
---
drivers/usb/musb/da8xx.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
From: Petr Kulhavy <redacted>
This adds the function musb_get_mode() to get the DT property "dr_mode"
Signed-off-by: Petr Kulhavy <redacted>
Acked-by: Sergei Shtylyov <redacted>
Signed-off-by: Alexandre Bailon <redacted>
Tested-by: David Lechner <david@lechnology.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
---
drivers/usb/musb/musb_core.c | 19 +++++++++++++++++++
drivers/usb/musb/musb_core.h | 6 ++++++
2 files changed, 25 insertions(+)
@@ -0,0 +1,43 @@+TI DA8xx MUSB+~~~~~~~~~~~~~+For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms.++Required properties:+~~~~~~~~~~~~~~~~~~~~+ - compatible : Should be set to "ti,da830-musb".++ - reg: Offset and length of the USB controller register set.++ - interrupts: The USB interrupt number.++ - interrupt-names: Should be set to "mc".++ - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg".++ - phys: Phandle for the PHY device++ - phy-names: Should be "usb-phy"++Optional properties:+~~~~~~~~~~~~~~~~~~~~+ - vbus-supply: Phandle to a regulator providing the USB bus power.++Example:+ usb_phy: usb-phy {+ compatible = "ti,da830-usb-phy";+ #phy-cells = <0>;+ status = "okay";+ };+ usb0: usb@200000 {+ compatible = "ti,da830-musb";+ reg = <0x00200000 0x10000>;+ interrupts = <58>;+ interrupt-names = "mc";++ dr_mode = "host";+ vbus-supply = <&usb_vbus>;+ phys = <&usb_phy 0>;+ phy-names = "usb-phy";++ status = "okay";+ };
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
From: Sekhar Nori <hidden> Date: 2016-11-15 10:46:39
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted hunk
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
As mentioned by David already, this node needs to be removed. Please
rebase this on top of latest linux-davinci/master when ready for merging
(driver changes accepted).
Can you separate out the soc specific changes from board changes? Please
place the usb0 node above the mdio node. I am trying to get to a rough
ordering based on reg property.
Thanks,
Sekhar
From: Bin Liu <b-liu@ti.com> Date: 2016-11-15 21:20:18
On Tue, Nov 15, 2016 at 04:16:02PM +0530, Sekhar Nori wrote:
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <abailon-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
As mentioned by David already, this node needs to be removed. Please
rebase this on top of latest linux-davinci/master when ready for merging
(driver changes accepted).
Dropped this patch due to this comment.
Regards,
-Bin.
Can you separate out the soc specific changes from board changes? Please
place the usb0 node above the mdio node. I am trying to get to a rough
ordering based on reg property.
Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Bin Liu <b-liu@ti.com> Date: 2016-11-15 21:24:06
On Thu, Nov 03, 2016 at 04:59:08PM +0100, Alexandre Bailon wrote:
Changes in v2:
* Remove unrelated changes in patch 3
* Rename the device node in patch 4
Changes in v3:
* Fix few mistakes in DT binding sample
* Only build the device table if DT is enabled
Change in v4:
* Fix a nit
Alexandre Bailon (1):
ARM: dts: da850: Add the usb otg device node
Petr Kulhavy (3):
dt/bindings: Add binding for the DA8xx MUSB driver
usb: musb: core: added helper function for parsing DT
usb: musb: da8xx: Add DT support for the DA8xx driver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Sekhar Nori <hidden> Date: 2016-11-16 06:37:28
On Wednesday 16 November 2016 02:49 AM, Bin Liu wrote:
On Tue, Nov 15, 2016 at 04:16:02PM +0530, Sekhar Nori wrote:
quoted
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
As mentioned by David already, this node needs to be removed. Please
rebase this on top of latest linux-davinci/master when ready for merging
(driver changes accepted).
Dropped this patch due to this comment.
Bin, Please do not apply dts or arch/arm/mach-davinci patches. I have a
bunch queued through my tree and more in pipeline and it will cause
unnecessary merge conflicts in linux-next or at Linus.
For future, I have asked Alexandre to send driver and dts patches as
separate series so there is no confusion on who should apply.
Thanks,
Sekhar
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
Can you separate out the soc specific changes from board changes? Please
place the usb0 node above the mdio node. I am trying to get to a rough
ordering based on reg property.
From: Sekhar Nori <hidden> Date: 2016-11-16 10:42:23
On Wednesday 16 November 2016 04:05 PM, Alexandre Bailon wrote:
On 11/15/2016 11:46 AM, Sekhar Nori wrote:
quoted
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
As mentioned by David already, this node needs to be removed. Please
I have missed it. But why should I remove it?
Without it, usb otg won't work.
Grr, I replied to the wrong hunk. The part in da850-lcdk.dts needs to be
preserved (but please fix the indentation on the closing brace).
The part in da850.dtsi needs to be removed as it is already merged.
Thanks,
Sekhar
On Wednesday 16 November 2016 04:05 PM, Alexandre Bailon wrote:
quoted
On 11/15/2016 11:46 AM, Sekhar Nori wrote:
quoted
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <redacted>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
From: Bin Liu <b-liu@ti.com> Date: 2016-11-16 17:24:53
On Wed, Nov 16, 2016 at 12:06:51PM +0530, Sekhar Nori wrote:
On Wednesday 16 November 2016 02:49 AM, Bin Liu wrote:
quoted
On Tue, Nov 15, 2016 at 04:16:02PM +0530, Sekhar Nori wrote:
quoted
On Thursday 03 November 2016 09:29 PM, Alexandre Bailon wrote:
quoted
This adds the device tree node for the usb otg
controller present in the da850 family of SoC's.
This also enables the otg usb controller for the lcdk board.
Signed-off-by: Alexandre Bailon <abailon-rdvid1DuHRBWk0Htik3J/w@public.gmane.org>
---
arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++
arch/arm/boot/dts/da850.dtsi | 15 +++++++++++++++
2 files changed, 23 insertions(+)
As mentioned by David already, this node needs to be removed. Please
rebase this on top of latest linux-davinci/master when ready for merging
(driver changes accepted).
Dropped this patch due to this comment.
Bin, Please do not apply dts or arch/arm/mach-davinci patches. I have a
bunch queued through my tree and more in pipeline and it will cause
unnecessary merge conflicts in linux-next or at Linus.
Sure, I will drop this whole set, and only apply the musb patches in the
new v5.
For future, I have asked Alexandre to send driver and dts patches as
separate series so there is no confusion on who should apply.
I will keep in mind to ping other domain maintainers before applying
non-musb patches in future.
Thanks,
Sekhar
Regards,
-Bin.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html