Browse Source

fix(underglow): Switch from legacy SPI to SPIM

xmkb
Nick 4 years ago committed by Pete Johanson
parent
commit
ae51000d60
  1. 2
      app/boards/shields/corne/boards/nice_nano.overlay
  2. 2
      app/boards/shields/kyria/boards/nice_nano.overlay
  3. 2
      app/boards/shields/kyria/boards/nrfmicro_11.overlay
  4. 2
      app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay
  5. 2
      app/boards/shields/kyria/boards/nrfmicro_13.overlay
  6. 2
      app/boards/shields/microdox/boards/nice_nano.overlay
  7. 2
      app/boards/shields/reviung41/boards/nice_nano.overlay
  8. 2
      app/boards/shields/romac_plus/boards/nice_nano.overlay
  9. 2
      docs/docs/feature/underglow.md

2
app/boards/shields/corne/boards/nice_nano.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
/* Cannot be used together with i2c0. */ /* Cannot be used together with i2c0. */
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;

2
app/boards/shields/kyria/boards/nice_nano.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
app/boards/shields/kyria/boards/nrfmicro_11.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
app/boards/shields/kyria/boards/nrfmicro_11_flipped.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
app/boards/shields/kyria/boards/nrfmicro_13.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
app/boards/shields/microdox/boards/nice_nano.overlay

@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT * SPDX-License-Identifier: MIT
*/ */
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
/* Cannot be used together with i2c0. */ /* Cannot be used together with i2c0. */
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;

2
app/boards/shields/reviung41/boards/nice_nano.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
app/boards/shields/romac_plus/boards/nice_nano.overlay

@ -1,5 +1,5 @@
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

2
docs/docs/feature/underglow.md

@ -61,7 +61,7 @@ Here's an example of an nRF52 SPI definition:
``` ```
&spi1 { &spi1 {
compatible = "nordic,nrf-spi"; compatible = "nordic,nrf-spim";
status = "okay"; status = "okay";
mosi-pin = <6>; mosi-pin = <6>;
// Unused pins, needed for SPI definition, but not used by the ws2812 driver itself. // Unused pins, needed for SPI definition, but not used by the ws2812 driver itself.

Loading…
Cancel
Save