On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote:
> This patch adds a new API "device_connection_find_by_graph()" to
> find device connection by using graph.
>
> Signed-off-by: Yoshihiro Shimoda
> ---
>
On Tue, May 15, 2018 at 02:19:14AM +, Yoshihiro Shimoda wrote:
> Hi Heikki,
>
> > From: Heikki Krogerus, Sent: Monday, May 14, 2018 10:28 PM
> >
> > On Mon, May 14, 2018 at 06:15:57PM +0900, Yoshihiro Shimoda wrote:
>
> > > diff --git a/drivers/b
d get
> a device pointer of usb 3.0 host from "companion" property of OF.
> Then, when the usb role is changed, renesas_usb3_role_switch_set()
> will attach/release the xhci-plat driver to reinitialize the host
> hardware.
>
> Signed-off-by: Yoshihiro Shimoda
Reviewed-
On Fri, May 25, 2018 at 04:12:56PM +0900, Yoshihiro Shimoda wrote:
> @@ -2573,6 +2635,12 @@ static void renesas_usb3_init_ram(struct renesas_usb3
> *usb3, struct device *dev,
> EXTCON_NONE,
> };
>
> +static struct usb_role_switch_desc renesas_usb3_role_switch_desc = {
You can constify
On Tue, Apr 10, 2018 at 09:03:46PM +0900, Yoshihiro Shimoda wrote:
> This patch adds role switch support for R-Car SoCs. Some R-Car SoCs
> (e.g. R-Car H3) have USB 3.0 dual-role device controller which has
> the USB 3.0 xHCI host and Renesas USB 3.0 peripheral.
>
> Unfortunately, the mode change
On Wed, Apr 11, 2018 at 03:15:23AM +, Yoshihiro Shimoda wrote:
> > > + host_node = of_parse_phandle(pdev->dev.of_node, "renesas,host",
> > > 0);
> > > + if (!host_node)
> > > + return -ENODEV;
> > > +
> > > + pdev_host = of_find_device_by_node(host_node);
> > >
Hi Yoshihiro,
On Wed, Apr 18, 2018 at 05:09:58PM +0900, Yoshihiro Shimoda wrote:
> This patch adds device connection parsing in of_platform_populate().
>
> TODO:
> - How to free the devcon memories?
> - How to remove the devcon instances?
>
> Signed-off-by: Yoshihiro Shimoda