From patchwork Wed Aug 22 20:42:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10573257 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 163BD139B for ; Wed, 22 Aug 2018 20:57:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 036B92A677 for ; Wed, 22 Aug 2018 20:57:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E99A62BA43; Wed, 22 Aug 2018 20:57:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 32FEC2A677 for ; Wed, 22 Aug 2018 20:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=hvol/3FPkabwzTvgIDKrgoC7Fc9TRxbyMtwD1jItcLI=; b=FWNE1PiWeDkysum0Bq92TiH18/ qQgaOvfLU96sxqWN7Eb3Gbi4WGEayIlys+XMOvDF0Uxi4COiz52gbYGakeTPQwE3xs+MVSGktQjaI pA6q6TIizV9quUJiCkCN8kiA4/6VV8QhCtIhn43uBSIqR9dMfISNADBiWawG57I4XK1kl/sPe5x/T GTD1npCSnakzp9UeQjdYi5NGOCHtOUrUIuBR5s3DXmA5B7HfvDY1t+nko4PNa6O1nsD3Xv/niGMHl ZV3OhlOi3PHpP+YHxYQNINJDECVmm8NiFI2Q+9pdBnin7Hl08zm495RvWPnD6PNwCSwQbzt//MUHS mSfMKuig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsaCQ-00083l-GB; Wed, 22 Aug 2018 20:57:54 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsaCO-0007k7-NE for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Aug 2018 20:57:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=w3STcNZ9qTMoqYbSlsyJH6S9SteX/Ktj/zuZJymoIi8=; b=TbF0qU/bDkXmpM3P+4xgHW1/2 lNcy4bMAjaXIsF1FED7pCxfaMMLUCt4bqm0U+6V8sZZXosy//zM+8XxdfluRsyA7pPITys/+28gde gyp92yqiq+02XGUXeYGGQ8gKy6N7ruC/mY8julLpkfonPVXRXbUKxLm5zyQunicJyVfWqbjtbkAa+ b75j2Az7sLD601C7gNF+ErT2EaRHMDpOBTWNEaNmQUsgFE7pNl9JXS5OuUYmqmjeUobqt9Q0zJkO8 arknisI0fP+6zosnnJ2JaTqvcPp9f38OK/B0T0ibngw83LqUtGBrWRi039dkSh8kT8Y4QpeRR+Hsv lDWyvXTfA==; Received: from shell.v3.sk ([90.176.6.54]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsZyu-0003ZY-47 for linux-arm-kernel@lists.infradead.org; Wed, 22 Aug 2018 20:43:58 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 6DC4BB5238; Wed, 22 Aug 2018 22:43:39 +0200 (CEST) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UjIByaSKzpvz; Wed, 22 Aug 2018 22:43:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id C979FB5B9C; Wed, 22 Aug 2018 22:43:15 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id R2_wPtFnWdGN; Wed, 22 Aug 2018 22:43:13 +0200 (CEST) Received: from odvarok.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 7E963B5238; Wed, 22 Aug 2018 22:43:12 +0200 (CEST) From: Lubomir Rintel To: linux-kernel@vger.kernel.org Subject: [PATCH 06/14] ARM: aspenite: add an instance of pxa-usb-phy Date: Wed, 22 Aug 2018 22:42:59 +0200 Message-Id: <20180822204307.13251-7-lkundrak@v3.sk> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180822204307.13251-1-lkundrak@v3.sk> References: <20180822204307.13251-1-lkundrak@v3.sk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180822_214356_247875_BF0AF4D2 X-CRM114-Status: GOOD ( 10.87 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Eric Miao , Greg Kroah-Hartman , linux-usb@vger.kernel.org, Haojian Zhuang , Kishon Vijay Abraham I , Lubomir Rintel , Rob Herring , Alan Stern , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This will replace the pxa168_sph_pdata.phy_{de,}init(). Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/mach-mmp/aspenite.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-mmp/aspenite.c b/arch/arm/mach-mmp/aspenite.c index 6c2ebf01893a..23f99976b5f5 100644 --- a/arch/arm/mach-mmp/aspenite.c +++ b/arch/arm/mach-mmp/aspenite.c @@ -256,6 +256,10 @@ static void __init common_init(void) /* off-chip devices */ platform_device_register(&smc91x_device); +#if IS_ENABLED(CONFIG_PHY_PXA_USB) + platform_device_register(&pxa168_device_usb_phy); +#endif + #if IS_ENABLED(CONFIG_USB_EHCI_MV) pxa168_add_usb_host(&pxa168_sph_pdata); #endif