Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1922716lqz; Tue, 2 Apr 2024 01:34:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIBA2EMxamSOiPtdm1o4N4pRHMEwZUbiN5xdk8WSfPRp0CSn8EFojRLVRUhaeckgo2slFILlvc4W9uyDjmStMIVNuCtrkQEf4B4rxHWg== X-Google-Smtp-Source: AGHT+IHDfjh3kguntX6d+LlUuUfZdDDxVUiSHOEKI3twI+qOYKmn73GV6lnrUikCAtKAjH//vmdy X-Received: by 2002:a17:902:e802:b0:1e0:b862:5330 with SMTP id u2-20020a170902e80200b001e0b8625330mr13289977plg.54.1712046884715; Tue, 02 Apr 2024 01:34:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712046884; cv=pass; d=google.com; s=arc-20160816; b=0W7c18kMv0TehAs4JNSHxm/kSbRjX13vJtVSXpsg45mtGkjQbn9kh0Tm/IvYmgUqoF ClGYksQB7niwVwZ9NC9VcXHVe+ZX07ZM5YS8A5OoLAkjuYqfTFuIGCaC1eIUNDL0uIR0 ut2H6ZFodQfDue5vzNlMXGPuqfIs1rn9xA6G1NYbxJrZfqHX2APti/nz5NVGeiTxu8NE uO0YLO5UsOt/DKKnLuy1L72CJGzzOLMtCYKq1Y4owI6Ti4QoqLuoo32LCECntmf8b+ag F0yaWyrG73w5BEpbTwqlFEf4UUp5ocofQiMATrqapVBbezsjkkjUo2B0vjiq7Gh/X1jF Dc/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=apDFZqziJ/YmD7Ot7Oe3WRkx6S7TtVnUEW5HigajFNQ=; fh=YZTmL06L1bSk4aX9detxkup7daRQrQ6o4X0pWvVq48U=; b=0Vo3HXE2QkTmGiHAVoNcG1ukPvfLSvpC3/8IxDzhsxWokGKpGVoFTVz73QswzFj+nh hvfozvIm1UWeKz6r6cebHmKxbFkMe4MLiSgCzx2i1Ag7+Gf5r6S3Y7VFm1wBh74Lejhx R9H1KPTlrZTVuADbJqvzaIFjzJKZIOax6AkiKM8M+CcMVMIcJU8Mb9/o88vWWQ0PWhIB AzDpxTaz5hZTJ0aGZrteu12tAyvFioENIxqfgkjgY7Vre8vrqBIx+VSuvBw/jfCpIwQP Zbukz5QKM2a3ctg1D6YBODQdhy8MqW9vsfZFJvg9PkypqCNobURBXyJ7J6x5GGDen1+N eXiw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=MPya0UeM; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-127552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t18-20020a170902e85200b001e05d7b6a38si11363461plg.400.2024.04.02.01.34.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 01:34:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=MPya0UeM; arc=pass (i=1 spf=pass spfdomain=yeah.net dkim=pass dkdomain=yeah.net dmarc=pass fromdomain=yeah.net); spf=pass (google.com: domain of linux-kernel+bounces-127552-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127552-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 285E8B22EC4 for ; Tue, 2 Apr 2024 08:32:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 037DA50271; Tue, 2 Apr 2024 08:31:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="MPya0UeM" Received: from mail-177132.yeah.net (mail-177132.yeah.net [123.58.177.132]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCCD31E4A1; Tue, 2 Apr 2024 08:31:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=123.58.177.132 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046716; cv=none; b=jDtKWGEz1l7/oljiECPKeCTz05p0t3yIVOx1ihepnV7gu+uiHRt6Agyr/jxkSchRxqHODJP9Gmox+UVa7ZoqcLi+wJS9Nkk5aWSnk8ywnWGLLHmNTZjQP2gbpYp9TmNSbo/0gNWSChhHMnmANHRuEzM7rkGV++7W5d3PbJ9t0LM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046716; c=relaxed/simple; bh=Z/qLSoyxcqYY45vOcGBrjpYcFtcLiSmPOnablfSkfFc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=u4nFl0wJ7nackUfbxWllGcq+NOECgaj9sYJ9NggUplbGDmy4GN+IsWSe/ceg8h5WBOg6y02fOAS13Jc6zA0yEGk8IL+hCATaQD3e7o8OC40f/VaW9Y3hdd+ZVpTAllsQ96XAG5Jn/BJHLIFJmp9YPm02Zyp4tJfbrcVCiIypYmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net; spf=pass smtp.mailfrom=yeah.net; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b=MPya0UeM; arc=none smtp.client-ip=123.58.177.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=yeah.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=yeah.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yeah.net; s=s110527; h=Date:From:Subject:Message-ID:MIME-Version: Content-Type; bh=apDFZqziJ/YmD7Ot7Oe3WRkx6S7TtVnUEW5HigajFNQ=; b=MPya0UeM93328C53lUb1OqxrBn1MIbsPSHF2ROH7rduicC9q5sWhS3XxMlyaRg SYc71SweFvwm6blXbyMfulQq1QJqg3Vlly6w8VKH06Lq4WvbcR3Zi4M2sckJ7Vgn algtmVHN6I+ViYDjDlS8LcAQlGXAUR9MWLOA3KxUyg/6s= Received: from dragon (unknown [223.68.79.243]) by smtp2 (Coremail) with SMTP id C1UQrAAnjxhOwgtmy4WnAg--.42039S3; Tue, 02 Apr 2024 16:31:12 +0800 (CST) Date: Tue, 2 Apr 2024 16:31:10 +0800 From: Shawn Guo To: Xu Yang Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, conor+dt@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, peter.chen@kernel.org, jun.li@nxp.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v10 02/11] arm64: dts: imx8ulp: add usb nodes Message-ID: References: <20240321081439.541799-1-xu.yang_2@nxp.com> <20240321081439.541799-2-xu.yang_2@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240321081439.541799-2-xu.yang_2@nxp.com> X-CM-TRANSID:C1UQrAAnjxhOwgtmy4WnAg--.42039S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxGF1kArWrtFy8JFWfJr1kKrg_yoW5CF1rp3 4DGFZ5Wr48ur17KFWYvF1qkF95JayrCF95ZF1ay3y8tr9F934Ut340q3ZYgr15Zr4xZw4a qFn3WF1fKF1qvw7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jrhL8UUUUU= X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiFRG0ZV6NnBkz1gAAsm On Thu, Mar 21, 2024 at 04:14:30PM +0800, Xu Yang wrote: > Add USB nodes on i.MX8ULP platform which has 2 USB controllers. > > Signed-off-by: Xu Yang > > --- > Changes in v2: > - no changes > Changes in v3: > - no changes > Changes in v4: > - no changes > Changes in v5: > - no changes > Changes in v6: > - drop usbphy aliases > Changes in v7: > - no changes > Changes in v8: > - no changes > Changes in v9: > - no changes > Changes in v10: > - no changes > --- > arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 62 ++++++++++++++++++++++ > 1 file changed, 62 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > index c4a0082f30d3..7da9461a5745 100644 > --- a/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > +++ b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi > @@ -472,6 +472,68 @@ usdhc2: mmc@298f0000 { > status = "disabled"; > }; > > + usbotg1: usb@29900000 { > + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; > + reg = <0x29900000 0x200>; > + interrupts = ; > + clocks = <&pcc4 IMX8ULP_CLK_USB0>; > + power-domains = <&scmi_devpd IMX8ULP_PD_USB0>; > + phys = <&usbphy1>; > + fsl,usbmisc = <&usbmisc1 0>; > + ahb-burst-config = <0x0>; > + tx-burst-size-dword = <0x8>; > + rx-burst-size-dword = <0x8>; > + status = "disabled"; > + }; > + > + usbmisc1: usbmisc@29900200 { > + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", > + "fsl,imx6q-usbmisc"; > + #index-cells = <1>; > + reg = <0x29900200 0x200>; Could you move 'reg' above so that it's after compatible? > + status = "disabled"; > + }; > + > + usbphy1: usb-phy@29910000 { > + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; > + reg = <0x29910000 0x10000>; > + interrupts = ; > + clocks = <&pcc4 IMX8ULP_CLK_USB0_PHY>; > + #phy-cells = <0>; > + status = "disabled"; > + }; > + > + usbotg2: usb@29920000 { > + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx6ul-usb"; > + reg = <0x29920000 0x200>; > + interrupts = ; > + clocks = <&pcc4 IMX8ULP_CLK_USB1>; > + power-domains = <&scmi_devpd IMX8ULP_PD_USDHC2_USB1>; > + phys = <&usbphy2>; > + fsl,usbmisc = <&usbmisc2 0>; > + ahb-burst-config = <0x0>; > + tx-burst-size-dword = <0x8>; > + rx-burst-size-dword = <0x8>; > + status = "disabled"; > + }; > + > + usbmisc2: usbmisc@29920200 { > + compatible = "fsl,imx8ulp-usbmisc", "fsl,imx7d-usbmisc", > + "fsl,imx6q-usbmisc"; > + #index-cells = <1>; > + reg = <0x29920200 0x200>; Ditto Shawn > + status = "disabled"; > + }; > + > + usbphy2: usb-phy@29930000 { > + compatible = "fsl,imx8ulp-usbphy", "fsl,imx7ulp-usbphy"; > + reg = <0x29930000 0x10000>; > + interrupts = ; > + clocks = <&pcc4 IMX8ULP_CLK_USB1_PHY>; > + #phy-cells = <0>; > + status = "disabled"; > + }; > + > fec: ethernet@29950000 { > compatible = "fsl,imx8ulp-fec", "fsl,imx6ul-fec", "fsl,imx6q-fec"; > reg = <0x29950000 0x10000>; > -- > 2.34.1 >