]> git.ipfire.org Git - thirdparty/u-boot.git/commit
phy: renesas: Add PCS driver for Renesas R-Car X5H R8A78000
authorTam Nguyen <tam.nguyen.xa@renesas.com>
Mon, 27 Oct 2025 16:50:24 +0000 (17:50 +0100)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Thu, 6 Nov 2025 19:09:58 +0000 (20:09 +0100)
commit152ff5696bccd4c0fd27ebaa641af07b9515783f
tree47bce62d5af5144b25aabd4df7d351cebe9c5910
parenteaef9548445b52d28055c3c2157158cd7d5f5f67
phy: renesas: Add PCS driver for Renesas R-Car X5H R8A78000

Add support for the Ethernet Physical Coding Sublayer (PCS) controller
on R-Car Gen5 SoCs, specifically the Renesas R-Car X5H R8A78000.

The controller is based on the SERDES infrastructure used in previous
R-Car generations, with updates for Gen5 register layout and features.

Because majority of this driver is SoC-specific register programming,
the majority of this driver is different enough from R8A779F0 SerDes
driver to justify its own driver. Deduplication of the remaining bits
of code does not yield any improvement.

Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Phong Hoang <phong.hoang.wz@renesas.com>
Signed-off-by: Tam Nguyen <tam.nguyen.xa@renesas.com>
Signed-off-by: Thanh Quan <thanh.quan.xn@renesas.com>
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Add missing clk_bulk_disable() in fail path.
        Drop always-true aneg_on setting.
Reduce poll delay from 100s to 100ms.
Use bulk reset operations to finalize reset handling.]
drivers/phy/renesas/Kconfig
drivers/phy/renesas/Makefile
drivers/phy/renesas/r8a78000-ether-pcs.c [new file with mode: 0644]