From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7EFDAC3DA79 for ; Mon, 15 Jan 2024 10:30:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Vn32U7wUXNqqMVMWG6coSMRT5bqAShqiMgVBW9E4184=; b=UEVYdsGKhaiQ87 +hyc7ur1efisaNbQXmxZRYK+TwQ90TVTcYuA8cQo1FkLuG7v7z8uPUiafCcoPBc42QUtrHvmLy1nr jhP0bOUi6Lrna+vNZXcF3LPLpUFAC9ewhURB1sZsTqtPBYjAysTi7SgwsQxk4sjF/oGPpekJxIDPO oqfkTNfjmkZ3BtfNJzDCA2gtASZcrU+T6ZZbiLwNRTUvWoT2GC/xqk+ID1dJnAKurRCuHyOyCHPm4 gtFrlrQOuZrcDjaPWCMf1dJJFY8Fuo5+YmcOBGZLpAVB+jqDBaEU6NWpJb53fFWmSRrI4e6YI2tDr KcEVrmq4J8+d5Av2q5ZA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rPKDq-008aKY-0q; Mon, 15 Jan 2024 10:29:38 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rPKDn-008aJq-10 for linux-arm-kernel@lists.infradead.org; Mon, 15 Jan 2024 10:29:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1705314575; x=1736850575; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=mTLf24UT9N3GK97wqenb6TJPcf6jiGXc0pwA8LZBQ+I=; b=fVC/2+erL1kFwUwWHCu3T/+MV13uDWoq/ZUyaEjRKjbYgJgiC8CjyhA5 wtiDN/fzYaQ5sUxzZr8xuY+2QPkrGik7sPP1MxNKz1VjjwOTZIoulnFKT /RZ2ZF/mESfs0um06OaFbWiHtjAlk7rlrb6Iv16jQJH3eCcVcmJEA0ax3 s9bboBbP7Q2uyg+VrlLZvQS0WzczCRM9tb+OgtUsSfeqpo3I35jtG0Z72 0uB8E6k9ee3MZ5z0DOV4+burkSsXS4sQGQhAaFO5uworJzNMHJHfxX1JR YWABx2P1PuGY4Rg/RzpyJGgy5P5jk3bSBXj1JC0MnT5M+Ec/XFNMTsbnk A==; X-IronPort-AV: E=Sophos;i="6.04,196,1695679200"; d="scan'208";a="34893446" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 15 Jan 2024 11:29:33 +0100 Received: from steina-w.localnet (steina-w.tq-net.de [10.123.53.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id 6BFD5280075; Mon, 15 Jan 2024 11:29:33 +0100 (CET) From: Alexander Stein To: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, Xu Yang Cc: linux-imx@nxp.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jun.li@nxp.com, linux-usb@vger.kernel.org Subject: Re: [PATCH v3 5/6] arm64: dts: imx93: add usb nodes Date: Mon, 15 Jan 2024 11:29:33 +0100 Message-ID: <1876554.tdWV9SEqCh@steina-w> Organization: TQ-Systems GmbH In-Reply-To: <20240112111747.1250915-5-xu.yang_2@nxp.com> References: <20240112111747.1250915-1-xu.yang_2@nxp.com> <20240112111747.1250915-5-xu.yang_2@nxp.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240115_022935_652914_D4CC0B8B X-CRM114-Status: GOOD ( 14.91 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Freitag, 12. Januar 2024, 12:17:46 CET schrieb Xu Yang: > ******************** > Achtung externe E-Mail: =D6ffnen Sie Anh=E4nge und Links nur, wenn Sie wi= ssen, > dass diese aus einer sicheren Quelle stammen und sicher sind. Leiten Sie > die E-Mail im Zweifelsfall zur Pr=FCfung an den IT-Helpdesk weiter. > Attention external email: Open attachments and links only if you know that > they are from a secure source and are safe. In doubt forward the email to > the IT-Helpdesk to check it. ******************** > = > There are 2 USB controllers on i.MX93. Add them. > = > Signed-off-by: Xu Yang > = > --- > Changes in v2: > - fix format as suggested by Alexander > - change compatible from fsl,imx8mm-usb to fsl,imx93-usb > Changes in v3: > - replace deprecated fsl,usbphy with phys as suggested by Alexander > - reorder nodes > --- > arch/arm64/boot/dts/freescale/imx93.dtsi | 58 ++++++++++++++++++++++++ > 1 file changed, 58 insertions(+) > = > diff --git a/arch/arm64/boot/dts/freescale/imx93.dtsi > b/arch/arm64/boot/dts/freescale/imx93.dtsi index 34c0540276d1..10124758c5= 79 > 100644 > --- a/arch/arm64/boot/dts/freescale/imx93.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx93.dtsi > @@ -171,6 +171,20 @@ cm33: remoteproc-cm33 { > status =3D "disabled"; > }; > = > + usbphynop1: usbphynop1 { > + compatible =3D "usb-nop-xceiv"; > + #phy-cells =3D <0>; > + clocks =3D <&clk IMX93_CLK_USB_PHY_BURUNIN>; > + clock-names =3D "main_clk"; > + }; > + > + usbphynop2: usbphynop2 { > + compatible =3D "usb-nop-xceiv"; > + #phy-cells =3D <0>; > + clocks =3D <&clk IMX93_CLK_USB_PHY_BURUNIN>; > + clock-names =3D "main_clk"; > + }; > + > soc@0 { > compatible =3D "simple-bus"; > #address-cells =3D <1>; > @@ -1054,6 +1068,50 @@ media_blk_ctrl: system-controller@4ac10000 { > status =3D "disabled"; > }; > = > + usbotg1: usb@4c100000 { > + compatible =3D "fsl,imx93-usb", "fsl,imx7d-usb", = "fsl,imx27-usb"; > + reg =3D <0x4c100000 0x200>; > + interrupts =3D ; > + clocks =3D <&clk IMX93_CLK_USB_CONTROLLER_GATE>, > + <&clk IMX93_CLK_HSIO_32K_GATE>; > + clock-names =3D "usb_ctrl_root_clk", = "usb_wakeup_clk"; > + assigned-clocks =3D <&clk IMX93_CLK_HSIO>; > + assigned-clock-parents =3D <&clk = IMX93_CLK_SYS_PLL_PFD1_DIV2>; > + assigned-clock-rates =3D <133000000>; > + phys =3D <&usbphynop1>; > + fsl,usbmisc =3D <&usbmisc1 0>; > + status =3D "disabled"; > + }; > + > + usbmisc1: usbmisc@4c100200 { > + compatible =3D "fsl,imx8mm-usbmisc", "fsl,imx7d- usbmisc", > + "fsl,imx6q-usbmisc"; Please fix the alignment here. > + reg =3D <0x4c100200 0x200>; > + #index-cells =3D <1>; > + }; > + > + usbotg2: usb@4c200000 { > + compatible =3D "fsl,imx93-usb", "fsl,imx7d-usb", = "fsl,imx27-usb"; > + reg =3D <0x4c200000 0x200>; > + interrupts =3D ; > + clocks =3D <&clk IMX93_CLK_USB_CONTROLLER_GATE>, > + <&clk IMX93_CLK_HSIO_32K_GATE>; > + clock-names =3D "usb_ctrl_root_clk", = "usb_wakeup_clk"; > + assigned-clocks =3D <&clk IMX93_CLK_HSIO>; > + assigned-clock-parents =3D <&clk = IMX93_CLK_SYS_PLL_PFD1_DIV2>; > + assigned-clock-rates =3D <133000000>; > + phys =3D <&usbphynop2>; > + fsl,usbmisc =3D <&usbmisc2 0>; > + status =3D "disabled"; > + }; > + > + usbmisc2: usbmisc@4c200200 { > + compatible =3D "fsl,imx8mm-usbmisc", "fsl,imx7d- usbmisc", > + "fsl,imx6q-usbmisc"; Please fix the alignment here as well. With both changes applied: Acked-by: Alexander Stein Tested-by: Alexander Stein # TQMa9352LA/CA > + reg =3D <0x4c200200 0x200>; > + #index-cells =3D <1>; > + }; > + > ddr-pmu@4e300dc0 { > compatible =3D "fsl,imx93-ddr-pmu"; > reg =3D <0x4e300dc0 0x200>; -- = 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/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel