blprasad Posted October 4, 2021 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
blprasad Posted October 5, 2021 Author Posted October 5, 2021 I suspect it is "drivers/pinctrl/sunxi/pinctrl-sunxi.h" , not tried yet. Correct me know if I am wrong.
blprasad Posted October 8, 2021 Author Posted October 8, 2021 exploring https://github.com/zhaolei/WiringOP/blob/h3/wiringPi/wiringPi.c
Recommended Posts