Add rkcomphy(3), a driver for the "naneng" combo PHY found on the RK356x
authorkettenis <kettenis@openbsd.org>
Sun, 12 Mar 2023 14:29:50 +0000 (14:29 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 12 Mar 2023 14:29:50 +0000 (14:29 +0000)
commite1414c5087eac83c0386bb4ea9a6f00d9399c291
treea089836c2b6a028e78a91beadeccb3bdd12bac60
parenteaa0e9fae0cfad4ddd5692324e51b61ef14d3ba5
Add rkcomphy(3), a driver for the "naneng" combo PHY found on the RK356x
(and RK3588).  This is a PIPE PHY with support for PCIe, SATA, USB3, SGMII
and QSGMII.  For now only PCIe, SATA and USB3 support are implemented.
SATA support has not been tested.

Also add the refernce clocks needed by the PHYs to rkclock(4).

ok mlarkin@
sys/arch/arm64/conf/GENERIC
sys/arch/arm64/conf/RAMDISK
sys/dev/fdt/files.fdt
sys/dev/fdt/rkclock.c
sys/dev/fdt/rkclock_clocks.h
sys/dev/fdt/rkcomphy.c [new file with mode: 0644]