Thread (14 messages) 14 messages, 3 authors, 2014-08-29

[PATCH 4/4] gpio: pca953x: Add DT binding for reset gpio

From: Linus Walleij <hidden>
Date: 2014-08-08 13:14:45
Also in: linux-gpio

On Tue, Jul 29, 2014 at 9:24 AM, Markus Pargmann [off-list ref] wrote:
The pca953x has a negated reset input. This patch adds a DT binding for
the reset gpio and resets the chip when it is probed. This will reset
the device and leave the gpio in the correct state so reset is not
triggered.

Signed-off-by: Markus Pargmann <redacted>
Why on earth should this be in the GPIO driver?

The driver should be in drivers/reset/reset-gpio.c and you
should provide a separate driver for it.

As it happens, Houcheng Lin has already proposed such a
driver:
http://marc.info/?l=linux-kernel&m=140309916607115&w=2

Please coordinate with Houcheng and use his driver for what
you want to achieve.

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