zephyr/drivers/w1/Kconfig.test
Kumar Gala 0779a932f4 drivers: w1: Update drivers to use devicetree Kconfig symbol
Update w1 drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol
to expose the driver and enable it by default based on devicetree.

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-07-29 14:25:27 +02:00

8 lines
231 B
Plaintext

# Copyright (c) 2022, Thomas Stranger
# SPDX-License-Identifier: Apache-2.0
# Hidden option to enable the vnd,w1 1-Wire host driver used in testing.
config W1_TEST
def_bool DT_HAS_VND_W1_ENABLED
depends on DT_HAS_VND_W1_ENABLED