drivers: w1 introduce 1-wire api and common code
This commit introduces a new api for the Dallas 1-wire protocol. The api includes link functions for read and write operations on bit, byte, and block level, as well as functions to reset and lock the bus. The bus configuration is derived from the device tree and can be queried using w1_slave_count routine. Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
parent
05147693ca
commit
d63cf82a46
9 changed files with 551 additions and 0 deletions
|
@ -57,6 +57,8 @@ source "drivers/dac/Kconfig"
|
|||
|
||||
source "drivers/watchdog/Kconfig"
|
||||
|
||||
source "drivers/w1/Kconfig"
|
||||
|
||||
source "drivers/clock_control/Kconfig"
|
||||
|
||||
source "drivers/ptp_clock/Kconfig"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue