Re: Support of usb_phy notifier in generic phy.

From: Kishon Vijay Abraham I
Date: Tue Mar 31 2015 - 01:27:27 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/