0779a932f4
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>
8 lines
231 B
Plaintext
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
|