Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3611283imu; Sun, 11 Nov 2018 19:23:42 -0800 (PST) X-Google-Smtp-Source: AJdET5eCysMeMpYxLV7V+hpiVK1wlder4wFa05KiZjeebFp0Qv/yMSegn/Oi9tts3wRyaWjp/EKI X-Received: by 2002:a63:c642:: with SMTP id x2-v6mr15571418pgg.16.1541993022289; Sun, 11 Nov 2018 19:23:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541993022; cv=none; d=google.com; s=arc-20160816; b=BWPsn4b9t/64FRjrhukuOocTB4z7yLfBzmRovjBtMe50g/KncaX8MhoP8I4ZLscBqM d+sTBPdSrlQYOd7yBxGr9eb9Bu9e9F+Ny39AvJQiAvv67pbyrNz42cNiPxoAXe0mEcC5 eKSx+S97wwHvcokolyr1UlxrKiSkpF0u0Nqj9F7ozwSF6mF1XMJzO9e32dOdjVym3UHk vWtgw+Hw45IFohTceZzOtJWW5Kt0dGGm9eqZXTluGB4n/fzgtZTMzJfF6q6oTtZmp3jv cjQfg176RjddH1bcx6lTC4OY+nspgvu8aENMgwIE/GbmngAohM48avo4WBDEt83O71f/ R43Q== 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=VSKy8Ldc8MpTbdauHw1cdkEMNdj1Aq6mK3DeYTCIx2EiMEgAw7Gqwgh3mrwSSYjCXN zO7dNxv2tsWsAZFbdH5b/x2MuMsZ2lOUwPfXDdJFlpKiQGY5zbxhk8mlOL2No7j1ZEbu 9cnUthb0oBVGJnX+2DFqY3jVxLThFLaO/YnmQ5ZZM+m3g6B0gELYVKmqAMAv/GWvRn2Z 8XgLBhgKf2ZERp6IHu+IqxsngpDazm1DhI41lwKnpdXpYEr5scCKh0/47cQ3MrT/l/WB /2+JNlKfdkzcbGMWV6/lTMTzD3/BvduQdF+AAM2nIVAK9eyDIxl03uWfi6RmXU0ProKS z7GQ== 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 d66-v6si17290281pfc.92.2018.11.11.19.23.27; Sun, 11 Nov 2018 19:23:42 -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 S1731000AbeKLNMq (ORCPT + 99 others); Mon, 12 Nov 2018 08:12:46 -0500 Received: from shell.v3.sk ([90.176.6.54]:59705 "EHLO shell.v3.sk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730912AbeKLNMq (ORCPT ); Mon, 12 Nov 2018 08:12:46 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id 11B22C6A2D; Mon, 12 Nov 2018 04:21:34 +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 OZ4MjX5mC-JM; Mon, 12 Nov 2018 04:21:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id AEAA5C6A21; Mon, 12 Nov 2018 04:20:48 +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 AZVK1SsSWV5w; Mon, 12 Nov 2018 04:20:45 +0100 (CET) Received: from belphegor.lan (ip-89-102-31-34.net.upcbroadband.cz [89.102.31.34]) by zimbra.v3.sk (Postfix) with ESMTPSA id 23377C6A23; Mon, 12 Nov 2018 04:20:40 +0100 (CET) From: Lubomir Rintel To: Eric Miao , Haojian Zhuang Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Russell King , Robert Jarzmik , Lubomir Rintel Subject: [PATCH v3 16/18] ARM: mmp: add an instance of pxa-usb-phy to ttc_dkb and aspenite Date: Mon, 12 Nov 2018 04:20:25 +0100 Message-Id: <20181112032027.653931-17-lkundrak@v3.sk> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181112032027.653931-1-lkundrak@v3.sk> References: <20181112032027.653931-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