tmp_suning_uos_patched/drivers/w1/masters
Daniel Mack c8a06c1ef0 w1-gpio: add external pull-up enable callback
On embedded devices, sleep mode conditions can be tricky to handle,
Especially when processors tend to pull-down the w1 bus during sleep.  Bus
slaves (such as the ds2760) may interpret this as a reason for power-down
conditions and entirely switch off the device.

This patch adds a callback function pointer to let users switch on and off
the external pull-up resistor.  This lets the outside world know whether
the processor is currently actively driving the bus or not.

When this callback is not provided, the code behaviour won't change.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Ville Syrjala <syrjala@sci.fi>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-18 13:03:58 -07:00
..
ds1wm.c mfd: remove DS1WM clock handling 2009-04-05 00:32:22 +02:00
ds2482.c w1/ds2482: Convert to a new-style driver 2008-07-16 19:30:07 +02:00
ds2490.c W1: ds2490.c optimize ds_set_pullup 2008-10-16 11:21:51 -07:00
Kconfig trivial: Kconfig: .ko is normally not included in module names 2009-06-12 18:01:50 +02:00
Makefile w1: add 1-wire master driver for i.MX27 / i.MX31 2009-01-08 08:31:13 -08:00
matrox_w1.c Clean up duplicate includes in drivers/w1/ 2007-10-17 08:42:48 -07:00
mxc_w1.c [ARM] MXC: remove _clk suffix from clock names 2009-03-13 10:33:48 +01:00
omap_hdq.c [ARM] omap: w1: convert omap HDQ clocks to match by devid and conid 2009-02-08 17:50:21 +00:00
w1-gpio.c w1-gpio: add external pull-up enable callback 2009-06-18 13:03:58 -07:00