blprasad Posted October 4, 2021 Share Posted October 4, 2021 Hi all , I am trying to work with GPIO , on Orange Pi zero latest kernel image (linux-sunxi-5.10.60). In old kernel linux-3.4.114 there used to be gpio_lib.h,gpio_lib.c files which are for this purpose as I know. Could someone help me find similar library in latest kernel sources. thanks Link to comment Share on other sites More sharing options...
blprasad Posted October 5, 2021 Author Share Posted October 5, 2021 I suspect it is "drivers/pinctrl/sunxi/pinctrl-sunxi.h" , not tried yet. Correct me know if I am wrong. Link to comment Share on other sites More sharing options...
blprasad Posted October 8, 2021 Author Share Posted October 8, 2021 exploring https://github.com/zhaolei/WiringOP/blob/h3/wiringPi/wiringPi.c Link to comment Share on other sites More sharing options...
Igor Posted October 8, 2021 Share Posted October 8, 2021 Link to comment Share on other sites More sharing options...
Recommended Posts