aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sdhci/sdhci_fdt_rockchip.c
Commit message (Collapse)AuthorAgeFilesLines
* sdhci: Fixes for sdhci_fdt_rockchip.cBojan Novković2025-02-161-7/+6
| | | | | | | | | | | 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@bsd-peru.org)
* sdhci: Refactor the generic FDT driverBojan Novković2025-02-071-0/+283
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