[PATCH v2] phy: kconfig: add depends on "USB_PHY" to OMAP_USB2 and TWL4030_USB

Aaro Koskinen aaro.koskinen at iki.fi
Thu Dec 26 08:05:04 EST 2013


Hi,

On Tue, Dec 03, 2013 at 07:38:52PM +0530, Kishon Vijay Abraham I wrote:
> Fixes
> warning: (OMAP_USB2 && TWL4030_USB) selects USB_PHY which has unmet
> direct dependencies (USB_SUPPORT)
> that shows up while disabling USB_SUPPORT from menuconfig.
[...]
>  config TWL4030_USB
>  	tristate "TWL4030 USB Transceiver Driver"
>  	depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
> +	depends on USB_PHY
>  	select GENERIC_PHY
> -	select USB_PHY
>  	help
>  	  Enable this to support the USB OTG transceiver on TWL4030
>  	  family chips (including the TWL5030 and TPS659x0 devices).

This introduced a minor problem in 3.13-rc5: User is no longer able to
select TWL4030_USB with menuconfig, since there is no menu entry for
enabling USB_PHY. The only way to enable TWL4030_USB is to enable some
other option first that happens to select USB_PHY...

A.



More information about the linux-arm-kernel mailing list