ARM: ux500: Assign proper sensor IRQs for Snowball
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 5 Nov 2015 09:18:14 +0000 (10:18 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Nov 2015 08:37:09 +0000 (09:37 +0100)
commitc80b4010d7e4a1ba2aa83928a659f4bd87c1019c
treef44d257ca75f8f16510170eed0d1b5fb51ee55a5
parent250656b4bc442d8e8c264733241b7b083dabb1a8
ARM: ux500: Assign proper sensor IRQs for Snowball

The Snowball gyro and magnetometer DRDY (data ready) lines are used
as interrupt triggers by the IIO subsystem, triggering new data
retrieveal on edges on this signal. Thus assign them as the primary
interrupt in the device tree. The "other interrupt" coming out of
the sensors is for alarms and similar complex events, the DRDY is
for periodic measures, which is what we want.

After this the generic_buffer tool from IIO tools gives a nice
stream of readings after enabling the desired channels in sysfs.

Cc: Denis Ciocca <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-snowball.dts
This page took 0.048571 seconds and 5 git commands to generate.