2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-23 10:06:28 +08:00
linux-next/Documentation/w1/masters
Christoph Winklhofer a3c0880436 w1: add UART w1 bus driver
Add a UART 1-Wire bus driver. The driver utilizes the UART interface via
the Serial Device Bus to create the 1-Wire timing patterns. The driver
was tested on a "Raspberry Pi 3B" with a DS18B20 and on a "Variscite
DART-6UL" with a DS18S20 temperature sensor.

The 1-Wire timing pattern and the corresponding UART baud-rate with the
interpretation of the transferred bytes are described in the document:

Link: https://www.analog.com/en/technical-articles/using-a-uart-to-implement-a-1wire-bus-master.html

In short, the UART peripheral must support full-duplex and operate in
open-drain mode. The timing patterns are generated by a specific
combination of baud-rate and transmitted byte, which corresponds to a
1-Wire read bit, write bit or reset.

Signed-off-by: Christoph Winklhofer <cj.winklhofer@gmail.com>
Link: https://lore.kernel.org/r/20240214-w1-uart-v7-3-6e21fa24e066@gmail.com
[krzysztof: w1_uart_serdev_receive_buf() return type fixup]
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
2024-02-15 15:02:33 +01:00
..
ds2482.rst docs: w1: convert to ReST and add to the kAPI group of docs 2019-07-31 14:16:17 -06:00
ds2490.rst Documentation: W1: minor typo corrections 2022-09-27 13:21:44 -06:00
index.rst w1: add UART w1 bus driver 2024-02-15 15:02:33 +01:00
mxc-w1.rst docs: w1: convert to ReST and add to the kAPI group of docs 2019-07-31 14:16:17 -06:00
omap-hdq.rst docs: w1: Fix a typo in omap-hdq.rst 2019-12-30 11:58:02 -07:00
w1-gpio.rst dt-bindings: w1: update w1-gpio.yaml reference 2021-09-16 21:02:09 -05:00
w1-uart.rst w1: add UART w1 bus driver 2024-02-15 15:02:33 +01:00