From patchwork Fri Jun 13 05:56:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pritam Manohar Sutar X-Patchwork-Id: 896877 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (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 75121277026 for ; Fri, 13 Jun 2025 07:10:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749798637; cv=none; b=HHa2bRx0/VhmghU09DXnrdgF+fVTyFZwnFjKBeVxMBRWUtQgGoTqk7P/OnYBxIDz9GhfT3G9220vPN9ZXe4bQof2H3MOJCEco9OcbJXXtLcom2ievHkr5mnZ+O++M7iBFu4C3oFjPVH66xXSyjV1OK9zeQZ1DfGne97tmMEafVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749798637; c=relaxed/simple; bh=tiTiLTY0Syyq2PWeOBk2iLStidZl3GLGhGgef/z4krI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=B9ch6QGFO0JX/1gmBa/+V14g+GiFJbZjnzDdOwG4wD/Q51OwaNfL5NR2YyoBhrnAXkGoVwSraq4WglH8S0i+W71kUhm8uv3JzSA/I6O78KgnNP1MiEtvZ84Y8tOZWLuopAOpuCQSLAlCur9qYHnFlW7guJ/Sq+8c03oX2cCUIVU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=rhBMUS7T; arc=none smtp.client-ip=203.254.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="rhBMUS7T" Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20250613071033epoutp04053723274589fe112d68a31616a76dbc~IiJYc1gsR2396523965epoutp04y for ; Fri, 13 Jun 2025 07:10:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20250613071033epoutp04053723274589fe112d68a31616a76dbc~IiJYc1gsR2396523965epoutp04y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1749798633; bh=56CmjDTZOy7fMDoysfMwIbGOoI0GR5WIPAdKVtxGwgs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rhBMUS7Tk7AFV1hwhSJhpaIIqwcMmxX1sx7dOUS2YM03d1JL7zkS0byUj90b+jFJg r4Z2TxjZFIo4mwWaLto4PEtsPTS7hce4a7K1ciKwa3PM5QJ/6anhyxCahxF/Wyyydr tjU+NfJtVgF3YONTjms899rLcrS6/jH4/6tADqww= Received: from epsnrtp01.localdomain (unknown [182.195.42.153]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPS id 20250613071032epcas5p30844d0ba455b69abf17e9f8c4d1f9e5a~IiJX2QbuO0170401704epcas5p3k; Fri, 13 Jun 2025 07:10:32 +0000 (GMT) Received: from epcas5p3.samsung.com (unknown [182.195.38.182]) by epsnrtp01.localdomain (Postfix) with ESMTP id 4bJVsf62PLz6B9mP; Fri, 13 Jun 2025 07:10:30 +0000 (GMT) Received: from epsmtip1.samsung.com (unknown [182.195.34.30]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20250613055106epcas5p46a2e5e2d6f0e8811644643f6282fd9ca~IhEAfFzbP2347523475epcas5p4Z; Fri, 13 Jun 2025 05:51:06 +0000 (GMT) Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20250613055103epsmtip1a1807f547f3c97abd09c8aaa059502d5~IhD9wSso20439404394epsmtip12; Fri, 13 Jun 2025 05:51:03 +0000 (GMT) From: Pritam Manohar Sutar To: vkoul@kernel.org, kishon@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, andre.draszik@linaro.org, peter.griffin@linaro.org, kauschluss@disroot.org, ivo.ivanov.ivanov1@gmail.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, pritam.sutar@samsung.com Cc: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, rosa.pila@samsung.com, dev.tailor@samsung.com, faraz.ata@samsung.com, muhammed.ali@samsung.com, selvarasu.g@samsung.com Subject: [PATCH v3 9/9] arm64: dts: exynos: ExynosAutov920: add USB and USB SS combo phy nodes Date: Fri, 13 Jun 2025 11:26:13 +0530 Message-Id: <20250613055613.866909-10-pritam.sutar@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250613055613.866909-1-pritam.sutar@samsung.com> Precedence: bulk X-Mailing-List: linux-samsung-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CMS-MailID: 20250613055106epcas5p46a2e5e2d6f0e8811644643f6282fd9ca X-Msg-Generator: CA X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P cpgsPolicy: CPGSC10-542,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250613055106epcas5p46a2e5e2d6f0e8811644643f6282fd9ca References: <20250613055613.866909-1-pritam.sutar@samsung.com> Update the USB 3.1 DRD controller and USB31DRD phy nodes to support SS combo phy for this soc. The USB 3.1 DRD controller has the following features: * DWC3 compatible * compliant with both USB device 3.1 and USB device 2.0 standards * compliant with USB host 3.1 and USB host 2.0 standards * supports USB device 3.1 and USB device 2.0 interfaces * supports USB host 3.1 and USB host 2.0 interfaces * full-speed (12 Mbps) and high-speed (480 Mbps) modes with USB device 2.0 interface * super-speed (5 Gbps) mode with USB device 3.1 Gen1 interface * super-speed plus (10 Gbps) mode with USB device 3.1 Gen2 interface * single USB port which can be used for USB 3.1 or USB 2.0 * on-chip USB PHY transceiver * supports up to 16 bi-directional endpoints * compliant with xHCI 1.1 specification USB3.1 SSP+(10Gbps) is supported in this commit and SS phy in combo phy only supports PIPE3 interface and it is added in index 0 of SS phy. UTMI+ and PIPE3 PHY interfaces are specified in "phys" property, UTMI+ (index 0 HS phy) and PIPE3 (index 0 SS phy). Signed-off-by: Pritam Manohar Sutar --- .../arm64/boot/dts/exynos/exynosautov920-sadk.dts | 4 ++++ arch/arm64/boot/dts/exynos/exynosautov920.dtsi | 15 +++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts b/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts index a21386bd9af3..40588f7c9998 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov920-sadk.dts @@ -88,6 +88,10 @@ &xtcxo { }; /* usb */ +&usbdrd31_ssphy { + status = "okay"; +}; + &usbdrd31_hsphy { status = "okay"; }; diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi index 4efc005cae80..5ee7fad346b9 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi @@ -1048,6 +1048,17 @@ pinctrl_hsi1: pinctrl@16450000 { interrupts = ; }; + usbdrd31_ssphy: phy@16480000 { + compatible = "samsung,exynosautov920-usb31drd-ssphy"; + reg = <0x16480000 0x0200>; + clocks = <&cmu_hsi1 CLK_MOUT_HSI1_NOC_USER>, + <&cmu_hsi1 CLK_MOUT_HSI1_USBDRD>; + clock-names = "phy", "ref"; + #phy-cells = <1>; + samsung,pmu-syscon = <&pmu_system_controller>; + status = "disabled"; + }; + usbdrd31_hsphy: phy@16490000 { compatible = "samsung,exynosautov920-usbdrd-hsphy"; reg = <0x16490000 0x0200>; @@ -1109,8 +1120,8 @@ usbdrd31_dwc3: usb@0 { <&cmu_hsi1 CLK_MOUT_HSI1_USBDRD>; clock-names = "ref", "susp_clk"; interrupts = ; - phys = <&usbdrd31_hsphy 0>; - phy-names = "usb2-phy"; + phys = <&usbdrd31_hsphy 0>, <&usbdrd31_ssphy 0>; + phy-names = "usb2-phy", "usb3-phy"; snps,has-lpm-erratum; snps,dis_u2_susphy_quirk; snps,dis_u3_susphy_quirk;