summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-04-27 11:28:33 +0200
committerLinus Walleij <linus.walleij@linaro.org>2015-05-13 12:22:18 +0200
commit22a93167025b2b4ae4476bc01645dccb96ff0742 (patch)
tree90a4bbd2e2fd33e9ed0136be0c20e478d5b10de1 /arch/arm/boot/dts/ste-href-tvk1281618.dtsi
parentARM: ux500: fix lsm303dlh magnetometer compat string (diff)
downloadlinux-22a93167025b2b4ae4476bc01645dccb96ff0742.tar.xz
linux-22a93167025b2b4ae4476bc01645dccb96ff0742.zip
ARM: ux500: assign the sensor trigger IRQs
The ST sensors on the Ux500 boards were not utilizing the IRQs for data ready sample triggers. Enable this by assigning the right GPIO lines and interrupt lines (when the GPIO lines are used for IRQs) to the accelerometer, gyro and magnetometer sensors. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/ste-href-tvk1281618.dtsi')
-rw-r--r--arch/arm/boot/dts/ste-href-tvk1281618.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
index 0eeb4d4b5202..0e1c96943d47 100644
--- a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
+++ b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi
@@ -99,6 +99,9 @@
vddio-supply = <&db8500_vsmps2_reg>;
pinctrl-names = "default";
pinctrl-0 = <&accel_tvk_mode>;
+ interrupt-parent = <&gpio2>;
+ interrupts = <18 IRQ_TYPE_EDGE_RISING>,
+ <19 IRQ_TYPE_EDGE_RISING>;
};
lsm303dlh@1e {
/* Magnetometer */