From: Felipe Balbi Subject: Re: [PATCH 3/7 V2] usb: otg: Kconfig: Add Kconfig option for TWL6030 transceiver. Date: Fri, 10 Dec 2010 10:41:26 +0200 Message-ID: <20101210084126.GE2576@legolas.emea.dhcp.ti.com> References: <1291964675-7114-1-git-send-email-hemahk@ti.com> Reply-To: balbi-l0cyMroinI0@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Content-Disposition: inline In-Reply-To: <1291964675-7114-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Hema HK Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Felipe Balbi , David Brownell List-Id: linux-omap@vger.kernel.org On Fri, Dec 10, 2010 at 12:34:35PM +0530, Hema HK wrote: >Added the TWL6030-usb transceiver option in the Kconfig > >Signed-off-by: Hema HK >Cc: Felipe Balbi >Cc: David Brownell >--- > drivers/usb/otg/Kconfig | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > >Index: usb/drivers/usb/otg/Kconfig >=================================================================== >--- usb.orig/drivers/usb/otg/Kconfig >+++ usb/drivers/usb/otg/Kconfig >@@ -59,6 +59,18 @@ config TWL4030_USB > This transceiver supports high and full speed devices plus, > in host mode, low speed. > >+config TWL6030_USB >+ tristate "TWL6030 USB Transceiver Driver" >+ depends on TWL4030_CORE >+ select USB_OTG_UTILS >+ help >+ Enable this to support the USB OTG transceiver on TWL6030 >+ family chips. This TWL6030 transceiver has the VBUS and ID GND >+ and OTG SRP events capabilities. For all other transceiver functionality >+ UTMI PHY is embedded in OMAP4430. The internal PHY configurations APIs >+ are hooked to this driver through platform_data structure. >+ The definition of internal PHY APIs are in the mach-omap2 layer. >+ When compiling with this patch: drivers/usb/otg/twl6030-usb.c: In function 'twl6030_set_phy_clk': drivers/usb/otg/twl6030-usb.c:145: error: 'struct twl4030_usb_data' has no member named 'phy_set_clock' drivers/usb/otg/twl6030-usb.c: In function 'twl6030_phy_init': drivers/usb/otg/twl6030-usb.c:166: error: 'struct twl4030_usb_data' has no member named 'phy_power' drivers/usb/otg/twl6030-usb.c:168: error: 'struct twl4030_usb_data' has no member named 'phy_power' drivers/usb/otg/twl6030-usb.c: In function 'twl6030_phy_shutdown': drivers/usb/otg/twl6030-usb.c:182: error: 'struct twl4030_usb_data' has no member named 'phy_power' drivers/usb/otg/twl6030-usb.c: In function 'twl6030_usb_probe': drivers/usb/otg/twl6030-usb.c:440: error: 'struct twl4030_usb_data' has no member named 'phy_init' drivers/usb/otg/twl6030-usb.c: In function 'twl6030_usb_remove': drivers/usb/otg/twl6030-usb.c:462: error: 'struct twl4030_usb_data' has no member named 'phy_exit' make[2]: *** [drivers/usb/otg/twl6030-usb.o] Error 1 make[1]: *** [drivers/usb/otg] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [drivers] Error 2 make: *** Waiting for unfinished jobs.... please fix ASAP or we will loose the merge window. -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html