diff --git a/drivers/display/Kconfig.nrf_led_matrix b/drivers/display/Kconfig.nrf_led_matrix index b89b9afe123..4ddd2520a96 100644 --- a/drivers/display/Kconfig.nrf_led_matrix +++ b/drivers/display/Kconfig.nrf_led_matrix @@ -1,11 +1,14 @@ # Copyright (c) 2021, Nordic Semiconductor ASA # SPDX-License-Identifier: Apache-2.0 +DT_COMPAT_NRF_LED_MATRIX := nordic,nrf-led-matrix + config DISPLAY_NRF_LED_MATRIX bool "LED matrix driven by GPIOs" depends on SOC_FAMILY_NRF select NRFX_GPIOTE select NRFX_PPI if HAS_HW_NRF_PPI + default $(dt_compat_enabled,$(DT_COMPAT_NRF_LED_MATRIX)) help Enable driver for a LED matrix with rows and columns driven by GPIOs. The matrix is refreshed pixel by pixel (only one LED is