Dallas Semiconductor 1-Wire Controller
module implements Dallas
Semiconductor 1-Wire signaling. It attaches the
driver 1-Wire bus protocol. The
implements the Link Layer of the 1-Wire bus protocol stack.
Bit banging a pin on a
is the only supported controller. Both standard and overdrive transfer timings
are implemented. Strong pull-up functionality needed to support parasitic mode
is not implemented.
To enable 1-Wire for FDT systems requires modifying the DTS for your board to
add something like:
compatible = "w1-gpio";
gpios = <&gpio 4 1>;
The gpios property describes the GPIO pin the 1-Wire bus is connected to. For
more details about the gpios
1-Wire is a registered trademark of Maxim Integrated Products, Inc.
driver first appeared in
device driver and this manual page
were written by Warner Losh
The gpio driver implements timing by busy waiting, which can cause a high load
on slower systems.
Overdrive mode has not actually been tested.