enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module)
authorpopcornmix <popcornmix@gmail.com>
Wed, 8 May 2013 10:46:50 +0000 (11:46 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 00:59:50 +0000 (00:59 +0000)
commite8fc6c5103d4114cd84575add61e7e58acbd2de7
tree0ae130e6d638294e57cb8be5ed1dc1b84d2d1ec6
parent556e31b88b8879e77eb557d0e2c4deeddb83e5ad
enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (as a module)

1-wire: Add support for configuring pin for w1-gpio kernel module
See: https://github.com/raspberrypi/linux/pull/457

Add bitbanging pullups, use them for w1-gpio

Allows parasite power to work, uses module option pullup=1

bcm2708: Ensure 1-wire pullup is disabled by default, and expose as module parameter

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
w1-gpio: Add gpiopin module parameter and correctly free up gpio pull-up pin, if set

Signed-off-by: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
w1-gpio: Sort out the pullup/parasitic power tangle
drivers/w1/masters/w1-gpio.c
drivers/w1/w1.h
drivers/w1/w1_int.c
drivers/w1/w1_io.c
include/linux/w1-gpio.h