From ae51000d60c301d7780211373e4a31add20c9f87 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 10 Nov 2020 16:16:40 -0600 Subject: [PATCH] fix(underglow): Switch from legacy SPI to SPIM --- app/boards/shields/corne/boards/nice_nano.overlay | 2 +- app/boards/shields/kyria/boards/nice_nano.overlay | 2 +- app/boards/shields/kyria/boards/nrfmicro_11.overlay | 2 +- app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay | 2 +- app/boards/shields/kyria/boards/nrfmicro_13.overlay | 2 +- app/boards/shields/microdox/boards/nice_nano.overlay | 2 +- app/boards/shields/reviung41/boards/nice_nano.overlay | 2 +- app/boards/shields/romac_plus/boards/nice_nano.overlay | 2 +- docs/docs/feature/underglow.md | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/boards/shields/corne/boards/nice_nano.overlay b/app/boards/shields/corne/boards/nice_nano.overlay index c7c3eb8e..83ebae04 100644 --- a/app/boards/shields/corne/boards/nice_nano.overlay +++ b/app/boards/shields/corne/boards/nice_nano.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; /* Cannot be used together with i2c0. */ status = "okay"; mosi-pin = <6>; diff --git a/app/boards/shields/kyria/boards/nice_nano.overlay b/app/boards/shields/kyria/boards/nice_nano.overlay index f51ecfeb..8be964b5 100644 --- a/app/boards/shields/kyria/boards/nice_nano.overlay +++ b/app/boards/shields/kyria/boards/nice_nano.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/app/boards/shields/kyria/boards/nrfmicro_11.overlay b/app/boards/shields/kyria/boards/nrfmicro_11.overlay index d7f724f6..b88573b6 100644 --- a/app/boards/shields/kyria/boards/nrfmicro_11.overlay +++ b/app/boards/shields/kyria/boards/nrfmicro_11.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay b/app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay index c5f2a940..c6a24665 100644 --- a/app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay +++ b/app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/app/boards/shields/kyria/boards/nrfmicro_13.overlay b/app/boards/shields/kyria/boards/nrfmicro_13.overlay index c5f2a940..c6a24665 100644 --- a/app/boards/shields/kyria/boards/nrfmicro_13.overlay +++ b/app/boards/shields/kyria/boards/nrfmicro_13.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/app/boards/shields/microdox/boards/nice_nano.overlay b/app/boards/shields/microdox/boards/nice_nano.overlay index 58cd8613..1b84b6b5 100644 --- a/app/boards/shields/microdox/boards/nice_nano.overlay +++ b/app/boards/shields/microdox/boards/nice_nano.overlay @@ -4,7 +4,7 @@ * SPDX-License-Identifier: MIT */ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; /* Cannot be used together with i2c0. */ status = "okay"; mosi-pin = <6>; diff --git a/app/boards/shields/reviung41/boards/nice_nano.overlay b/app/boards/shields/reviung41/boards/nice_nano.overlay index a05d0eba..b6c89e80 100644 --- a/app/boards/shields/reviung41/boards/nice_nano.overlay +++ b/app/boards/shields/reviung41/boards/nice_nano.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/app/boards/shields/romac_plus/boards/nice_nano.overlay b/app/boards/shields/romac_plus/boards/nice_nano.overlay index a8dafa2d..17d11927 100644 --- a/app/boards/shields/romac_plus/boards/nice_nano.overlay +++ b/app/boards/shields/romac_plus/boards/nice_nano.overlay @@ -1,5 +1,5 @@ &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. diff --git a/docs/docs/feature/underglow.md b/docs/docs/feature/underglow.md index a9621428..2cea913f 100644 --- a/docs/docs/feature/underglow.md +++ b/docs/docs/feature/underglow.md @@ -61,7 +61,7 @@ Here's an example of an nRF52 SPI definition: ``` &spi1 { - compatible = "nordic,nrf-spi"; + compatible = "nordic,nrf-spim"; status = "okay"; mosi-pin = <6>; // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.