Need to add GPIOs to the dtsi file and recompile so i get two GPIOs one in and another out on boot.
Whats the best way to accomplish this ?
The GPIO controller(s) is already defined in the device tree, up to you, at runtime (e.g. using libgpiod [1]) to control the GPIOs.
This for the pointer this is indeed the exact app we were looking for .
Cheers!