[PATCH v2 1/4] gpio: Add AXP209 GPIO driver

Linus Walleij linus.walleij at linaro.org
Thu Aug 11 01:28:34 PDT 2016


On Wed, Jul 20, 2016 at 4:11 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:

> The AXP209 PMIC has a bunch of GPIOs accessible, that are usually used to
> control LEDs or backlight.
>
> Add a driver for them
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> Acked-by: Rob Herring <robh at kernel.org>

Patch applied, it's clean and simple. I would suggest the
following immediate improvement (send separate patch):

Add a .get_direction() callback, I have started to push this
for new driver as it gives better userspace experience
and overall better control of stuff.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list