Device Driver (I/O Expander)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Device Driver (I/O Expander)

1,274 次查看
oprata
Contributor II

Hello Folks!
I am trying to develop a device driver for a I/O expander. The device that I use for it is PCF8574T from NXP. And I am using the IMX8MMEVK board to do it.

I wrote a device driver that it works fine - look the attached pcf8574t.tar.gz. But now I would like to map each GpIO of pcf8574t on sysfs over /sys/class/gpio. Does anybody has a tip about how can I do it?

Thanks in advance.

 

标签 (1)
0 项奖励
回复
2 回复数

357 次查看
Transidico
Contributor II
hello,
do you still have the code you made? I have the same problem, it would be very helpful.
Thanks
0 项奖励
回复

1,263 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

You can see this reply https://forums.balena.io/t/gpio-mapping-on-variscite-board/80718 

 

BR

Zhiming

0 项奖励
回复