From patchwork Mon Apr 22 08:21:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 2470481 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 3FEAEDF23A for ; Mon, 22 Apr 2013 08:23:00 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUC1Z-0001tD-G4; Mon, 22 Apr 2013 08:22:57 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUC1S-0000yE-36; Mon, 22 Apr 2013 08:22:50 +0000 Received: from arroyo.ext.ti.com ([192.94.94.40]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UUC1P-0000xu-RD for linux-arm-kernel@lists.infradead.org; Mon, 22 Apr 2013 08:22:48 +0000 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3M8MG7k006660; Mon, 22 Apr 2013 03:22:16 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3M8MFLs018205; Mon, 22 Apr 2013 03:22:15 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Mon, 22 Apr 2013 03:22:15 -0500 Received: from localhost (h79-11.vpn.ti.com [172.24.79.11]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r3M8MEW3010371; Mon, 22 Apr 2013 03:22:15 -0500 Date: Mon, 22 Apr 2013 11:21:49 +0300 From: Felipe Balbi To: Roger Quadros Subject: Re: linux-next ARM multi-platform randconfig errors Message-ID: <20130422082149.GK10536@arwen.pp.htv.fi> References: <5170B4C6.1030300@gmail.com> <20130419161257.GI10155@atomide.com> <5174E58D.8080800@ti.com> MIME-Version: 1.0 In-Reply-To: <5174E58D.8080800@ti.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130422_042247_988517_80D73CF0 X-CRM114-Status: GOOD ( 21.81 ) X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [192.94.94.40 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Jeremy Fitzhardinge , Gleb Natapov , Srinidhi Kasagar , Tony Lindgren , Linus Walleij , Grant Likely , Kevin Hilman , Jiri Slaby , Alasdair Kergon , Russell King , Samuel Ortiz , Florian Tobias Schandinat , Neil Brown , Tomi Valkeinen , Alan Stern , Christoffer Dall , Arnd Bergmann , Konrad Rzeszutek Wilk , Rob Herring , "Rafael J. Wysocki" , linux-arm-kernel@lists.infradead.org, Paul Walmsley , =?iso-8859-1?Q?Beno=EEt?= Cousson , Greg Kroah-Hartman , Marcelo Tosatti , linux-kernel@vger.kernel.org, Felipe Balbi , Sascha Hauer X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: balbi@ti.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Hi, On Mon, Apr 22, 2013 at 10:23:57AM +0300, Roger Quadros wrote: > -Kevin Hilman > +Kevin Hilman > > On 04/19/2013 07:12 PM, Tony Lindgren wrote: > > * Rob Herring [130418 20:11]: > >> Current errors in linux-next for ARM multi-platform randconfig builds. > >> > >> Rob > >> > >> arch/arm/mach-omap2/built-in.o:dss-common.c:(.init.text+0x6830): more undefined references to `usb_bind_phy' follow > > > > Felipe & Roger, can you guys take a look at the usb_bind_phy issue > > in linux next? I have not seen that in the multiplatform randconfigs > > I've built, but I have had some omap2+ specific things enabled there. > > These problems happen if USB_PHY is not enabled as a built-in driver. > I had pointed this out earlier [1] and Felipe should have a fix for it. yeah, ideally we wouldn't do any 'select' and just update defconfig with the necessary changes. We need the patch below to update defconfig and another patch to stub out usb_bind_phy when !USB_PHY. 8< ---------------------- cut here ------------------------------------- From 3062dbf02d0f677aabd5c12333e446ab0c13afc0 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 22 Apr 2013 11:10:23 +0300 Subject: [PATCH] arm: defconfigs: add USB_PHY to omap2plus_defconfig without USB_PHY (and a few PHY drivers) we won't have functional USB on any OMAP platform. Enable some sensible defaults so omap2plus_defconfig works for most platforms. Signed-off-by: Felipe Balbi --- arch/arm/configs/omap2plus_defconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index bd07864..8c243ac 100644 --- a/arch/arm/configs/omap2plus_defconfig +++ b/arch/arm/configs/omap2plus_defconfig @@ -74,6 +74,7 @@ CONFIG_CMA=y CONFIG_CONNECTOR=y CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y +CONFIG_OMAP_OCP2SCP=y CONFIG_MTD=y CONFIG_MTD_CMDLINE_PARTS=y CONFIG_MTD_CHAR=y @@ -205,6 +206,11 @@ CONFIG_USB_WDM=y CONFIG_USB_STORAGE=y CONFIG_USB_LIBUSUAL=y CONFIG_USB_TEST=y +CONFIG_USB_PHY=y +CONFIG_NOP_USB_XCEIV=y +CONFIG_OMAP_USB2=y +CONFIG_OMAP_USB3=y +CONFIG_USB_ULPI=y CONFIG_USB_GADGET=y CONFIG_USB_GADGET_DEBUG=y CONFIG_USB_GADGET_DEBUG_FILES=y