On Thu, 6 Mar 2025 18:03:13 -0300 Jonathan Santos <Jonathan.Santos@xxxxxxxxxx> wrote: > From: Sergiu Cuciurean <sergiu.cuciurean@xxxxxxxxxx> > > 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 <linus.walleij@xxxxxxxxxx> > Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@xxxxxxxxxx> > Co-developed-by: Jonathan Santos <Jonathan.Santos@xxxxxxxxxx> > Signed-off-by: Jonathan Santos <Jonathan.Santos@xxxxxxxxxx> More iio_device_claim_direct() conversions to make in here. That's just a bit of unlucky timing vs that series getting merged. Jonathan