且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

嵌入式Linux内核中的PIN混合

更新时间:2023-11-19 22:51:46

正如我在IRC上回复给您的那样,您可以简单地删除第101行或整个isc节点,以确保isc不会混合引脚.您未真正回答的问题是如何使用这些GPIOS,编写内核驱动程序或使用libgpio?

As I replied to you on IRC, you can simply remove line 101 or the whole isc node, that will ensure the isc is not muxing the pins. The question you are not really answering is how will you use those GPIOS, will you write a kernel driver or use libgpio?

如果要编写内核驱动程序,则要让您的驱动程序进行探测,您将必须很快了解设备树.

If you want to write a kernel driver, then you will have to learn about the device tree soon if you want to get your driver to probe.