linux/drivers/w1
Mariusz Bialonczyk f704938c0e w1: enable active pullup for DS2482 by default
This commit enables the active pullup (APU bit) by default for
the DS2482 1-Wire master.

>From the DS2482 datasheet:
"The APU bit controls whether an active pullup (controlled slew-rate
transistor) or a passive pullup (Rwpu resistor) will be used to drive
a 1-Wire line from low to high. When APU = 0, active pullup is disabled
(resistor mode). Active Pullup should always be selected unless there is
only a single slave on the 1-Wire line."

According to the module author, Ben Gardner:
"It doesn't look like active pullup would cause any hurt if there
is only a single slave."
And my tests with multiple and single slaves on 1-Wire bus
confirms that.

This active pullup can be manually disabled using the introduced
module parameter:
  active_pullup = 0

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-01 14:04:19 -07:00
..
masters w1: enable active pullup for DS2482 by default 2016-05-01 14:04:19 -07:00
slaves power: bq27xxx_battery: Platform initialization must declare a device 2015-09-23 16:23:12 +02:00
Kconfig Kconfig: replace "--- help ---" with "---help---" 2012-05-07 15:01:22 +02:00
Makefile
w1_family.c w1: use pr_* instead of printk 2014-06-19 17:46:51 -07:00
w1_family.h w1: support auto-load of w1_bq27000 module. 2014-11-26 19:09:02 -08:00
w1_int.c drivers/w1/w1_int.c: call put_device if device_register fails 2015-10-05 04:47:09 +01:00
w1_int.h MAINTAINERS: Evgeniy has moved 2011-08-25 16:25:33 -07:00
w1_io.c w1: format for DocBook and fixes 2014-02-07 15:40:18 -08:00
w1_log.h w1: use pr_* instead of printk 2014-06-19 17:46:51 -07:00
w1_netlink.c w1: avoid potential u16 overflow 2014-11-26 19:09:01 -08:00
w1_netlink.h w1: optional bundling of netlink kernel replies 2014-05-27 13:56:21 -07:00
w1.c w1: w1_process() is not freezable kthread 2016-02-11 19:23:28 -08:00
w1.h w1: optional bundling of netlink kernel replies 2014-05-27 13:56:21 -07:00