Refactor sdhci-driver

Registered by Wolfram Sang

SD/MMC cards are usually accessed via an embedded controller following the SDHC standard handled by the generic sdhci-driver in Linux. It turned out that quite a number of controllers do have problems following the standard and thus need quirks. Now, the number of quirks have increased significantly, so we are not only running out of bits for the quirk-bitfield (currently 29 of 32), but also the current techniques clearly do not scale as they are complicating the generic driver. My estimation is that more than half of the current quirk bits could go away by a carefully selected inclusion of overloadable hooks. This would lead to more flexibility and better maintainability. Given that SD/MMC is a substantial part in a number of devices to come, this work seems much needed before inclusion of more sdhci-based drivers might get stalled because no further quirk-bits are available. (Effort for this blueprint should be no more than 3 weeks, access to sdhc-specs v3.00 might speed it up)

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Wolfram Sang
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.