LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Support of usb_phy notifier in generic phy.
@ 2015-03-27  8:07 Anjana V Kumar
  2015-03-31  5:27 ` Kishon Vijay Abraham I
  0 siblings, 1 reply; 2+ messages in thread
From: Anjana V Kumar @ 2015-03-27  8:07 UTC (permalink / raw)
  To: kishon; +Cc: linux-kernel

Hi Kishon

This is regarding the notification of usb_phy_events option which was
available with usb_phy.

In my scenario, the phy driver gets the connect/disconnect event, and
does the initial phy programming. Then I want to notify the gadget
driver of the same.

In usb_phy the notifier option was available, which I could use for the same.

Can you please help me understand if,

1. there a plan to add notifications support to the generic phy?
2. If not, is there other option I can use for the same.

Thanks and Regards
Anjana

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Support of usb_phy notifier in generic phy.
  2015-03-27  8:07 Support of usb_phy notifier in generic phy Anjana V Kumar
@ 2015-03-31  5:27 ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 2+ messages in thread
From: Kishon Vijay Abraham I @ 2015-03-31  5:27 UTC (permalink / raw)
  To: Anjana V Kumar; +Cc: linux-kernel

Hi,

On Friday 27 March 2015 01:37 PM, Anjana V Kumar wrote:
> Hi Kishon
>
> This is regarding the notification of usb_phy_events option which was
> available with usb_phy.
>
> In my scenario, the phy driver gets the connect/disconnect event, and
> does the initial phy programming. Then I want to notify the gadget
> driver of the same.
>
> In usb_phy the notifier option was available, which I could use for the same.
>
> Can you please help me understand if,
>
> 1. there a plan to add notifications support to the generic phy?
> 2. If not, is there other option I can use for the same.

IMO individual PHY drivers should use extcon framework to notify events
to the gadget driver.

Cheers
Kishon

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-31  5:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-27  8:07 Support of usb_phy notifier in generic phy Anjana V Kumar
2015-03-31  5:27 ` Kishon Vijay Abraham I

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).