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>
Sat, 31 Mar 2018 14:44:57 +0000 (15:44 +0100)
commit00e1d20e3eec3dc75bbce94e539ec9e7f18821df
tree766dfdfc213b7fe399b17dd5bca027a6ded4d5de
parent56cc0ee6c1a935ab07123f7c7324605297563765
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