From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FDEF1F9AAE for ; Thu, 14 Nov 2024 11:00:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.104.207.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731582044; cv=none; b=hu7jMuUKUhImnEpbGSqueFr4yVqxMWBRxLk+CQ22VAr0Z/BMI2hbydrZxzEkI8rzVqKITya5itpOTgqR88F08GnZWLxiFq7w7ICJNZym7Hg7GuX6bfWNJuIMdxnzQTWWguUcFtl7hh6Wwjrt8g0I7YTOJy/9aHrfCrw9beM3cOs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731582044; c=relaxed/simple; bh=tqLuE3XCPUbEyNtVxTKPEPP+MaZp/Pgn4Igc4zDYK3g=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Y5J6ZMrS+H4WfSvu7x68xzzpVAFqP+8lhMeUYR+mImnnv9Wpb6GW6cYUblzxQ7CLNf9CUs45HuCS1zv0NNiRA3HHI2GW6JhDr/QpHYSu3oM7ZCsabekuvCTbniGgaRusJTJvrFftpG9xpUnFVwVUlOwlw/+Wr397PclBVqOnL6k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com; spf=pass smtp.mailfrom=ew.tq-group.com; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b=X/VicGLJ; dkim=fail (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b=HoOAGfqM reason="key not found in DNS"; arc=none smtp.client-ip=93.104.207.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ew.tq-group.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="X/VicGLJ"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=ew.tq-group.com header.i=@ew.tq-group.com header.b="HoOAGfqM" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1731582040; x=1763118040; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=PDTzpgyCcsIsQrrZZt0ZmVkITJ/vSABUrcmipqkCQmc=; b=X/VicGLJZH5lB9/Z8ZccHtVpMU7qILZH6WLVhN6s4iHBJj0xjxqekVOH DBjJA+MEAK2p3D3FvOGKv7EAj45JVZ2BZHDxcLMZB6fNsghPKBueX3Fry GgHmO4akZzTOLV2StEQyaWC27rRDxEB9cfrZ814PFfHLOQINZZRVfLnPK yqZDt2GDzPYojdO8UPavpgiWiogiKB7pHjqvvnK3W7gVjsVC9/RbCCdiZ f1k8K6iIlF3GseMvvPYNgunZrhOVG/PSws6JJhEn/cgjeesZ12i3N8rNA sJwORm4dFaqkkItUf212J88BjKY5ZtTk00edyy3CW3HDmO0mTbQHpHAE1 w==; X-CSE-ConnectionGUID: 6/t++77bQzCqLu1Si6Avtg== X-CSE-MsgGUID: GRh+e+j3QjuOKGKT4vHk0w== X-IronPort-AV: E=Sophos;i="6.12,153,1728943200"; d="scan'208";a="40037885" Received: from vmailcow01.tq-net.de ([10.150.86.48]) by mx1.tq-group.com with ESMTP; 14 Nov 2024 11:59:28 +0100 X-CheckPoint: {6735D810-1A-1E10F2A5-CC0651E5} X-MAIL-CPID: 0080E8DE299B7269A5879A7996F82C94_4 X-Control-Analysis: str=0001.0A682F18.6735D810.00AD,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 50BBB161730; Thu, 14 Nov 2024 11:59:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com; s=dkim; t=1731581963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PDTzpgyCcsIsQrrZZt0ZmVkITJ/vSABUrcmipqkCQmc=; b=HoOAGfqM3P6FcrZRK4KcDfo3zyv7J56DchawjSvGruXe/HyM5oJiuOc2QbPG44Vw3Sort6 MInZi9ozQCPhfK0qNcTJWisIVs3MKDfnwXMCpUkQucQhml0WG+Y/+CYFCP06HJjXgREMyZ Rpy4gU0iAc7gwnjEp83AEHPH28sXnftnGFIfTNVJTy2UVKT7zim4VoV2hv1g1mU2g8Z3hc wtQTTNFC6amkQzOI6oCTyk8GiC7c+fNpuVXz+0JybAanDBcxuFksk+BGJDwb2f01tCcxI9 gzVJEky1WcF9lqUyUywm1staOzEm0ska8lQjxQesBkAh2YqLq2n8LFzpEYdy7g== From: Alexander Stein To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, gregkh@linuxfoundation.org, Frank.Li@nxp.com, jun.li@nxp.com, l.stach@pengutronix.de, aford173@gmail.com, hongxing.zhu@nxp.com, Xu Yang Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org Subject: Re: [PATCH v9 2/3] arm64: dts: imx95: add usb3 related nodes Date: Thu, 14 Nov 2024 11:59:23 +0100 Message-ID: <2968363.e9J7NaK4W3@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20241113080745.2300915-2-xu.yang_2@nxp.com> References: <20241113080745.2300915-1-xu.yang_2@nxp.com> <20241113080745.2300915-2-xu.yang_2@nxp.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Last-TLS-Session-Version: TLSv1.3 Hi, Am Mittwoch, 13. November 2024, 09:07:44 CET schrieb Xu Yang: > Add usb3 phy and controller nodes for imx95. >=20 > Signed-off-by: Xu Yang >=20 > --- > Changes in v2: > - no changes > Changes in v3: > - no changes > Changes in v4: > - reorder nodes > Changes in v5: > - no changes > Changes in v6: > - rebase to latest > Changes in v7: > - no changes > Changes in v8: > - no changes > Changes in v9: > - no changes > --- > arch/arm64/boot/dts/freescale/imx95.dtsi | 43 ++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) >=20 > diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/d= ts/freescale/imx95.dtsi > index 03661e76550f..e3faa8462759 100644 > --- a/arch/arm64/boot/dts/freescale/imx95.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi > @@ -1473,6 +1473,49 @@ smmu: iommu@490d0000 { > }; > }; > =20 > + usb3: usb@4c010010 { > + compatible =3D "fsl,imx95-dwc3", "fsl,imx8mp-dwc3"; > + reg =3D <0x0 0x4c010010 0x0 0x04>, > + <0x0 0x4c1f0000 0x0 0x20>; > + clocks =3D <&scmi_clk IMX95_CLK_HSIO>, > + <&scmi_clk IMX95_CLK_32K>; > + clock-names =3D "hsio", "suspend"; > + interrupts =3D ; > + #address-cells =3D <2>; > + #size-cells =3D <2>; > + ranges; > + power-domains =3D <&scmi_devpd IMX95_PD_HSIO_TOP>; > + dma-ranges =3D <0x0 0x0 0x0 0x0 0x10 0x0>; > + status =3D "disabled"; > + > + usb3_dwc3: usb@4c100000 { > + compatible =3D "snps,dwc3"; > + reg =3D <0x0 0x4c100000 0x0 0x10000>; > + clocks =3D <&scmi_clk IMX95_CLK_HSIO>, > + <&scmi_clk IMX95_CLK_24M>, > + <&scmi_clk IMX95_CLK_32K>; > + clock-names =3D "bus_early", "ref", "suspend"; > + interrupts =3D ; > + phys =3D <&usb3_phy>, <&usb3_phy>; > + phy-names =3D "usb2-phy", "usb3-phy"; > + snps,gfladj-refclk-lpm-sel-quirk; > + snps,parkmode-disable-ss-quirk; > + iommus =3D <&smmu 0xe>; > + }; > + }; > + > + usb3_phy: phy@4c1f0040 { > + compatible =3D "fsl,imx95-usb-phy", "fsl,imx8mp-usb-phy"; > + reg =3D <0x0 0x4c1f0040 0x0 0x40>, > + <0x0 0x4c1fc000 0x0 0x100>; > + clocks =3D <&scmi_clk IMX95_CLK_HSIO>; > + clock-names =3D "phy"; > + #phy-cells =3D <0>; > + power-domains =3D <&scmi_devpd IMX95_PD_HSIO_TOP>; > + orientation-switch; This adds the orientation-switch to all imx95 based boards, which in turn requires a port subnode. This is incorrect if this USB interface is not connected to a USB Type-C connector but an on-board USB hub. Best regards, Alexander > + status =3D "disabled"; > + }; > + > pcie0: pcie@4c300000 { > compatible =3D "fsl,imx95-pcie"; > reg =3D <0 0x4c300000 0 0x10000>, >=20 =2D-=20 TQ-Systems GmbH | M=FChlstra=DFe 2, Gut Delling | 82229 Seefeld, Germany Amtsgericht M=FCnchen, HRB 105018 Gesch=E4ftsf=FChrer: Detlef Schneider, R=FCdiger Stahl, Stefan Schneider http://www.tq-group.com/