Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 403CEC433EF for ; Wed, 22 Dec 2021 09:55:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 617A88304D; Wed, 22 Dec 2021 10:55:36 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1640166936; bh=L462sUwEi5L8nZBdRswm50J+hdbhmgUR9wjyGP8GFm8=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=oTqmEuqYbc4lL6uQqL+6Ee/2lMrAN0Qnf78VBPh2P98FAqgUnzeJ1Et4SY1Fma7RF Tmo/C7c34kbprfFG5Trrr5cEIhYPS7WNMQHmBk8HSD18h1t8t+4bqkTe1JXCW/wIwA q1Jyq7Aqy2KX3pzgTYSTrdtmmVuNkjZ6wBSlJsURXl2Z4ZxUZsSI2ae0VVmCTgEcfM OzcTJgODX9jFvOwGE/Kemt1Qr5qLPLeqgiChHbliOJ+7CEQgWL6lrGCEtydd2Pdz4g NiWn5nKBEFKuEJxQWG34RkY81OnrFMFClhAbU/OY3WytKQvxv8YfcPJPOciQaIDhjf xz10N0f3sKDoQ== Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7C76780820; Wed, 22 Dec 2021 10:55:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1640166933; bh=L462sUwEi5L8nZBdRswm50J+hdbhmgUR9wjyGP8GFm8=; h=From:To:Cc:Subject:Date:From; b=yKi7jHrwRXlpMqcH2VYCmUUAo2kLFtDBU3sw9xusUfgXH8mp4XyVBsXZe3qFMnugs jnKSdn8OqxVGUhhuCh8VV8aiUoSiwvhRTzALqriFuY/Zdr0fI9bJl+g2N+wFgplHW0 XZq5I5acmtBxDa34SsBNU9jw/19LW0RSyMwnfV2erJkPREWLByXLVQ8/KbPyNPhxuA d8zmPEnHaGEHfQrCMe9hMru6MoHNMlc6x64XKc7NUigI8xPDfhFVv0P/UM8xWfXZby /6HX+VdGMA6jVFyluWtLowTZbzUra6P4+OMSXa+K5rddfaKDH7KVr18ghjTheaD2bj qaSDrMP69rk+Q== From: Lukasz Majewski To: u-boot@lists.denx.de, Stefano Babic , Marek Vasut Cc: Lukasz Majewski , "WARNING:Unknown"@denx.de, setting@denx.de, ignore_warnings@denx.de, Giulio Benetti , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Michal Simek , Simon Glass Subject: [PATCH v1 0/4] usb: ehci: Conversion of ehci-mxs driver to support DM (i.MX28) Date: Wed, 22 Dec 2021 10:55:05 +0100 Message-Id: <20211222095509.30071-1-lukma@denx.de> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 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" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean This patch series focuses on converting ehci-mxs driver to support DM and work with i.MX28 (SoC). The XEA board has been used to test the proposed code with USB pen drive. Lukasz Majewski (4): usb: Modify Kconfig of the USB_EHCI_MXS to use this driver with imx28 usb: ehci: Refactor the ehci_mxs_toggle_clock function to be reused with DM usb: ehci: Move common mxs code to separate functions (ehci_hcd_{stop|start}) usb: ehci: dm: Convert i.MX28 ehci code to driver model drivers/usb/host/Kconfig | 7 +- drivers/usb/host/ehci-mxs.c | 328 ++++++++++++++++++++++++++++-------- 2 files changed, 266 insertions(+), 69 deletions(-) -- 2.20.1