From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbbCaF1U (ORCPT ); Tue, 31 Mar 2015 01:27:20 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:56463 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750706AbbCaF1T (ORCPT ); Tue, 31 Mar 2015 01:27:19 -0400 Message-ID: <551A3033.5010805@ti.com> Date: Tue, 31 Mar 2015 10:57:15 +0530 From: Kishon Vijay Abraham I User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Anjana V Kumar CC: Subject: Re: Support of usb_phy notifier in generic phy. References: In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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