From patchwork Wed Aug 22 20:42:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lubomir Rintel X-Patchwork-Id: 10573283 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 2803D13B6 for ; Wed, 22 Aug 2018 21:54:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 173282B5C8 for ; Wed, 22 Aug 2018 21:54:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0BCA92BCF4; Wed, 22 Aug 2018 21:54:16 +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 BB0F82B5C8 for ; Wed, 22 Aug 2018 21:54:15 +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=KZ8EkeNv+8urUhrvQCtgl8NZx/DGSpq1HDkQkyRg7rE=; b=PTwoBL7JbYvhNxXZo08BAJmoHZ YnHxVGjZnGb+jYw4r9k2yF/NvOtqGQyIKQOBby9ttjW7oO0WANQpHJWHtxthNcEEGYgEk9EPL6T0k DzI+XmWUjXXsQteAHMgaQSxyRE5cy74YnW8Y+7FX4CFt6Gxw3rAkCGJWtbBpR/b0kYLr6I0/iFegG afrsVsQueLvHaEyNefIi/VdA0GgmTCpnAtxJEw/Y4eh62vMPDcPPPEYzY1TqUaF37J1XN3JKFGp5O hN9et+KIho5hEoFMkDtPuz/6KmUknnuq4Zv5MhBki578AzNfriHifn43GusaiBdHkeregqJwdYZmb 5c+1/ZkQ==; 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 1fsb4q-0002cF-OP; Wed, 22 Aug 2018 21:54:08 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsb44-0001Oj-NN for linux-arm-kernel@bombadil.infradead.org; Wed, 22 Aug 2018 21:53:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.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=jspuc/ASSZauzakofyQznI74osHtqkVbtQCGwlH7kp0=; b=vXG81Lb67WLqrW/qNivpAbtn2 Rd6gtTfacdiuCwfteX9SOFhCcQ9EfMwYXokBuSBSYPQjfLWPt8OC8wE4fCHR2aLtUvSvNPoLX4DHM iJNKDcWloqxzLOHk+aZzQaLm8gwT1WZCgoeZqQsfTCNVsqwX6zLO3iZb3cmMNtpCgCYmJDZPG/479 zzhqAMv0YqKkriZDLtRXEVeGl50acDvWs/MMzaJDYOMuwVEX7y7xroM3OKY58RVuvi82M+27B3fkT 5IT9RUmHSUq6U10lb81FqypV0zYtOAgfvsHqAPniHj+dAkV9ZiC8qPh0LXjJejrL4BDjhcWPxQF7R NJS+pDIdg==; Received: from shell.v3.sk ([90.176.6.54]) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsZyr-0003CB-Po for linux-arm-kernel@lists.infradead.org; Wed, 22 Aug 2018 20:43:54 +0000 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 880FBB5B98; Wed, 22 Aug 2018 22:43:36 +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 NY7SLGES-mN4; Wed, 22 Aug 2018 22:43:21 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 6878CB5B8C; 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 P3EuydLc0dgj; Wed, 22 Aug 2018 22:43:12 +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 23363B5B8A; Wed, 22 Aug 2018 22:43:12 +0200 (CEST) From: Lubomir Rintel To: linux-kernel@vger.kernel.org Subject: [PATCH 05/14] ARM: ttc_dkb: add an instance of pxa-usb-phy Date: Wed, 22 Aug 2018 22:42:58 +0200 Message-Id: <20180822204307.13251-6-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_164354_050173_83AC4BC8 X-CRM114-Status: UNSURE ( 8.94 ) X-CRM114-Notice: Please train this message. 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 ttc_usb_pdata.phy_{de,}init()> Signed-off-by: Lubomir Rintel Acked-by: Pavel Machek --- arch/arm/mach-mmp/ttc_dkb.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-mmp/ttc_dkb.c b/arch/arm/mach-mmp/ttc_dkb.c index c7897fb2b6da..767dcb23ee1c 100644 --- a/arch/arm/mach-mmp/ttc_dkb.c +++ b/arch/arm/mach-mmp/ttc_dkb.c @@ -282,6 +282,10 @@ static void __init ttc_dkb_init(void) sizeof(struct pxa_gpio_platform_data)); platform_add_devices(ARRAY_AND_SIZE(ttc_dkb_devices)); +#if IS_ENABLED(CONFIG_PHY_PXA_USB) + platform_device_register(&pxa168_device_usb_phy); +#endif + #if IS_ENABLED(CONFIG_USB_MV_UDC) pxa168_device_u2o.dev.platform_data = &ttc_usb_pdata; platform_device_register(&pxa168_device_u2o);