Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: brad
Date: Wed Nov 18 18:04:26 UTC 2026
Modified Files:
src/distrib/sets/lists/debug: module.mi
src/distrib/sets/lists/man: mi
src/distrib/sets/lists/manhtml: mi
src/distrib/sets/lists/modules: mi
src/share/man/man4: Makefile onewire.4
src/sys/dev/onewire: files.onewire
src/sys/modules: Makefile
Added Files:
src/share/man/man4: ds2413gpio.4
src/sys/dev/onewire: ds2413gpio.c ds2413gpioreg.h ds2413gpiovar.h
src/sys/modules/ds2413gpio: Makefile ds2413gpio.ioconf
Log Message:
A driver for the Maxim DS2413 1-Wire Dual Channel Addressable Switch,
that is, two open drain GPIO ports at the end of a 1-Wire bus.
Except for overdrive speed support, which is currently lacking in the
onewire(4) infrastructure, all aspects of the chip are supported. The
ports are presented as a gpio(4) bus and are operated on like any GPIO
bus would be with gpioctl.
There is an official family ID for the DS2413, but widely known clones
use an alternative. Both IDs are supported. It is also possible to
add another ID using a kernel config option, as there are some reports
of yet other family IDs out in the wild.
The chip works on the DS248x I2C to 1-Wire bridges and works on the
bitbanged gpioow driver. Tests were performed on a Virtualbox amd64
VM using umcpmio(4) as a USB to I2C bridge together with a DS2484 I2C
to 1-Wire bridge as well as directly on a RPI2 and RPI3 running
earmv7hf and aarch64 with both a DS2484 and gpioow.
One of the more interesting places this chip shows up in inside of the
Apple Magsafe power connector where it is used to turn the LEDs on and
off. A nice teardown of the Magsafe connector is here ->
https://www.righto.com/2013/06/teardown-and-exploration-of-magsafe.html
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/distrib/sets/lists/debug/module.mi
cvs rdiff -u -r1.1850 -r1.1851 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.68 -r1.69 src/distrib/sets/lists/manhtml/mi
cvs rdiff -u -r1.168 -r1.169 src/distrib/sets/lists/modules/mi
cvs rdiff -u -r1.759 -r1.760 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/ds2413gpio.4
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/onewire.4
cvs rdiff -u -r0 -r1.1 src/sys/dev/onewire/ds2413gpio.c \
src/sys/dev/onewire/ds2413gpioreg.h src/sys/dev/onewire/ds2413gpiovar.h
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/onewire/files.onewire
cvs rdiff -u -r1.303 -r1.304 src/sys/modules/Makefile
cvs rdiff -u -r0 -r1.1 src/sys/modules/ds2413gpio/Makefile \
src/sys/modules/ds2413gpio/ds2413gpio.ioconf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index