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

Stefan Wahren stefan.wahren at i2se.com
Sun Jan 17 06:59:02 PST 2016


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.

Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
---
 arch/arm/boot/dts/bcm283x.dtsi |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi
index 971e741..75451cd 100644
--- a/arch/arm/boot/dts/bcm283x.dtsi
+++ b/arch/arm/boot/dts/bcm283x.dtsi
@@ -164,6 +164,8 @@
 			reg = <0x7e300000 0x100>;
 			interrupts = <2 30>;
 			clocks = <&clocks BCM2835_CLOCK_EMMC>;
+			broken-cd;
+			sdhci,auto-cmd12;
 			status = "disabled";
 		};
 
-- 
1.7.9.5




More information about the linux-rpi-kernel mailing list