[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150924094330.GC27847@shlinux2>
Date: Thu, 24 Sep 2015 17:43:31 +0800
From: Peter Chen <peter.chen@...escale.com>
To: Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@...inx.com>
CC: "balbi@...com" <balbi@...com>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"kishon@...com" <kishon@...com>,
"gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Punnaiah Choudary Kalluri" <punnaia@...inx.com>
Subject: Re: [RFC PATCH 2/2] usb: phy: Add platform driver support for ULPI
PHYs
On Thu, Sep 24, 2015 at 09:21:16AM +0000, Subbaraya Sundeep Bhatta wrote:
> > > +uphy->flags);
> > > +
> > > + uphy->usb_phy->set_vbus = usbphy_set_vbus;
> >
> > When you will call it?
>
> I am calling it in host.c and otg_fsm.c of Chipidea driver wherever
> regulator_enable/disable is called to control VBUS like below:
>
> if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) {
> if (enable)
> ci->usb_phy->set_vbus(ci->usb_phy, 1);
> else
> ci->usb_phy->set_vbus(ci->usb_phy, 0);
> }
>
> After these changes host mode and otg modes works fine
> for my case.
>
Get it, there are several vbus control ways, I may need to consolidate
them, of cos, this is another topic.
--
Best Regards,
Peter Chen
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists