Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1926369lqz; Tue, 2 Apr 2024 01:45:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUtevHemnXBzaHNlBrY03Yic9YFIZILOVpeEMDBZwLxKn0ji8cEu1cyj0D4MldHw/Co8iYABNfXp/iS+NBs1jW98iqc+w3OOwzdjPihzw== X-Google-Smtp-Source: AGHT+IF0m+kYo4GpRghTvH4psn/7pRqED0mnOhtCZFJPDBPLjnIWrbmCgy0x2XRLOnP7fF0+wHIv X-Received: by 2002:a05:6358:7502:b0:17f:1e37:6e3e with SMTP id k2-20020a056358750200b0017f1e376e3emr16042785rwg.32.1712047518114; Tue, 02 Apr 2024 01:45:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712047518; cv=pass; d=google.com; s=arc-20160816; b=s/Ed9o0TI7tJFGo0S9xhwq3BC5XNloaULBdhV8RjKW2M2CscftczTIue3bWz08H8jV lizteWo+QgqdvH/IykhajgfAOxWN4izPUSe2QvbhDbcTngC9ZkZdq9sO6ilPqTBWhgkU lzRScaCx2PbYhOO42+eYqHn1UEauPVpa5yxW6YelU9CyOjlmypgoO2+Wq0nIxN5UYaEg tb7GUDsdZdk/1avvl6JwQUiSBuJleHcPlgSZe42chF/kdwsyv6D+a568I71p+rCqy30o PqGubEfUsCud4XnAbmKOif3VhpJRYOEFjs6GsfbD6oG49u+IjK9I55irHPhjObkODvXM syQA== 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=M3q2o7D5pZ85OztyvHOJ0Lrj1x7gKAWNHO9XsIQgyCI=; fh=YZTmL06L1bSk4aX9detxkup7daRQrQ6o4X0pWvVq48U=; b=xFP++ZCSGAGbTpR5c/OMCqNd6XUTj+vVBFTEST+JChZI+lswHikggqqj/3ZWWifA1H sAxMNsd5Wc3zV8+b5CLRNlGjciZYMaMMPUCIixHiFchvVbA8/OlizRN4s3G0YW1+55IO oHGeGci44NiSc2Ew7jy3pcgO4RnVvYyViIGDuOKJg/fD0x7hRe5sLPSUEv9SHMQFgCZx tkf/52oQV9Pi5/jWYm6ROUb8moHnAKVkmCOEzDzyaTFaDzePcFltrTLjqeXGwINBlTCy lfl5ak9NdFrTG4Zs6cDQIowez4/dgsG4ly+Hh8PEriStKz1XJ5IQZSWkrkyPPr/fcrfU fexw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=WY7ZjIS1; 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-127564-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127564-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yeah.net Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o24-20020a639218000000b005f073cd83a4si10734878pgd.211.2024.04.02.01.45.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 01:45:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127564-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@yeah.net header.s=s110527 header.b=WY7ZjIS1; 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-127564-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127564-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6537B2849E9 for ; Tue, 2 Apr 2024 08:36:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 889094501C; Tue, 2 Apr 2024 08:35:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=yeah.net header.i=@yeah.net header.b="WY7ZjIS1" Received: from mail-177131.yeah.net (mail-177131.yeah.net [123.58.177.131]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 359A857315; Tue, 2 Apr 2024 08:35:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=123.58.177.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046957; cv=none; b=cP+IjKm1Z4bR5eoL2F4tB4uzLPVYB/m+x99M1wxULGZMbohntckSBMRiwcCFfuYVEbrPrKE5UAbIbiQ6opAiAjUJYLpEy6R4vzf69EJWOM3JZU6DMLaIUMNs8ilj6t1rUvsd1hLQgTKrsG+qpUFthBTpOu7qpnovUaC2sNHZEQo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712046957; c=relaxed/simple; bh=m1lsPFgluw1lDbgABtZXAsUlTb+3eksNMgaT//vCYKU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nXx4yI/vk5+xhd33+t2IibPxZJ9+EY+CDeHaX6x/05MsnDacozXnmKEAgbGG6deNtvDs6Zy4Wu4Fh1xlA8A/LlyH2EUTunVJxqt9m9seFPM6rj8AN+M8j8pjeaNCOAvG5PeVASP1j6nBApE1KZd4dvxQQMWt+y9D5DTKxoBVnqc= 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=WY7ZjIS1; arc=none smtp.client-ip=123.58.177.131 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=M3q2o7D5pZ85OztyvHOJ0Lrj1x7gKAWNHO9XsIQgyCI=; b=WY7ZjIS1JceGpx3YMaJsQUOcbU7LHMV+fdhIi/fMaWrsVj/fiPhLOunx6UDLSf SrX8WUN9X9uhFkcNlO4kuVlwUvI3uZkY70qlfT+uRmcgDI4gaNxELGkmSkWgdcBq 02hgY6gnV0xqhxnRJIKL8cehVJoHwlNkrY4zHZzfgB05A= Received: from dragon (unknown [223.68.79.243]) by smtp1 (Coremail) with SMTP id ClUQrADX_0ZMwwtm6q+iAQ--.45423S3; Tue, 02 Apr 2024 16:35:25 +0800 (CST) Date: Tue, 2 Apr 2024 16:35:24 +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 03/11] arm64: dts: imx8ulp-evk: enable usb nodes and add ptn5150 nodes Message-ID: References: <20240321081439.541799-1-xu.yang_2@nxp.com> <20240321081439.541799-3-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-3-xu.yang_2@nxp.com> X-CM-TRANSID:ClUQrADX_0ZMwwtm6q+iAQ--.45423S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxGw47AFyktw1fuFWfJr13Jwb_yoW5XFWkpr 9rGrsxXw17WF47KF98JrnxKr93Jan3Gr97uw12g340kr1Du347Jr10grn5Wrs8ur43Xw4a yFsYgrW2grnF9wUanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jseOLUUUUU= X-CM-SenderInfo: pvkd40hjxrjqh1hdxhhqhw/1tbiDQ20ZVszXX09xgAAsi On Thu, Mar 21, 2024 at 04:14:31PM +0800, Xu Yang wrote: > Enable 2 USB nodes and add 2 PTN5150 nodes on i.MX8ULP evk board. > > Signed-off-by: Xu Yang > > --- > Changes in v2: > - fix format as suggusted by Fabio > - add PTN5150 nodes > Changes in v3: > - no changes > Changes in v4: > - no changes > Changes in v5: > - no changes > Changes in v6: > - no changes > 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-evk.dts | 84 +++++++++++++++++++ > 1 file changed, 84 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts > index 69dd8e31027c..bf418af31039 100644 > --- a/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts > +++ b/arch/arm64/boot/dts/freescale/imx8ulp-evk.dts > @@ -133,6 +133,64 @@ pcal6408: gpio@21 { > gpio-controller; > #gpio-cells = <2>; > }; > + > + ptn5150_1: typec@1d { Could you sort devices in unit-address? > + compatible = "nxp,ptn5150"; > + reg = <0x1d>; > + int-gpios = <&gpiof 3 IRQ_TYPE_EDGE_FALLING>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_typec1>; > + status = "disabled"; > + }; > + > + ptn5150_2: typec@3d { > + compatible = "nxp,ptn5150"; > + reg = <0x3d>; > + int-gpios = <&gpiof 5 IRQ_TYPE_EDGE_FALLING>; > + pinctrl-names = "default"; Broken indent? Shawn > + pinctrl-0 = <&pinctrl_typec2>; > + status = "disabled"; > + }; > +}; > + > +&usbotg1 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb1>; > + dr_mode = "otg"; > + hnp-disable; > + srp-disable; > + adp-disable; > + over-current-active-low; > + status = "okay"; > +}; > + > +&usbphy1 { > + fsl,tx-d-cal = <110>; > + status = "okay"; > +}; > + > +&usbmisc1 { > + status = "okay"; > +}; > + > +&usbotg2 { > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_usb2>; > + dr_mode = "otg"; > + hnp-disable; > + srp-disable; > + adp-disable; > + over-current-active-low; > + status = "okay"; > +}; > + > +&usbphy2 { > + fsl,tx-d-cal = <110>; > + status = "okay"; > +}; > + > +&usbmisc2 { > + status = "okay"; > }; > > &usdhc0 { > @@ -224,6 +282,32 @@ MX8ULP_PAD_PTE13__LPI2C7_SDA 0x20 > >; > }; > > + pinctrl_typec1: typec1grp { > + fsl,pins = < > + MX8ULP_PAD_PTF3__PTF3 0x3 > + >; > + }; > + > + pinctrl_typec2: typec2grp { > + fsl,pins = < > + MX8ULP_PAD_PTF5__PTF5 0x3 > + >; > + }; > + > + pinctrl_usb1: usb1grp { > + fsl,pins = < > + MX8ULP_PAD_PTF2__USB0_ID 0x10003 > + MX8ULP_PAD_PTF4__USB0_OC 0x10003 > + >; > + }; > + > + pinctrl_usb2: usb2grp { > + fsl,pins = < > + MX8ULP_PAD_PTD23__USB1_ID 0x10003 > + MX8ULP_PAD_PTF6__USB1_OC 0x10003 > + >; > + }; > + > pinctrl_usdhc0: usdhc0grp { > fsl,pins = < > MX8ULP_PAD_PTD1__SDHC0_CMD 0x3 > -- > 2.34.1 >