* [3/3] USB: musb: dsps: propagate device-tree node
@ 2018-04-13 15:15 Johan Hovold
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2018-04-13 15:15 UTC (permalink / raw)
To: Bin Liu
Cc: Greg Kroah-Hartman, Alan Stern, Arnd Bergmann,
Kishon Vijay Abraham I, Martin Blumenstingl, linux-usb,
linux-kernel, Johan Hovold
To be able to use DSPS-based controllers with device-tree descriptions
of the USB topology, we need to associate the glue device's device-tree
node with the child controller device.
Note that this can also be used to eventually let USB core manage
generic phys.
Also note that the other glue drivers will require similar changes to be
able to describe their buses in DT.
Signed-off-by: Johan Hovold <johan@kernel.org>
---
drivers/usb/musb/musb_dsps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 6a60bc0490c5..23dba59045a7 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -786,6 +786,7 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue,
musb->dev.parent = dev;
musb->dev.dma_mask = &musb_dmamask;
musb->dev.coherent_dma_mask = musb_dmamask;
+ device_set_of_node_from_dev(&musb->dev, &parent->dev);
glue->musb = musb;
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [3/3] USB: musb: dsps: propagate device-tree node
@ 2018-04-16 20:03 Bin Liu
0 siblings, 0 replies; 3+ messages in thread
From: Bin Liu @ 2018-04-16 20:03 UTC (permalink / raw)
To: Johan Hovold
Cc: Greg Kroah-Hartman, Alan Stern, Arnd Bergmann,
Kishon Vijay Abraham I, Martin Blumenstingl, linux-usb,
linux-kernel
Johan,
On Fri, Apr 13, 2018 at 05:15:05PM +0200, Johan Hovold wrote:
> To be able to use DSPS-based controllers with device-tree descriptions
> of the USB topology, we need to associate the glue device's device-tree
> node with the child controller device.
>
> Note that this can also be used to eventually let USB core manage
> generic phys.
>
> Also note that the other glue drivers will require similar changes to be
> able to describe their buses in DT.
>
> Signed-off-by: Johan Hovold <johan@kernel.org>
I will take other two patches for v4.17 rc cycles, but is there any
problem if I take this patch for v4.18-rc1?
Regards,
-Bin.
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* [3/3] USB: musb: dsps: propagate device-tree node
@ 2018-04-17 7:07 Johan Hovold
0 siblings, 0 replies; 3+ messages in thread
From: Johan Hovold @ 2018-04-17 7:07 UTC (permalink / raw)
To: Bin Liu
Cc: Johan Hovold, Greg Kroah-Hartman, Alan Stern, Arnd Bergmann,
Kishon Vijay Abraham I, Martin Blumenstingl, linux-usb,
linux-kernel
On Mon, Apr 16, 2018 at 03:03:12PM -0500, Bin Liu wrote:
> Johan,
>
> On Fri, Apr 13, 2018 at 05:15:05PM +0200, Johan Hovold wrote:
> > To be able to use DSPS-based controllers with device-tree descriptions
> > of the USB topology, we need to associate the glue device's device-tree
> > node with the child controller device.
> >
> > Note that this can also be used to eventually let USB core manage
> > generic phys.
> >
> > Also note that the other glue drivers will require similar changes to be
> > able to describe their buses in DT.
> >
> > Signed-off-by: Johan Hovold <johan@kernel.org>
>
> I will take other two patches for v4.17 rc cycles, but is there any
> problem if I take this patch for v4.18-rc1?
None at all. That sounds good to me.
Thanks,
Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-17 7:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-13 15:15 [3/3] USB: musb: dsps: propagate device-tree node Johan Hovold
-- strict thread matches above, loose matches on Subject: below --
2018-04-16 20:03 Bin Liu
2018-04-17 7:07 Johan Hovold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).