Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1195797 > unrolled thread

[PATCH 6/7] ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt

Started byKishon Vijay Abraham I <kishon@ti.com>
First post2015-07-30 10:20 +0200
Last post2015-07-30 10:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/7] ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt Kishon Vijay Abraham I <kishon@ti.com> - 2015-07-30 10:20 +0200

#1195797 — [PATCH 6/7] ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt

FromKishon Vijay Abraham I <kishon@ti.com>
Date2015-07-30 10:20 +0200
Subject[PATCH 6/7] ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt
Message-ID<pRReh-14V-5@gated-at.bofh.it>
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>
---
 arch/arm/boot/dts/dra7-evm.dts |    1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index 25f0a00..a6c82e5 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -358,6 +358,7 @@
 					regulator-name = "ldo1";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <3300000>;
+					regulator-always-on;
 					regulator-boot-on;
 				};
 
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web