zephyr/drivers/w1
Pavel Hübner 83d031c024 drivers: w1: Make 1-Wire Skip ROM cmd. optional
For systems with a true dynamic 1-Wire nature, the 1-Wire devices
cannot be defined in the DeviceTree (the number of slaves in
the system is not known during the build time).

In other words, there are no pre-defined 1-Wire devices on the bus in
DeviceTree, and thus the slave_count variable is always zero.

That means the skip_rom functionality will always be called even if
there are multiple devices connected to the bus.

This commit allows the user to override this original behavior and avoid
the skip_rom call by ignoring the slave count variable.

Also, this work preserves full backward compatibility.

Signed-off-by: Pavel Hübner <pavel.hubner@hardwario.com>
2023-05-19 16:29:35 +02:00
..
CMakeLists.txt drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
Kconfig drivers: w1: Make 1-Wire Skip ROM cmd. optional 2023-05-19 16:29:35 +02:00
Kconfig.ds2477_85 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
Kconfig.ds2482-800 drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
Kconfig.ds2484 drivers: w1: Move to using select in Kconfig for I2C bus 2022-08-12 14:15:53 +01:00
Kconfig.ds2485 drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
Kconfig.test drivers: w1: Update drivers to use devicetree Kconfig symbol 2022-07-29 14:25:27 +02:00
Kconfig.zephyr_serial drivers: w1: use select SERIAL in Kconfig for w1-zephyr-serial driver 2022-08-14 09:08:19 -05:00
w1_common.c everywhere: Fix legacy include paths 2022-07-18 16:16:47 +00:00
w1_ds2477_85_common.c drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_ds2477_85_common.h drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_ds2482_84_common.h drivers: ds248x: Fix naming 2023-04-07 13:11:54 +02:00
w1_ds2482-800_channel.c drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2482-800.c drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2482-800.h drivers: ds2482-800: Add driver 2023-04-07 13:11:54 +02:00
w1_ds2484.c drivers: ds248x: Fix naming 2023-04-07 13:11:54 +02:00
w1_ds2485.c drivers/w1: driver for ds2485 1-Wire master 2022-09-09 14:11:30 +00:00
w1_handlers.c
w1_net.c drivers: w1: Make 1-Wire Skip ROM cmd. optional 2023-05-19 16:29:35 +02:00
w1_shell.c drivers/w1: add 1-wire shell 2022-09-07 15:33:52 +02:00
w1_test.c device: remove redundant init functions 2023-04-19 10:00:25 +02:00
w1_zephyr_serial.c