Re: [PATCH v3 4/9] iio: amplifiers: ad8366: drop reset_gpio from private struct
From: Rodrigo Alencar
Date: Thu Feb 05 2026 - 13:12:43 EST
On 26/02/04 03:55AM, Andy Shevchenko wrote:
> On Tue, Feb 03, 2026 at 11:24:10AM +0000, Rodrigo Alencar via B4 Relay wrote:
>
> > Remove reset_gpio from the device state struct and turn it
> > into a local variable, as it is not being used anywhere else.
>
> Why not switching to reset-gpio driver to begin with?
No particular reason, consuming it as gpio was already there!
Is this a suggestion/recommendation or a mandatory thing for
now on?
looked over some examples, some are not updating dt-bindings with resets,
others don't have Kconfig requiring POWER_RESET or POWER_RESET_GPIO config.
Those things are necessary, right?
--
Kind regards,
Rodrigo Alencar