From patchwork Wed Mar 25 18:22:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 454705 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id D628E1400D5 for ; Thu, 26 Mar 2015 05:34:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 96B6D3934; Wed, 25 Mar 2015 19:30:34 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MnC7QCRm07SI; Wed, 25 Mar 2015 19:30:34 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8E28DABF4E; Wed, 25 Mar 2015 19:28:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 330484B67F for ; Wed, 25 Mar 2015 19:25:13 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qIjzGIMgwR6e for ; Wed, 25 Mar 2015 19:25:13 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f202.google.com (mail-pd0-f202.google.com [209.85.192.202]) by theia.denx.de (Postfix) with ESMTPS id 2F9B8ABEB0 for ; Wed, 25 Mar 2015 19:25:09 +0100 (CET) Received: by pdjy10 with SMTP id y10so2533458pdj.1 for ; Wed, 25 Mar 2015 11:25:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=XgSli4leSUfznJSX+0YqSx+xOMtTJuswYa3s2DwiUMQ=; b=OeNghRTqxuGGz27xlhN/hIDorURH+wk/SEQoUTVs4DlH2PY4FQSYFWsSijZQtgdY+r K9tqjICLQXhs3Zo7g6JE08JxYAohA1w43nwtCXkZ40LubobT7lSuYpS4XenEJnrM1q+x kOGoRPkPJkaIH3+tDKOSg4hWc64k0A+3Um+mTKHcvPKj4TvVgGkxylCCT753b04AhP4F Mp585d9FAFplowO4Nf0XxxS7s3oN0o3PVM8Vx+LWMBN6XUDbCc/kYwIRITc8YHexRXoQ jBwhWE/S/QUxx0UG7GYqIcJjIwacRKJQ4HEV304db8sFuD3nTKrjZBPCTCjaaGiFu3Yi mT3g== X-Gm-Message-State: ALoCoQnCTOduRi8H1yOKPyJUcgxoEQIIlao3OguTi1EQUxvvDFyfHrHbGbxSsf/2cisFSx++C8Yv X-Received: by 10.66.102.41 with SMTP id fl9mr11777188pab.7.1427307907838; Wed, 25 Mar 2015 11:25:07 -0700 (PDT) Received: from corpmail-nozzle1-1.hot.corp.google.com ([100.108.1.104]) by gmr-mx.google.com with ESMTPS id 40si237710yho.6.2015.03.25.11.25.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Mar 2015 11:25:07 -0700 (PDT) Received: from kaki.bld.corp.google.com ([172.29.216.32]) by corpmail-nozzle1-1.hot.corp.google.com with ESMTP id kvchysiM.9; Wed, 25 Mar 2015 11:25:07 -0700 Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 00F05221230; Wed, 25 Mar 2015 12:25:06 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 25 Mar 2015 12:22:59 -0600 Message-Id: <1427307788-7496-72-git-send-email-sjg@chromium.org> X-Mailer: git-send-email 2.2.0.rc0.207.ga3a616c In-Reply-To: <1427307788-7496-1-git-send-email-sjg@chromium.org> References: <1427307788-7496-1-git-send-email-sjg@chromium.org> Cc: Marek Vasut , Stephen Warren , Vivek Gautam , Tom Warren Subject: [U-Boot] [PATCH v2 71/80] dm: usb: tegra: Move to driver model for USB X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Move Tegra boards over to driver model for USB EHCI. There are a few things that are no-longer needed (e.g. in fdtdec.h) but these will be cleaned up in a later patch to be applied one we are confident this change is fully tested. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/mach-tegra/Kconfig | 3 +++ board/nvidia/common/board.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index fccfd79..3625035 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -47,6 +47,9 @@ config DM_I2C config DM_GPIO default y +config DM_USB + default y + source "arch/arm/mach-tegra/tegra20/Kconfig" source "arch/arm/mach-tegra/tegra30/Kconfig" source "arch/arm/mach-tegra/tegra114/Kconfig" diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 018dddb..a97035c 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidia/common/board.c @@ -128,8 +128,10 @@ int board_init(void) #ifdef CONFIG_USB_EHCI_TEGRA pin_mux_usb(); +#ifndef CONFIG_DM_USB usb_process_devicetree(gd->fdt_blob); #endif +#endif #ifdef CONFIG_LCD tegra_lcd_check_next_stage(gd->fdt_blob, 0);