We have added GPIO interfaces, AD7416s, ADS1015s and a CAT34C02 to the device tree (it grabs them as indicated when using i2cdetect). Our problem now is getting access to them from the OS. The GPIOs we have been able to access using the GPIO interface but the others we haven’t figured out where to find them, any ideas?
hello lloyd_j_strickler,
you may also refer to kernel sources, check gpio_set_value() functions about how to control GPIOs.
<top>/kernel_src/kernel/kernel-4.4/drivers/media/i2c