On 24/01/2019 3:36 am, Justin Chen wrote:
Hello, I have an use case where I need to configure the 4 GPIO pins on a ADS7953. The current driver does not support this. What would be the proper way to implement this? I created an IIO_VOLTAGE channel for each GPIO to enable or disable them, but this doesn't seem right to me. Any suggestions?
G'day Justin, What about using the existing gpio framework. see iio/adc/stx104.c for an existing example search for gpiochip -- Regards Phil