#
bdb9ce82 |
| 15-Jul-2024 |
patrick <patrick@openbsd.org> |
Add support for the RK3588 eMMC controller. This is mostly the same, with some HS400 bits that we don't support yet. While there, fix some constants that weren't applied to the correct registers.
Add support for the RK3588 eMMC controller. This is mostly the same, with some HS400 bits that we don't support yet. While there, fix some constants that weren't applied to the correct registers.
ok dlg@
show more ...
|
#
f057eb46 |
| 26-May-2024 |
kettenis <kettenis@openbsd.org> |
Revert bits that got accidentally committed.
spotted by patrick@
|
#
456d6666 |
| 26-May-2024 |
kettenis <kettenis@openbsd.org> |
Clear interrupt status to prevent power down after resume initiated by pressing the power button.
ok patrick@
|
#
2779d271 |
| 20-Jun-2023 |
kettenis <kettenis@openbsd.org> |
Fix definition of EMMC_DLL_TXCLK register offset.
ok dlg@
|
#
834ff46c |
| 19-Apr-2023 |
dlg <dlg@openbsd.org> |
dwmshc on rockchips don't support dma crossy 128M boundaries.
let controllers pass the dma boundaries to sdmmc as part of the attach args so it can be used for the bus_dmamap_create. add the boundar
dwmshc on rockchips don't support dma crossy 128M boundaries.
let controllers pass the dma boundaries to sdmmc as part of the attach args so it can be used for the bus_dmamap_create. add the boundary to sdhci so dwmshc can set it to be bassed to sdmmc.
tested on a radxa e25 booting and rooting off the onboard emmc. before this diff some programs would fault with weird instructions.
show more ...
|
#
89d76fb4 |
| 19-Apr-2023 |
dlg <dlg@openbsd.org> |
get rid of some dead code.
|
#
fff34f16 |
| 19-Apr-2023 |
dlg <dlg@openbsd.org> |
flag the device as non-removable if the dt says it's non-removable
this may help if we end up doing suspend/resume on rk356x/rk3588.
|
#
7d57b1b5 |
| 18-Apr-2023 |
dlg <dlg@openbsd.org> |
support Designware Mobile Storage Host Controllers
this is used on rk356x and rk3588 SoCs as the emmc controller.
this is actually an sdhc(4) controller, but it has a lot of extra registers and cod
support Designware Mobile Storage Host Controllers
this is used on rk356x and rk3588 SoCs as the emmc controller.
this is actually an sdhc(4) controller, but it has a lot of extra registers and code for dealing with clock rates. i could have added this to sdhc_fdt.c, but the amount of this extra code and the lack of overlap with other chips meant id be splitting the code up based on the chip id, which is something the autoconf/device framework already does for us.
some help and ok from patrick@ ok jmatthew@
show more ...
|