freebsd-dev/sys/arm
Mitchell Horne 3428997cb3 if_dwc: recognize additional rgmii phy-modes
Per the reports, some Allwinner device trees now list the desired
phy-mode as "rgmii-id". The manual string comparison fails to detect
this, and we end up falling back to MII mode. Instead, select the clock
name using the sc->phy_mode variable, which is set in the main attach
function.

The logic to actually handle rgmii-id mode delays will be added to the
relevant PHY driver.

PR:		261355, 264673
Reported by:	Maren <marentoy@protonmail.com>
Reported by:	Arie Bikker <src-2016@bikker.homeunix.net>
Reviewed by:	manu
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35500
2022-06-23 15:15:10 -03:00
..
allwinner if_dwc: recognize additional rgmii phy-modes 2022-06-23 15:15:10 -03:00
altera/socfpga arm altera: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
annapurna/alpine Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
arm Retire sv_transtrap 2022-05-20 14:54:03 +03:00
broadcom/bcm2835 Fix an indentation bug in the bcm pci driver 2022-05-23 18:24:04 +01:00
conf ARMADAXP: Add extres pseudo devices to some kernel 2022-04-04 22:29:02 -06:00
freescale arm/arm64 freescale: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
include machine/in_cksum.h: don't include sys/cdefs.h 2022-04-18 21:02:19 +01:00
mv arm mv: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
nvidia tegra: Fix a typo in a source code comment 2022-06-04 11:54:09 +02:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
qualcomm arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti am335x: Fix a typo in a source code comment 2022-06-04 13:28:10 +02:00
xilinx arm xilinx: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00