On Tuesday 23 July 2013 03:39 PM, Joseph Lo wrote:
The IRQ trigger type of Palmas MFD device (tps65913) is low-level
sensitive. The wrong configuration would cause an interrupt storm
when booting the system. Fixing it in DT with appropriate interrupt
type.

Cc: Laxman Dewangan <[email protected]>
Signed-off-by: Joseph Lo <[email protected]>
---
  arch/arm/boot/dts/tegra114-dalmore.dts | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/tegra114-dalmore.dts 
b/arch/arm/boot/dts/tegra114-dalmore.dts
index 76529e4..70b9d0c 100644
--- a/arch/arm/boot/dts/tegra114-dalmore.dts
+++ b/arch/arm/boot/dts/tegra114-dalmore.dts
@@ -840,7 +840,7 @@
                palmas: tps65913 {
                        compatible = "ti,palmas";
                        reg = <0x58>;
-                       interrupts = <0 86 0x4>;
+                       interrupts = <0 86 0x8>;

This fails as GIC does not support the interrupt flag of 8.

[ 13.007755] genirq: Setting trigger mode 8 for irq 118 failed (gic_set_type+0x0/0xf0)
[   13.009152] palmas 1-0058: Irq flag is 0x00000000


I did not get the interrupt storm and even interrupt is not working on tot.
Two ways to resolve this:
- Change the interrupt flag to 0 from 4. Or
- Remove the nvidia,invert-interrupt; for PMC node.


--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to