]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/w1/masters/w1-gpio.c: add strong pullup emulation
authorEvgeny Boger <boger@contactless.ru>
Fri, 3 Jan 2014 03:10:36 +0000 (14:10 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 3 Jan 2014 03:10:36 +0000 (14:10 +1100)
commitfad5f1846f0e1b076176c3d88b86ce42dd8066ab
treee40f5c38b68a5eb3a998fad5b4b1abc411a7721b
parenta100739672e1fb509814f58500326bf48a089849
drivers/w1/masters/w1-gpio.c: add strong pullup emulation

Strong pullup is emulated by driving pin logic high after write command
when using tri-state push-pull GPIO.

Signed-off-by: Evgeny Boger <boger@contactless.ru>
Cc: Greg KH <greg@kroah.com>
Acked-by: David Fries <david@fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/w1/masters/w1-gpio.c
drivers/w1/w1_int.c
include/linux/w1-gpio.h