Hello,
I read this article. ( How to set IR-receiver GPIO (i.MX8 mini) )
I'm trying to get IR to work in EVK.
- EVK : 8MNANOD4-CPU
- Linux BSP Version : L5.4.3
I have not been able to solve the same problem as the above article. I tried to search using Google, but it keeps failing.
If you can help with setting up the IR GPIO, please comment.
已解决! 转到解答。
Hello,
Got it, thank you for sharing more information, I have 2 suggestions that you may try.
1 - Try with a more recent BSP, for example with Linux 5.10.35_2.0.0
2 - You may modify as you tried, but you may take as reference the following commit:
https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_5.4.47_2.2.0&id=5f0cbb7b9bc83fc43...
Best regards,
Aldo.
Thank you, @AldoG
As you requested, I'll go into more detail.
My final goal has already been asked in this article. ( How should I implement IR enabled on i.MX 8M NANO EVK(8MNANOD4-CPU) ? )
However, since NXP did not provide a reference solution, I am trying to solve it one by one from the beginning.
Therefore, I made the inquiry I wrote down in the main text.
As in the referenced article, I want to display GPIO1_13 by executing "cat /sys/kernel/debug/gpio".
./tmp/work-shared/imx8mnevk/kernel-source/arch/arm64/boot/dts/freescale/imx8mn-evk.dts
I set as above (of course, I changed all mini-related parts to nano), but there is no result.
Best regards,
RabbitThief.
Hello,
Got it, thank you for sharing more information, I have 2 suggestions that you may try.
1 - Try with a more recent BSP, for example with Linux 5.10.35_2.0.0
2 - You may modify as you tried, but you may take as reference the following commit:
https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_5.4.47_2.2.0&id=5f0cbb7b9bc83fc43...
Best regards,
Aldo.
Hello,
Could you give more details on what did you change?
And what is not working?
If you just need to modify the dtb/dts you may try with dtc tool.
https://git.kernel.org/pub/scm/utils/dtc/dtc.git/plain/Documentation/manual.txt?id=HEAD
Best regards,
Aldo.