1# Copyright (c) 2021, Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4config DISPLAY_NRF_LED_MATRIX
5	bool "LED matrix driven by GPIOs"
6	default y
7	depends on DT_HAS_NORDIC_NRF_LED_MATRIX_ENABLED
8	select NRFX_GPIOTE
9	select NRFX_PPI if HAS_HW_NRF_PPI
10	help
11	  Enable driver for a LED matrix with rows and columns driven by
12	  GPIOs. The driver allows setting one of 256 levels of brightness
13	  (where 0 means off completely) for each of the LEDs independently.
14	  Assignment of GPIOs to rows and columns and the mapping of those
15	  to pixels are specified in properties of a "nordic,nrf-led-matrix"
16	  compatible node in devicetree.
17	  The driver uses one TIMER instance and, depending on what is set in
18	  devicetree, one PWM instance or one or more GPIOTE and PPI channels
19	  (the latter value depends on the chosen pixel group size - the number
20	  of LEDs in one row that can be lit simultaneously).
21