ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 30 Jul 2015 08:13:39 +0000 (13:43 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Aug 2015 10:53:19 +0000 (03:53 -0700)
ldo1_reg in addition to being connected to the io lines is also
connected to the card detect line. On card removal, omap_hsmmc
driver does a regulator_disable causing card detect line to be
pulled down. This raises a card insertion interrupt and once the
MMC core detects there is no card inserted, it does a
regulator disable which again raises a card insertion interrupt.
This happens in a loop causing infinite MMC interrupts.

Fix it by making ldo1_reg as always_on.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/dra7-evm.dts

index 3ab649b8afe612245cfd6b471c01af1a6f064f6f..1ae935cde2f0efcbf7cd073b282947a6425dc381 100644 (file)
                                        regulator-name = "ldo1";
                                        regulator-min-microvolt = <1800000>;
                                        regulator-max-microvolt = <3300000>;
+                                       regulator-always-on;
                                        regulator-boot-on;
                                };