[PATCH 3/5 RFC] ARM: bcm283x: specify sdhci quirks in dtsi file

Stephen Warren swarren at wwwdotorg.org
Mon Jan 25 20:31:11 PST 2016


On 01/17/2016 07:59 AM, Stefan Wahren wrote:
> This patch defines the known quirks for BCM283x in the dtsi file:
> * SDHCI_QUIRK_BROKEN_CARD_DETECTION
> * SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12
> 
> So we don't need to define them in the driver.

Given that the quirks are currently defined in the driver, I believe
they will forever have to be defined in the driver.

If the (or a different) driver suddenly starts requiring the DT to
specify the quirks, then old DTs won't work with a new kernel, which is
against DT ABI.



More information about the linux-rpi-kernel mailing list