On Thu, Mar 6, 2025 at 10:03 PM 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> > --- Acked-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>