Re: [linux-sunxi] [PATCH 1/4] gpio: Add AXP209 GPIO driver

2016-03-16 Thread Linus Walleij
On Wed, Mar 9, 2016 at 2:20 PM, Peter Korsgaard wrote: >> "Maxime" == Maxime Ripard writes: > > +dev_info(&pdev->dev, "AXP209 GPIO driver loaded\n"); > > Any reason to be so noisy? The GPIO maintainer likes boasty drivers. I don't understand people who are dmesg minimalists, I want to

Re: [linux-sunxi] [PATCH 1/4] gpio: Add AXP209 GPIO driver

2016-03-09 Thread Peter Korsgaard
> "Maxime" == Maxime Ripard writes: > The AXP209 PMIC has a bunch of GPIOs accessible, that are usually used to > control LEDs or backlight. Do you find 3 'a bunch'? ;) > +static int axp20x_gpio_probe(struct platform_device *pdev) > +{ > +struct axp20x_dev *axp20x = dev_get_drvdata

[linux-sunxi] [PATCH 1/4] gpio: Add AXP209 GPIO driver

2016-03-09 Thread Maxime Ripard
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 --- .../devicetree/bindings/gpio/gpio-axp209.txt | 30 drivers/gpio/Kconfig | 6 + drivers/gpio/Mak