[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=MdDH7UPkhjBKr6hO-j2J158_u4Mp=++hjh=V0OtoJHX1g@mail.gmail.com>
Date: Mon, 28 Apr 2025 13:43:22 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: André Draszik <andre.draszik@...aro.org>
Cc: Lee Jones <lee@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>, Kees Cook <kees@...nel.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>, Srinivas Kandagatla <srini@...nel.org>,
Peter Griffin <peter.griffin@...aro.org>, Tudor Ambarus <tudor.ambarus@...aro.org>,
Will McVicker <willmcvicker@...gle.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
linux-gpio@...r.kernel.org, linux-hardening@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH v7 5/6] gpio: max77759: add Maxim MAX77759 gpio driver
On Mon, Apr 28, 2025 at 1:36 PM André Draszik <andre.draszik@...aro.org> wrote:
>
> The Maxim MAX77759 is a companion PMIC for USB Type-C applications and
> includes Battery Charger, Fuel Gauge, temperature sensors, USB Type-C
> Port Controller (TCPC), NVMEM, and a GPIO expander.
>
> This driver supports the GPIO functions using the platform device
> registered by the core MFD driver.
>
> Reviewed-by: Linus Walleij <linus.walleij@...aro.org>
> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> Signed-off-by: André Draszik <andre.draszik@...aro.org>
> ---
[snip]
> +
> + chip->gc.names = max77759_gpio_line_names;
> + chip->gc.ngpio = MAX77759_N_GPIOS;
> + chip->gc.get_direction = max77759_gpio_get_direction;
> + chip->gc.direction_input = max77759_gpio_direction_input;
> + chip->gc.direction_output = max77759_gpio_direction_output;
> + chip->gc.get = max77759_gpio_get_value;
> + chip->gc.set = max77759_gpio_set_value;
Please use the set_rv variant now, the old set is deprecated. Until
that's changed, my Ack is revoked.
Bartosz
Powered by blists - more mailing lists