New IOCTL for setting pins direction, without using sysfs exports from userspace