zephyr/samples/drivers
Martí Bolívar 8ea9941fe3 samples: led_ws2812: force SPIM on nRF52-DK
The WS2812 SPI driver needs the pixel data to be clocked out on time,
with no gaps between SPI frames. This makes the nordic,nrf-spi
compatible unsuitable for use, since the corresponding driver doesn't
use EasyDMA to clock out the tx buffers.

Force the arduino_spi node in the DT to SPIM mode by setting its
compatible to nordic,nrf-spim. On nRF52832, this driver is disabled by
default due to Product Anomaly Notice (PAN) 58.

We happen to not be affected by PAN 58 in this instance, because we
never read data over the SPIM, only write it. So it's safe to enable
the SPIM driver. This requires a board-specific Kconfig fragment for
nRF52-DK to enable CONFIG_SOC_NRF52832_ALLOW_SPIM_DESPITE_PAN_58.

Fixes: #29877
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-11-17 10:24:33 -06:00
..
can samples: Fix device instance const qualifier loss 2020-09-02 13:48:13 +02:00
counter device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
crypto device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
current_sensing tests/samples: add samples for Serpente board 2020-09-04 09:25:02 -05:00
dac boards: nucleo_f091rc: Enable DAC driver 2020-09-03 14:46:03 -05:00
display samples: display: add fixture 2020-09-17 07:10:03 -04:00
entropy device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
espi drivers: eSPI: add eSPI driver support for NPCX7 series. 2020-10-02 11:33:15 +02:00
flash_shell shell: examples cleanup 2020-09-29 10:48:47 +02:00
gpio/boards samples: gpio: add board overlay for up_squared 2020-02-05 12:00:36 +01:00
ht16k33 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2c_fujitsu_fram device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
i2s/litex device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
jesd216 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
kscan samples: Add fixtures for samples interacting with keyboard and mouse 2020-09-08 17:24:38 -04:00
kscan_touch device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lcd_hd44780 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_apa102 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_apa102c_bitbang device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp503x device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp3943 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lp5562 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_lpd8806 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_pca9633 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_pwm samples: drivers: add test sample for the PWM LED driver 2020-10-28 10:44:46 -05:00
led_ws2812 samples: led_ws2812: force SPIM on nRF52-DK 2020-11-17 10:24:33 -06:00
lora device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
peci device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ps2 samples: Add fixtures for samples interacting with keyboard and mouse 2020-09-08 17:24:38 -04:00
soc_flash_nrf device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
spi_flash drivers/flash/nrf_qspi_nor: Add support for nRF53 Series SoCs 2020-11-10 21:01:37 +02:00
spi_flash_at45 samples: drivers: Update sample overlay with sector size values 2020-09-04 11:58:22 +02:00
spi_fujitsu_fram device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
watchdog device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
drivers.rst samples: drivers: Change drivers.rst to find all samples readme file 2020-05-15 17:18:56 +02:00