From patchwork Tue Jul 16 08:49:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1132526 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45nvG75ndnz9s7T for ; Tue, 16 Jul 2019 18:49:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 81517C21DFB; Tue, 16 Jul 2019 08:49:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 4B44EC21C4A; Tue, 16 Jul 2019 08:49:16 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C8CE2C21C4A; Tue, 16 Jul 2019 08:49:15 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by lists.denx.de (Postfix) with ESMTPS id 7278CC21C29 for ; Tue, 16 Jul 2019 08:49:15 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 45nvG327cDz1rLG4; Tue, 16 Jul 2019 10:49:15 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 45nvG31xF6z1qwGX; Tue, 16 Jul 2019 10:49:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id BNTl63kB7fx1; Tue, 16 Jul 2019 10:49:14 +0200 (CEST) X-Auth-Info: DtalcxDuufCqNSQwR1hE1Wbnqsv618QF0BBwcTPjcME= Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 16 Jul 2019 10:49:13 +0200 (CEST) Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id 7BD91180760; Tue, 16 Jul 2019 10:49:09 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id 5CFB81A00A1; Tue, 16 Jul 2019 10:49:09 +0200 (CEST) From: Heiko Schocher To: U-Boot Mailing List Date: Tue, 16 Jul 2019 10:49:02 +0200 Message-Id: <20190716084907.1568340-1-hs@denx.de> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Cc: Marek Vasut , Ramon Fried , Igor Opaniuk , Marcel Ziswiler , Maxime Ripard , Sven Schwermer Subject: [U-Boot] [PATCH v1 0/5] usb, ohci-hcd: add usb ohci pci DM driver X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" add DM support for USB OHCI over PCI. Therefore first add some small fixes to get usb ohci-hcd driver working again with mpc85xx. Base for the patchset is: 6070ef409c - Merge branch '2019-07-12-master-imports' Travis build see: https://travis-ci.org/hsdenx/u-boot-test/builds/559243960 Heiko Schocher (5): usb, ohci-hdc: fix warning 'ohci_pci_ids' defined but not used usb, ohci: fix ohci swap register access usb, ohci-hcd: set OHCI_USE_NPS if DM_PCI usb, ohci: add warning if none on pci found usb, ohci, pci: add DM support for PCI-based OHCI USB controller drivers/usb/host/Kconfig | 7 +++++ drivers/usb/host/Makefile | 1 + drivers/usb/host/ohci-hcd.c | 12 ++++++--- drivers/usb/host/ohci-pci.c | 52 +++++++++++++++++++++++++++++++++++++ drivers/usb/host/ohci.h | 4 +-- 5 files changed, 71 insertions(+), 5 deletions(-) create mode 100644 drivers/usb/host/ohci-pci.c