Re: [PATCH v4 4/5] pinctrl: add pinctrl/GPIO driver for Apple SoCs
From: Joey Gouly <joey.gouly@arm.com>
Date: 2021-10-25 09:42:05
Also in:
linux-gpio
From: Joey Gouly <joey.gouly@arm.com>
Date: 2021-10-25 09:42:05
Also in:
linux-gpio
Hi, On Mon, Oct 25, 2021 at 06:07:35PM +0900, Hector Martin wrote:
On 24/10/2021 19.18, Joey Gouly wrote:quoted
This driver adds support for the pinctrl / GPIO hardware found on some Apple SoCs. Co-developed-by: Stan Skowronek <redacted> Signed-off-by: Stan Skowronek <redacted> Signed-off-by: Joey Gouly <joey.gouly@arm.com> ---[snip]quoted
+/* GPIO chip functions */ + +static int apple_gpio_gpio_get_direction(struct gpio_chip *chip, + unsigned int offset)Nit: do we really need to gpio_gpio all the things? I think maz already mentioned this one.
I forgot to reply to that. The reason (perhaps not a good one), is that the module is called 'apple_gpio' and these set of functions are related to the GPIO interface (not the pinctrl side of things). I'm not tied to the names either way. Thanks, Joey