[PATCH v6 13/14] usb: otg: add basic mxs phy driver support

Richard Zhao richard.zhao at freescale.com
Wed Jun 27 16:47:57 EST 2012


On Tue, Jun 26, 2012 at 12:15:23PM +0300, Alexander Shishkin wrote:
> Richard Zhao <richard.zhao at freescale.com> writes:
> 
> > +config USB_MXS_PHY
> > +	tristate "Freescale MXS USB PHY support"
> > +	select STMP_DEVICE
> > +	select USB_OTG_UTILS
> 
> There should also be a dependency on ARM (or maybe even ARCH_MXS),
> because you're using writel_relaxed() here, which only exists on arm and
> sh4 and enabling it on other architectures breaks compilation.
Thanks for your view. I'll add
	depends on ARCH_MXC || ARCH_MXS

Richard
> 
> Regards,
> --
> Alex
> 



More information about the devicetree-discuss mailing list