Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5717746imd; Wed, 31 Oct 2018 00:32:13 -0700 (PDT) X-Google-Smtp-Source: AJdET5d4VXGMNsFZDOarYMg3HFBd8of3FhDBhOZLl1bbBSyA/m73JGvh5htFpymS7ek2uKkHpx6y X-Received: by 2002:a17:902:6b0a:: with SMTP id o10-v6mr2168624plk.208.1540971133771; Wed, 31 Oct 2018 00:32:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540971133; cv=none; d=google.com; s=arc-20160816; b=jAzP1A3lnQA4Yzp5wIvPlW1BxOXCk/WloN96KlDZXYcpaSiNuqDCrWCEwgJ1L+yunx BfiF2LZovCJ+oQHCWH/jPhMBocXJzzwkiQUxI5IDulBSOM9myuSWtAwTmy/l62Y3hYKf 7HDVoSQuyh2ifLqkC0sSiWkRkQTrSv1SYuV7xKtWVra6NcS3YNI9NNnldKRUzzEL+eka 6srZELXzQtllv8wAHw2AvhNK2b1tyUyFbQ17u2kQN4s3tlSa+MXBsxCaMtH59/2kKTd9 Dd7cYmvlzNlpLiHQkWi9RKJuQQ9Ph/+dwEfL+S8YlJX0kU52rtWxy/AfAztGvwfyId0m rH6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=If5uS1zmJ85sk70dELZ3eygM5TBIcu8YUCJDqeTPMSE=; b=T9qB+cbpUnqc16DkbB12/AZNAkjr1SDPB6vAWs5xXZx8kCVgwAUVRhWbKw3Xx0l3XN bQmIDipB8EuIcD2YtUa7ZDDE5Wzmdj+UrLIAVyeyaTkgbbfD+YfPHGm11kNnfxebEc29 C0wMftm1n2v57yH+pJ0N0+5VM9CVeXO1jrXIwuaFKp9z/ZltfjfBnBHWhD93bs/IGyZ0 vlgUSG4f3rWLALS+5SgrvD22LEf4xpoi26ejHdIyxZhq+4LLFzy4hoLMWj3nlwtQS94f R3yLa+qnnjXZ8vsS2AYN9RBeGRzfSOBdAHTFLFyua9XT9neqQm6dJvScbvSenX9Tw7Xj qDfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bgIL5qHZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k8-v6si17976677pgj.192.2018.10.31.00.31.58; Wed, 31 Oct 2018 00:32:13 -0700 (PDT) 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; dkim=pass header.i=@kernel.org header.s=default header.b=bgIL5qHZ; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726488AbeJaQ2f (ORCPT + 99 others); Wed, 31 Oct 2018 12:28:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:36682 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725992AbeJaQ2f (ORCPT ); Wed, 31 Oct 2018 12:28:35 -0400 Received: from tiger (61-216-91-114.HINET-IP.hinet.net [61.216.91.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 40F88205F4; Wed, 31 Oct 2018 07:31:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1540971098; bh=aXzD/q2fwEMPBBD/HVWFcIQyus3bu1HZUETvK1A9Tkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bgIL5qHZDXcF9UXR3v0NHIMs00f7idOXeHqGmqLzJzAnWXAnekvPH8ZxUx/UwANSN GU8PDJmBtlfTF6lLVaGGJfhCv37dMx+zefTkV/lpz3a30gDtIbsTE3VTGiXtJeFNZX X5KT+tIYXfVXprRsDdCZGSErmvevmV89gPViy/7g= Date: Wed, 31 Oct 2018 15:31:13 +0800 From: Shawn Guo To: Frieder Schrempf , peter.chen@nxp.com Cc: devicetree@vger.kernel.org, Mark Rutland , Sascha Hauer , linux-kernel@vger.kernel.org, Rob Herring , NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers Message-ID: <20181031073112.GL10386@tiger> References: <1539848729-27646-1-git-send-email-frieder.schrempf@kontron.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1539848729-27646-1-git-send-email-frieder.schrempf@kontron.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 18, 2018 at 09:45:04AM +0200, Frieder Schrempf wrote: > Some SOCs in the i.MX6 family have a USB host controller that is > only capable of the HSIC interface and has no on-board PHY. > > To be able to use these controllers, we need to add "usb-nop-xceiv" > dummy PHYs. > > Signed-off-by: Frieder Schrempf @Peter, looks good to you? Shawn > --- > arch/arm/boot/dts/imx6qdl.dtsi | 14 ++++++++++++++ > arch/arm/boot/dts/imx6sl.dtsi | 7 +++++++ > arch/arm/boot/dts/imx6sx.dtsi | 6 ++++++ > 3 files changed, 27 insertions(+) > > diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi > index 61d2d26..d3404d1 100644 > --- a/arch/arm/boot/dts/imx6qdl.dtsi > +++ b/arch/arm/boot/dts/imx6qdl.dtsi > @@ -139,6 +139,16 @@ > interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>; > }; > > + usbphynop1: usbphynop1 { > + compatible = "usb-nop-xceiv"; > + #phy-cells = <0>; > + }; > + > + usbphynop2: usbphynop2 { > + compatible = "usb-nop-xceiv"; > + #phy-cells = <0>; > + }; > + > soc { > #address-cells = <1>; > #size-cells = <1>; > @@ -981,6 +991,8 @@ > reg = <0x02184400 0x200>; > interrupts = <0 41 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&clks IMX6QDL_CLK_USBOH3>; > + fsl,usbphy = <&usbphynop1>; > + phy_type = "hsic"; > fsl,usbmisc = <&usbmisc 2>; > dr_mode = "host"; > ahb-burst-config = <0x0>; > @@ -994,6 +1006,8 @@ > reg = <0x02184600 0x200>; > interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&clks IMX6QDL_CLK_USBOH3>; > + fsl,usbphy = <&usbphynop2>; > + phy_type = "hsic"; > fsl,usbmisc = <&usbmisc 3>; > dr_mode = "host"; > ahb-burst-config = <0x0>; > diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi > index 7a4f5da..81edcdc 100644 > --- a/arch/arm/boot/dts/imx6sl.dtsi > +++ b/arch/arm/boot/dts/imx6sl.dtsi > @@ -110,6 +110,11 @@ > interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>; > }; > > + usbphynop1: usbphynop1 { > + compatible = "usb-nop-xceiv"; > + #phy-cells = <0>; > + }; > + > soc { > #address-cells = <1>; > #size-cells = <1>; > @@ -815,6 +820,8 @@ > reg = <0x02184400 0x200>; > interrupts = <0 40 IRQ_TYPE_LEVEL_HIGH>; > clocks = <&clks IMX6SL_CLK_USBOH3>; > + fsl,usbphy = <&usbphynop1>; > + phy_type = "hsic"; > fsl,usbmisc = <&usbmisc 2>; > dr_mode = "host"; > ahb-burst-config = <0x0>; > diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi > index 844caa3..07ed417 100644 > --- a/arch/arm/boot/dts/imx6sx.dtsi > +++ b/arch/arm/boot/dts/imx6sx.dtsi > @@ -159,6 +159,11 @@ > interrupts = ; > }; > > + usbphynop1: usbphynop1 { > + compatible = "usb-nop-xceiv"; > + #phy-cells = <0>; > + }; > + > soc { > #address-cells = <1>; > #size-cells = <1>; > @@ -877,6 +882,7 @@ > reg = <0x02184400 0x200>; > interrupts = ; > clocks = <&clks IMX6SX_CLK_USBOH3>; > + fsl,usbphy = <&usbphynop1>; > fsl,usbmisc = <&usbmisc 2>; > phy_type = "hsic"; > fsl,anatop = <&anatop>; > -- > 2.7.4 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel