[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaSY7WH191makzPcZqLd-vBsC_f6yagWzBa65MrC+pjKA@mail.gmail.com>
Date: Wed, 19 Feb 2025 21:34:45 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Jonathan Santos <Jonathan.Santos@...log.com>
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Sergiu Cuciurean <sergiu.cuciurean@...log.com>, lars@...afoo.de,
Michael.Hennerich@...log.com, marcelo.schmitt@...log.com, jic23@...nel.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
jonath4nns@...il.com, marcelo.schmitt1@...il.com, dlechner@...libre.com
Subject: Re: [PATCH RESEND v3 12/17] iio: adc: ad7768-1: Add GPIO controller support
Hi Jonathan/Sergiu,
thanks for your patch!
On Wed, Feb 12, 2025 at 7:20 PM Jonathan Santos
<Jonathan.Santos@...log.com> wrote:
> From: Sergiu Cuciurean <sergiu.cuciurean@...log.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.
>
> This change exports the AD7768-1's four gpios and makes them accessible
> at an upper layer.
>
> Signed-off-by: Sergiu Cuciurean <sergiu.cuciurean@...log.com>
> Co-developed-by: Jonathan Santos <Jonathan.Santos@...log.com>
> Signed-off-by: Jonathan Santos <Jonathan.Santos@...log.com>
Is it not possible to use the gpio regmap library in this driver
like we do in drivers/iio/addac/stx104.c?
It cuts down the code size of simple GPIO chips on random
chips quite a lot.
Yours,
Linus Walleij
Powered by blists - more mailing lists