Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1464116imu; Wed, 28 Nov 2018 09:55:50 -0800 (PST) X-Google-Smtp-Source: AJdET5ePmeBLr/7moj/rYHdhTMdBs6miSu1OgnXBdtzhYI6RPJur08ErIbDb92P2y6io8WpL1WkI X-Received: by 2002:a62:8dd9:: with SMTP id p86mr37996129pfk.143.1543427750617; Wed, 28 Nov 2018 09:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543427750; cv=none; d=google.com; s=arc-20160816; b=hstALw4J2IVoi4KSnkSOayKQdxRCGQIXLQRVAMQBGipjWi72ZWpkmM+P8Doqbl+Q7Q 6YNQRp8prOoPt9kF8t2lK7mg1c376B7Fggz+hN9jmkMolx+QkiCeba6jnfgTwNwQK8TE rFcrkMZ2autWWTTNKs2pAYgbZkxC6z4kgVxUnzg30W+yFj6IxVvumxu7LMX23/YD6KfX HDPNjMNf53wZDQB31rS8E3Sx2GZzd90xmVp47wiHW6wFma1psUbsXkZ4n+XUv0OiKA25 EpxJpdltKPTiWbCfQ+qRQqWXXIHG5YVynaAxGw+Q540pi+4jhvFuxGcYF7TreyI9xVB1 AbOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=pazM6nsUZYPFOu14GLDVLBRCC5ClbD/DPrvxvbKtNR8=; b=nrM3HdS6nDtv6qUasod7O28gnMe2DKmczBBoUkp90F72r24SYYKjXkO45o3BiSrvmT U5dmEWsjrm/BMLKSznMraN3IooJcPVYyl/cUZLbVhRIArSUYalumNbREJ4U1D96EPszb n6RD9kPwOvuFPzbtRLInBvxcqvbxwD8FM9nNtNADH2ctTvpFicJGBmj9R8LbUgeOx2n+ zOwAFbPL7MdJWCsmu6HGTKV5hGPy5mzFhAmIfjndr4idycEomKsLD5JdUxmRf291TEE+ oneUWOjnjngZ2Kq1HMNcKPWSnr7Ekdv8XL71zucbgCFhBzHQeiu7rReC7IhpgnbNEXQn 2cKw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si7842463plk.174.2018.11.28.09.55.33; Wed, 28 Nov 2018 09:55:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729615AbeK2E4y (ORCPT + 99 others); Wed, 28 Nov 2018 23:56:54 -0500 Received: from shell.v3.sk ([90.176.6.54]:39540 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729540AbeK2E4x (ORCPT ); Wed, 28 Nov 2018 23:56:53 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id A22D999B60; Wed, 28 Nov 2018 18:54:24 +0100 (CET) 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 ZDkLyjsMOyjW; Wed, 28 Nov 2018 18:54:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 542E899B6F; Wed, 28 Nov 2018 18:53:44 +0100 (CET) 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 xJV4-jz0wLzJ; Wed, 28 Nov 2018 18:53:41 +0100 (CET) Received: from belphegor.brq.redhat.com (nat-pool-brq-t.redhat.com [213.175.37.10]) by zimbra.v3.sk (Postfix) with ESMTPSA id 4751599B64; Wed, 28 Nov 2018 18:53:33 +0100 (CET) From: Lubomir Rintel To: arm@kernel.org, Olof Johansson , Arnd Bergmann Cc: Eric Miao , Haojian Zhuang , Russell King , Robert Jarzmik , Pavel Machek , James Cameron , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lubomir Rintel Subject: [PATCH v4 18/20] ARM: mmp: add an instance of pxa-usb-phy to ttc_dkb and aspenite Date: Wed, 28 Nov 2018 18:53:22 +0100 Message-Id: <20181128175324.163202-19-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181128175324.163202-1-lkundrak@v3.sk> References: <20181128175324.163202-1-lkundrak@v3.sk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will replace the *_pdata.phy_{de,}init() Signed-off-by: Lubomir Rintel --- Changes since v1: - Squashed patches with ttc_dkb and aspenite changes together. arch/arm/mach-mmp/aspenite.c | 4 ++++ arch/arm/mach-mmp/ttc_dkb.c | 4 ++++ 2 files changed, 8 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); =20 +#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 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)); =20 +#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 =3D &ttc_usb_pdata; platform_device_register(&pxa168_device_u2o); --=20 2.19.1