[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250613055613.866909-1-pritam.sutar@samsung.com>
Date: Fri, 13 Jun 2025 11:26:04 +0530
From: Pritam Manohar Sutar <pritam.sutar@...sung.com>
To: vkoul@...nel.org, kishon@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, alim.akhtar@...sung.com,
andre.draszik@...aro.org, peter.griffin@...aro.org, kauschluss@...root.org,
ivo.ivanov.ivanov1@...il.com, m.szyprowski@...sung.com,
s.nawrocki@...sung.com, pritam.sutar@...sung.com
Cc: linux-phy@...ts.infradead.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, rosa.pila@...sung.com,
dev.tailor@...sung.com, faraz.ata@...sung.com, muhammed.ali@...sung.com,
selvarasu.g@...sung.com
Subject: [PATCH v3 0/9] initial usbdrd phy support for Exynosautov920 soc
This SoC has a single USB 3.1 DRD combo phy and three USB2.0 only
DRD phy controllers
- Combo phy supports USB3.1 SSP+(10Gbps) protocol and is backwards
compatible to the USB3.0 SS(5Gbps). 'Add-on USB2.0' phy is added
to support USB2.0 HS(480Mbps), FS(12Mbps) and LS(1.5Mbps) data
rates. These two phys are combined to form a combo phy as mentioned
below.
USB30DRD_0 port
+-----------------------------------------------------+
| |
| (combo) USB PHY controller |
| +-----------------------------------------+ |
| | USB HSPHY | |
| | (samsung,exynosautov920-usbdrd-hsphy) | |
| +-----------------------------------------+ |
| |
| +---------------------------------------------+ |
| | USB SSPHY | |
| | (samsung,exynosautov920-usb31drd-ssphy) | |
| +---------------------------------------------+ |
| |
+-----------------------------------------------------+
| |
| USBDRD30 Link |
| Controller |
| |
+-----------------------------------------------------+
- USB2.0 phy supports only UTMI+ interface. USB2.0DRD phy
is very similar to the existing Exynos850 support in this driver.
USB20DRD_0/1/2 ports
+---------------------------------------------------+
| |
| USB PHY controller |
| +-----------------------------------------+ |
| | USB HSPHY | |
| | (samsung,exynosautov920-usbdrd-phy) | |
| +-----------------------------------------+ |
| |
+---------------------------------------------------+
| |
| USBDRD20_* Link |
| Controller |
| |
+---------------------------------------------------+
This patchset only supports device mode and same is verified with
as NCM device with below configfs commands
changelog
----------
Changes in v2:
- Used standard GENMASK() and FIELD_GET() to get the major version
from controller version register.
link for v1: https://lore.kernel.org/linux-phy/20250514134813.380807-1-pritam.sutar@samsung.com/
Changes in v3:
- Updated dt-bindings for USB2.0 only.
- Added dt-bindings for combo phy.
- Added implementation for combo phy (SS and HS phy).
- Added added DTS nodes for all the phys.
link for v2: https://lore.kernel.org/linux-phy/20250516102650.2144487-1-pritam.sutar@samsung.com/
Pritam Manohar Sutar (9):
dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 HS phy
compatible
phy: exyons5-usbdrd: support HS phy for ExynosAutov920
arm64: dts: exynos: ExynosAutov920: add USB and USB-phy nodes
dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo HS
phy
phy: exyons5-usbdrd: support HS combo phy for ExynosAutov920
arm64: dts: exynos: ExynosAutov920: add USB and USB HS combo phy nodes
dt-bindings: phy: samsung,usb3-drd-phy: add ExynosAutov920 combo SS
phy
phy: exyons5-usbdrd: support SS combo phy for ExynosAutov920
arm64: dts: exynos: ExynosAutov920: add USB and USB SS combo phy nodes
.../bindings/phy/samsung,usb3-drd-phy.yaml | 6 +
.../boot/dts/exynos/exynosautov920-sadk.dts | 53 ++
.../arm64/boot/dts/exynos/exynosautov920.dtsi | 155 +++++
drivers/phy/samsung/phy-exynos5-usbdrd.c | 529 ++++++++++++++++++
4 files changed, 743 insertions(+)
--
2.34.1
Powered by blists - more mailing lists