Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1616923imm; Thu, 18 Oct 2018 01:00:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV607bAqkyBR9A8Cmg/vuLOwHjun/UTYM0txSdbLvnIFXZt1DKl+rmw89znvwEVyGCyq3kqKS X-Received: by 2002:a62:7e81:: with SMTP id z123-v6mr29542732pfc.139.1539849639140; Thu, 18 Oct 2018 01:00:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539849639; cv=none; d=google.com; s=arc-20160816; b=J0YuQgTmmgBzkbAULKNxbLd3mOcI2o8qbwp9D197sYks1mgH2QeRL9iI4fjAedc7BL DRsmNc33xHnR/yvKOjTzqoW9WWggueue9TLdKeJ06rQcFfgJ7FKOWHd8uz3lZYOoVFWH c7wqsWg8H9J1m/MD3os9jUdiM472LCeB5VynIQmUKzLXIx0/iiYQsq4Gnk62GsCNuvQM XQP5Ar7B1rG1UYolXH2Vsv8KAn7ntnpcdSFxSUkX1XuBev3GD53yn5NXMNJhDCLTeJIM 5gJ4AyasH14sURkjBfIZVSrN/ed0TXN6KYR42TLl0Y9nPIdXuppwbCn0dF4qcHYnpqm1 pXZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=8mRoC82yWy41GfVf86ASjT2si0+W6NzVDmL7PnsfOnw=; b=M3/fuFdCjMJ5seV8sTYHjCwi8ad3YcG1tZkm+4UfLfjMY3KwliQ4BhSJVIUid3JmbR v3maqoH3nc5cMV546bPs0Xks+X9lnBbl9ac8kOFdqHYmvL0afWpWpCDsD25b8Rw/xTfV iNSw8GMIQc8gIVtxS3pMNSKniKCqKmaXT4DnoOCnbnd8vOEHIx+MI4mWj95r2ZQt/UEI /K5FMeoTL3L2c0NfGXLXlg2DPuByiPY3XJGKHTZHVR58p4tycCHyjjaRiU1aLfmvaUcZ lO774nCzx/MFnOruc8SabA6ci0jD7kUFcYORGkAg2jgNc32cTTqkHQCAE7HN38YnWTf2 9EMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=KsdTvla4; 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 185-v6si23759156pfa.199.2018.10.18.01.00.22; Thu, 18 Oct 2018 01:00:39 -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=fail header.i=@as-electronics.de header.s=strato-dkim-0002 header.b=KsdTvla4; 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 S1727620AbeJRP7m (ORCPT + 99 others); Thu, 18 Oct 2018 11:59:42 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:14260 "EHLO mo4-p05-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726323AbeJRP7m (ORCPT ); Thu, 18 Oct 2018 11:59:42 -0400 X-Greylist: delayed 739 seconds by postgrey-1.27 at vger.kernel.org; Thu, 18 Oct 2018 11:59:41 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1539849594; s=strato-dkim-0002; d=as-electronics.de; h=Message-Id:Date:Subject:Cc:To:From:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=8mRoC82yWy41GfVf86ASjT2si0+W6NzVDmL7PnsfOnw=; b=KsdTvla4dmoFrYUGBHX+ah/PdTwODxD4zU2D1PcU4l3hyiNtvN2menVflsTBKkbCs5 5sAt5oSAIvtyY56x4zUaX0nIYXvROjoin9IFM4jysZXXhIjVOfzoujvjSFR4An9ep2Qc a9HcsNyyXNeullQT48Jtz6sPhJ0SgYN1dZyQC+PChJ/76V2X5XGOLWWq2Cp4SGbuETPb bt2SG9ws1vQpnK2ZK3xqQegcqdBp/rMp0+LoRmpIQEAagkScm7XR1+r7+w0IIQNJn+XI EZw8/Yxfjq2cMCzzsMmUA7JKu9FfKiNc4wdoa6cWA4kuhIc92piDypgiYTEAt/mAojrQ mz5w== X-RZG-AUTH: ":LX8JdEmkW/4tAFwMkcNJIloh1hrA5u3owhPk7bdT5Fx22AatU+eLaHfutoZdl+X9BETxn4/4+IVqx+ZaE86CU4W9SKmmy5dqqXOHDy+cSfqdZKKHYA==" X-RZG-CLASS-ID: mo05 Received: from fs-work.fritz.box by smtp.strato.de (RZmta 44.3 AUTH) with ESMTPSA id j097e4u9I7lBFmq (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 18 Oct 2018 09:47:11 +0200 (CEST) From: Frieder Schrempf To: devicetree@vger.kernel.org, peter.chen@nxp.com Cc: Frieder Schrempf , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Rob Herring , Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: imx: Add dummy PHYs for HSIC-only USB controllers Date: Thu, 18 Oct 2018 09:45:04 +0200 Message-Id: <1539848729-27646-1-git-send-email-frieder.schrempf@kontron.de> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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