GPIO as node

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

GPIO as node

1,221件の閲覧回数
mathew_k_t
Contributor II

I would like configure GPIO(GPIO1_IO31) as an interrupt to toggle value of another GPIO (GPIO1_IO30). How to implement this?

How to create a node in dts file for gpio?

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

1,016件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi mathew_k_t 

please look at linux/Documentation/devicetree/bindings/gpio/fsl-imx-gpio.txt

linux-imx.git - i.MX Linux Kernel 

and some examples

https://community.nxp.com/thread/381277 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,016件の閲覧回数
mathew_k_t
Contributor II

Hi

Thank you for your response.

I have gone through the references and I understood the things discussed. But I was expecting something helpful to configure one gpio pin as interrupt. As per the first reference, I tried to  create a node in imx6ull14x14evk.dts, but I'm not getting any irq_reference when I added some print statements in gpio-mxc.c.

0 件の賞賛
返信