Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2378932ybc; Wed, 20 Nov 2019 13:15:37 -0800 (PST) X-Google-Smtp-Source: APXvYqylrUsxW0RBpHjMB9j7mKGY9IpvqFU9WQPbT1LHrc6MhrferWKFLLwQk6c+JeXuyygAU//k X-Received: by 2002:a17:906:344c:: with SMTP id d12mr7641934ejb.227.1574284537585; Wed, 20 Nov 2019 13:15:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574284537; cv=none; d=google.com; s=arc-20160816; b=QvYoLEAyWqhXbgTdJ71+IrYzrSQRmNpWSxGxJciTz3xxKp9BfRNVTcBqLs2LxevAWc qJ/y+soZle/2463iyWf0e7oLfza85hkqd21wMjn/w/nXC9ZzOP+Xkda2tNtiKZXuy1ZS +yUXiKnAnCDG5ISApcAYQoNhmE7fY+a40AEtTQTgMic+0nr8TODwp+Oqh/mpdQtaL/Nb 9OcxMGBxVopnFVZZ/7HaQ7R6JVvb4ntQpyoheQUfWomiN6g7md0rygOwbiSPOPAhXoDr mQsucna5xHjcMiX3gxIN6nXW4U84Xb0ULKAuOkr329Porg/XSWrGffGB+6RPbHf4b0fW xPFw== 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=O3RJBpKvSf+Ov9pR28rmTGYXquhXl7n6QKYHYR0dAYE=; b=uW7oh8T7YIXQF4mNvZge7wkbL5VlYtqdR/J3dMZ89Nsqyh5SlXaJ1I9ggJWW2ERL9X WNo7oJwVIqxEkbnRpLF5TLUadO0LaHUhz6qCdYs/rDfR/Y+jqXyKLQZ5AbJtUNXkUn07 9PLy2Ir/zM+aR1XV4ENOoxpBXW2Vi0spEAdoxiYH+OReKA11vSAuEg4LSjrucCdRIX5f UJJkiRgHrAMvt/1MGBW0X4LGgQuoTjJMFTRGDBSsyWZ7Mxc5/7CuGPo3H0h1e8kH85m0 6obhe6tX2rbkavYNRFcXMTgug/iqLXqWQn6LwK9fi0ogrQNL6moLtj6qSFm0XMt0Hqnc dmWQ== 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 a4si224914ejy.439.2019.11.20.13.15.12; Wed, 20 Nov 2019 13:15:37 -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 S1726500AbfKTVOI (ORCPT + 99 others); Wed, 20 Nov 2019 16:14:08 -0500 Received: from metis.ext.pengutronix.de ([85.220.165.71]:56759 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbfKTVOH (ORCPT ); Wed, 20 Nov 2019 16:14:07 -0500 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iXXIU-0001J3-Nr; Wed, 20 Nov 2019 22:13:58 +0100 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iXXIQ-0001XY-AU; Wed, 20 Nov 2019 22:13:54 +0100 From: Michael Grzeschik To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, kernel@pengutronix.de, festevam@gmail.com Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 1/2] ARM: dts: imx25: consolidate properties of usbhost1 in dtsi file Date: Wed, 20 Nov 2019 22:13:33 +0100 Message-Id: <20191120211334.5580-2-m.grzeschik@pengutronix.de> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191120211334.5580-1-m.grzeschik@pengutronix.de> References: <20191120082955.3ovsoziurntmv7by@pengutronix.de> <20191120211334.5580-1-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: mgr@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The usb port represented by &usbhost1 uses an USB phy internal to the SoC. We add the phy_type to the base dtsi so the board dts only have to overwrite it if they use a different configuration. While at it we also pin the usbhost port to host mode. Signed-off-by: Michael Grzeschik --- v1 -> v2: - added the maximum speed limitation of the internal phy v2 -> v3: - moved phy speed limitation to extra patch - reworded subject line arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts | 2 -- arch/arm/boot/dts/imx25-pdk.dts | 2 -- arch/arm/boot/dts/imx25.dtsi | 2 ++ 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts index 0fde90df2b546..3f38c2e60a745 100644 --- a/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts +++ b/arch/arm/boot/dts/imx25-eukrea-mbimxsd25-baseboard.dts @@ -165,8 +165,6 @@ }; &usbhost1 { - phy_type = "serial"; - dr_mode = "host"; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts index 05cccd12624cb..fb66884d8a2fa 100644 --- a/arch/arm/boot/dts/imx25-pdk.dts +++ b/arch/arm/boot/dts/imx25-pdk.dts @@ -304,8 +304,6 @@ }; &usbhost1 { - phy_type = "serial"; - dr_mode = "host"; status = "okay"; }; diff --git a/arch/arm/boot/dts/imx25.dtsi b/arch/arm/boot/dts/imx25.dtsi index 9a097ef014af5..7c7795b40ee0c 100644 --- a/arch/arm/boot/dts/imx25.dtsi +++ b/arch/arm/boot/dts/imx25.dtsi @@ -570,6 +570,8 @@ clock-names = "ipg", "ahb", "per"; fsl,usbmisc = <&usbmisc 1>; fsl,usbphy = <&usbphy1>; + phy_type = "serial"; + dr_mode = "host"; status = "disabled"; }; -- 2.24.0