How should I set IR-receiver GPIO on i.MX 8M NANO EVK(8MNANOD4-CPU) ?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How should I set IR-receiver GPIO on i.MX 8M NANO EVK(8MNANOD4-CPU) ?

ソリューションへジャンプ
1,350件の閲覧回数
RabbitThief
Contributor II

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.

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 解決策
1,311件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

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.

元の投稿で解決策を見る

4 返答(返信)
1,325件の閲覧回数
RabbitThief
Contributor II

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

스크린샷 2021-10-05 09.16.27.png

I set as above (of course, I changed all mini-related parts to nano), but there is no result.

Best regards,
RabbitThief.

0 件の賞賛
返信
1,312件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

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.

1,302件の閲覧回数
RabbitThief
Contributor II

@AldoG 

Thanks for your help.

 

0 件の賞賛
返信
1,340件の閲覧回数
AldoG
NXP TechSupport
NXP TechSupport

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.