We auto-generate DT_COMPAT_<compat> defines so we dont need to explicitly define them anymore. NOTE: we need to source Kconfig.zephyr first to pull in the autogen Kconfig.dts files. Signed-off-by: Kumar Gala <galak@kernel.org>
8 lines
182 B
Plaintext
8 lines
182 B
Plaintext
# Copyright (c) 2021 Nordic Semiconductor ASA
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
source "Kconfig.zephyr"
|
|
|
|
config I2C
|
|
default $(dt_compat_on_bus,$(DT_COMPAT_WOLFSON_WM8731),i2c)
|