FreeBSD/src 19f202fsys/dev/sdhci sdhci_fdt_rockchip.c

sdhci: Fixes for sdhci_fdt_rockchip.c

This change fixes a couple of issues in the Rockchip SDHCI driver:
 - Fix a panic caused by sdhci_fdt_rockchip_attach not populating the
   softc's dev variable before initializing clocks
 - Fix a bug where sdhci_fdt_rockchip_set_clock fails to call
   sdhci_fdt_set_clock

Fixes:  e17e33f997d6
Reported by:    Alonso Cárdenas Márquez (acardenas at bsd-peru.org)
DeltaFile
+6-7sys/dev/sdhci/sdhci_fdt_rockchip.c
+6-71 files

FreeBSD/src e17e33fsys/arm64/conf std.xilinx, sys/conf files.arm64

sdhci: Refactor the generic FDT driver

This patch refactors the 'sdhci_fdt.c' driver by moving all vendor
specific routines into separate files and making the base 'sdhci_fdt'
driver subclassable. The goal is to make adding new FDT-based drivers
easier and more maintainable. No functional change intended.

Reviewed by:    manu, imp
Differential Revision:  https://reviews.freebsd.org/D48527
DeltaFile
+283-0sys/dev/sdhci/sdhci_fdt_rockchip.c
+38-235sys/dev/sdhci/sdhci_fdt.c
+115-0sys/dev/sdhci/sdhci_fdt_xilinx.c
+66-0sys/dev/sdhci/sdhci_fdt.h
+3-0sys/conf/files.arm64
+1-0sys/arm64/conf/std.xilinx
+506-2351 files not shown
+507-2357 files