Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1C93C07E99 for ; Mon, 5 Jul 2021 16:28:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 51B06613C1 for ; Mon, 5 Jul 2021 16:28:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51B06613C1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43E5C82BB4; Mon, 5 Jul 2021 18:28:36 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gerhold.net header.i=@gerhold.net header.b="HFOLAeeY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9A04F82BED; Mon, 5 Jul 2021 18:28:33 +0200 (CEST) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 07B8C82BB4 for ; Mon, 5 Jul 2021 18:28:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=gerhold.net Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=stephan@gerhold.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1625502501; s=strato-dkim-0002; d=gerhold.net; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=kARg19DZYjFBB0SAtfmPJmXVLkLgpa87ZVogCKL3DaY=; b=HFOLAeeYFVtJNQSbRCLUXE0Kew3X7sbLy+XSxV6vqTN6Yj2w+5Is4SlDPIs+7vj+Z/ AIrDE25RA2ILeQqJNrMTNAJ8HbaumUO5Rsw24c9WKaiSYAGtkc9lDQDg16FNGw2SsVtp hraI4uayAxH4a3WcpNqHB5Jquem63R4tygJeKZm1HdtNthUGCkieh9UjV/HNdEOQlSaN 652NJP3U+g1u1gb9UaoyGiTtioa3dMSLGO6SUQUdG97M9ynOYaVs2g/a7FTOhbTMMBQo 3HuoQlVOrKpzoMCPk1/Qz6VPQPm0f/+S7Gr64BytVVJJ/AOnmchqVI6YgiPwDfrVP/vM 6ANA== Authentication-Results: strato.com; dkim=none X-RZG-AUTH: ":P3gBZUipdd93FF5ZZvYFPugejmSTVR2nRPhVORvLd4SsytBXS7IYBkLahKxB4m6E7qA=" X-RZG-CLASS-ID: mo00 Received: from droid.. by smtp.strato.de (RZmta 47.28.1 DYNA|AUTH) with ESMTPSA id Y070ccx65GSKUys (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 5 Jul 2021 18:28:20 +0200 (CEST) From: Stephan Gerhold To: u-boot@lists.denx.de Cc: Marek Vasut , Linus Walleij , Joe Hershberger , Jaehoon Chung , Stephan Gerhold Subject: [PATCH 0/3] Add support for USB on ST-Ericsson Ux500 Date: Mon, 5 Jul 2021 18:28:06 +0200 Message-Id: <20210705162809.144862-1-stephan@gerhold.net> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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 adds support for USB on ST-Ericsson Ux500 by: - Adding a driver to talk to the AB8500 PMIC - Adding a driver to enable the USB PHY - Adding a simple Ux500 glue driver for the musb-new driver This was tested on the u8500 "stemmy" board that is already present in U-Boot. Stephan Gerhold (3): power: pmic: Add driver for ST-Ericsson AB8500 via PRCMU phy: Add driver for ST-Ericsson AB8500 USB PHY usb: musb-new: Add glue driver for ST-Ericsson Ux500 drivers/phy/Kconfig | 6 + drivers/phy/Makefile | 1 + drivers/phy/phy-ab8500-usb.c | 54 +++++++ drivers/power/pmic/Kconfig | 10 ++ drivers/power/pmic/Makefile | 1 + drivers/power/pmic/ab8500.c | 258 +++++++++++++++++++++++++++++++ drivers/usb/musb-new/Kconfig | 11 +- drivers/usb/musb-new/Makefile | 1 + drivers/usb/musb-new/musb_core.c | 2 +- drivers/usb/musb-new/ux500.c | 179 +++++++++++++++++++++ include/power/ab8500.h | 125 +++++++++++++++ 11 files changed, 646 insertions(+), 2 deletions(-) create mode 100644 drivers/phy/phy-ab8500-usb.c create mode 100644 drivers/power/pmic/ab8500.c create mode 100644 drivers/usb/musb-new/ux500.c create mode 100644 include/power/ab8500.h -- 2.32.0