-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds support for SD card interaction on the Allwinner D1 platform. It is split in an `sdmmc` kernel service and a driver for the SD/MMC host controller peripheral. Currently only SD card support is implemented, but this should allow for adding MMC and SDIO support later. The interface between the kernel service and the driver aims to work on the specification/protocol level and not contain any Allwinner D1 details, which should make it suitable for other platforms as well. This PR also improves the `BusGatingResetRegister` trait in `platforms/allwinner-d1/d1-core/src/ccu.rs` --------- Co-authored-by: Eliza Weisman <[email protected]>
- Loading branch information
Showing
8 changed files
with
1,471 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#[cfg(feature = "sharp-display")] | ||
pub mod sharp_display; | ||
pub mod smhc; | ||
pub mod spim; | ||
pub mod twi; | ||
pub mod uart; |
Oops, something went wrong.