Re: [PATCH v4 12/17] iio: adc: ad7768-1: Add GPIO controller support
From: Bartosz Golaszewski <hidden>
Date: 2025-03-07 13:45:34
Also in:
linux-gpio, linux-iio, lkml
From: Bartosz Golaszewski <hidden>
Date: 2025-03-07 13:45:34
Also in:
linux-gpio, linux-iio, lkml
On Thu, Mar 6, 2025 at 10:03 PM Jonathan Santos [off-list ref] wrote:
From: Sergiu Cuciurean <sergiu.cuciurean@analog.com> The AD7768-1 has the ability to control other local hardware (such as gain stages),to power down other blocks in the signal chain, or read local status signals over the SPI interface. Add direct mode conditional locks in the gpio callbacks to prevent register access when the device is in buffered mode. This change exports the AD7768-1's four gpios and makes them accessible at an upper layer. Reviewed-by: Linus Walleij <redacted> Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@analog.com> Co-developed-by: Jonathan Santos <redacted> Signed-off-by: Jonathan Santos <redacted> ---
Acked-by: Bartosz Golaszewski <redacted>