Re: ti-ads7950.c GPIO Pins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux