diff options
author | Evgeny Boger <boger@contactless.ru> | 2014-01-23 15:56:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-01-23 16:37:04 -0800 |
commit | 3089a4c8d3abc7e2ab105d1d39d415110d1566d6 (patch) | |
tree | 5064f69853949cb8b5d245c932f65a3202d21219 /include/linux/w1-gpio.h | |
parent | 63509beaf7ed7a9dc8c574be61189fce791489f0 (diff) | |
download | talos-obmc-linux-3089a4c8d3abc7e2ab105d1d39d415110d1566d6.tar.gz talos-obmc-linux-3089a4c8d3abc7e2ab105d1d39d415110d1566d6.zip |
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/w1-gpio.h')
-rw-r--r-- | include/linux/w1-gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/w1-gpio.h b/include/linux/w1-gpio.h index 065e3ae79ab0..d58594a32324 100644 --- a/include/linux/w1-gpio.h +++ b/include/linux/w1-gpio.h @@ -20,6 +20,7 @@ struct w1_gpio_platform_data { unsigned int is_open_drain:1; void (*enable_external_pullup)(int enable); unsigned int ext_pullup_enable_pin; + unsigned int pullup_duration; }; #endif /* _LINUX_W1_GPIO_H */ |