Home
last modified time | relevance | path

Searched hist:"431 e4628ce0119183094a42820aa280096cc4a3a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-evk.dtsdiff 431e4628ce0119183094a42820aa280096cc4a3a Tue Oct 22 14:20:34 CDT 2019 Rogerio Pimentel da Silva <rpimentel.silva@gmail.com> arm64: dts: imx8mq-evk: Add remote control

Add remote control to i.MX8M EVK device tree.

The rc protocol must be selected by writing to:
/sys/devices/platform/ir-receiver/rc/rc0/protocols

On my tests, I used "nec" rc protocol:
echo nec > protocols

Tested using evetest:
evtest /dev/input/event0

Output log for each key pressed:
Event:
time 1568122608.267845, -------------- SYN_REPORT ------------
Event:
time 1568122610.503835, type 4 (EV_MSC), code 4 (MSC_SCAN), value 440

Signed-off-by: Rogerio Pimentel da Silva <rpimentel.silva@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>