gpiolib: add gpio provider infrastructure