From: balbi@ti.com (Felipe Balbi)
To: linux-arm-kernel@lists.infradead.org
Subject: OMAP still fails - usb phy stuff
Date: Tue, 10 Dec 2013 14:16:40 -0600 [thread overview]
Message-ID: <20131210201639.GD2464@saruman.home> (raw)
In-Reply-To: <20131210192508.GB2464@saruman.home>
Hi,
On Tue, Dec 10, 2013 at 01:25:08PM -0600, Felipe Balbi wrote:
> On Tue, Dec 10, 2013 at 10:38:10AM -0800, Tony Lindgren wrote:
> > * Russell King - ARM Linux <linux@arm.linux.org.uk> [131210 05:10]:
> > > I still see some OMAP randconfigs failing with this:
> > >
> > > arch/arm/mach-omap2/built-in.o: In function `usbhs_init_phys':
> > > dss-common.c:(.text+0x1396c): undefined reference to `usb_bind_phy'
> > > arch/arm/mach-omap2/built-in.o: In function `omap_2430sdp_init':
> > > dss-common.c:(.init.text+0x6c90): undefined reference to `usb_bind_phy'
> > > drivers/built-in.o: In function `omap_usb2_remove':
> > > powercap_sys.c:(.text+0x3520): undefined reference to `usb_remove_phy'
> > > drivers/built-in.o: In function `omap_usb_power_off':
> > > powercap_sys.c:(.text+0x3544): undefined reference to `omap_control_usb_phy_power'
> > > drivers/built-in.o: In function `omap_usb_power_on':
> > > powercap_sys.c:(.text+0x3568): undefined reference to `omap_control_usb_phy_power'
> > > drivers/built-in.o: In function `omap_usb2_probe':
> > > powercap_sys.c:(.text+0x3638): undefined reference to `omap_control_usb_phy_power'
> > > powercap_sys.c:(.text+0x36d4): undefined reference to `usb_add_phy_dev'
> > > drivers/built-in.o: In function `omap_usb2_suspend':
> > > powercap_sys.c:(.text+0x37d0): undefined reference to `omap_control_usb_phy_power'
> > > powercap_sys.c:(.text+0x37f4): undefined reference to `omap_control_usb_phy_power'
> > > drivers/built-in.o: In function `omap_usb2_set_comparator':
> > > powercap_sys.c:(.text+0x3844): undefined reference to `usb_get_phy'
> > > drivers/built-in.o: In function `isp1704_charger_remove':
> > > powercap_sys.c:(.text+0x48d5ec): undefined reference to `usb_put_phy'
> > > drivers/built-in.o: In function `isp1704_charger_probe':
> > > powercap_sys.c:(.text+0x48d64c): undefined reference to `usb_get_phy'
> > > powercap_sys.c:(.text+0x48d884): undefined reference to `usb_put_phy'
> > > drivers/built-in.o: In function `twl4030_bci_probe':
> > > powercap_sys.c:(.init.text+0x13fd4): undefined reference to `usb_get_phy'
> > > powercap_sys.c:(.init.text+0x14114): undefined reference to `usb_put_phy'
> > >
> > > Probably caused by over-use of the damned select statement:
> > >
> > > warning: (OMAP_USB2 && TWL4030_USB) selects USB_PHY which has unmet direct dependencies (USB_SUPPORT)
> > > warning: (OMAP_USB2) selects OMAP_CONTROL_USB which has unmet direct dependencies (USB_SUPPORT && (ARCH_OMAP2PLUS || COMPILE_TEST))
> > > warning: (OMAP_USB2 && TWL4030_USB) selects USB_PHY which has unmet direct dependencies (USB_SUPPORT)
> > > warning: (OMAP_USB2) selects OMAP_CONTROL_USB which has unmet direct dependencies (USB_SUPPORT && (ARCH_OMAP2PLUS || COMPILE_TEST))
> > >
> > > You have to wonder why OMAP_USB2 can be enabled when USB_SUPPORT is
> > > disabled.
> >
> > Yeah this causes constant randconfig errors. Felipe, I thought you
> > had some fixes lined up for these few weeks ago already when we
> > last talked about it?
>
> For the warnings, yeah. Greg's pull request hasn't been appliet yet
> (need to check again, checked yesterday).
>
> For the build error, I'll send something today.
this should fix it (checked with RMK's defconfig):
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index a344f3d..d8b1a9a 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -24,9 +24,9 @@ config PHY_EXYNOS_MIPI_VIDEO
config OMAP_USB2
tristate "OMAP USB2 PHY Driver"
depends on ARCH_OMAP2PLUS
+ depends on OMAP_CONTROL_USB
select GENERIC_PHY
select USB_PHY
- select OMAP_CONTROL_USB
help
Enable this to support the transceiver that is part of SOC. This
driver takes care of all the PHY functionality apart from comparator.
i'll send it as a proper patch now.
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131210/a084c60b/attachment.sig>
next prev parent reply other threads:[~2013-12-10 20:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-10 13:09 OMAP still fails - usb phy stuff Russell King - ARM Linux
2013-12-10 18:38 ` Tony Lindgren
2013-12-10 19:25 ` Felipe Balbi
2013-12-10 20:16 ` Felipe Balbi [this message]
2013-12-10 20:20 ` Felipe Balbi
2013-12-10 20:21 ` Russell King - ARM Linux
2013-12-10 20:25 ` Felipe Balbi
2013-12-10 19:26 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131210201639.GD2464@saruman.home \
--to=balbi@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).