Thread (16 messages) 16 messages, 3 authors, 2015-11-30

Re: [PATCH v3 6/6] gpio: tps65086: Add GPIO driver for the TPS65086 PMIC

From: Andrew F. Davis <hidden>
Date: 2015-11-17 16:11:48
Also in: linux-gpio, lkml

On 11/17/2015 03:17 AM, Linus Walleij wrote:
On Wed, Nov 4, 2015 at 6:12 PM, Andrew F. Davis [off-list ref] wrote:
quoted
Add support for the TPS65086 PMIC GPOs.

TPS65086 has four configurable GPOs that can be used for several
purposes.

Signed-off-by: Andrew F. Davis <redacted>
OK...
quoted
+static int tps65086_gpio_get(struct gpio_chip *gc, unsigned offset)
+static void tps65086_gpio_set(struct gpio_chip *gc, unsigned offset,
Just get/set and no get_direction/direction_input/direction_output?
Are you sure?
Yeah, these are output only, I could probably add get_direction and just
always return output, but setters wouldn't make sense here.

Andrew
Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help