nuttx/arch/risc-v/src
Lee Lup Yuen 4456b13c19 riscv/bl602: Remove check for LCD driver
## Summary

`bl602_spi_cmddata()` implements SPI Cmd/Data `SPI_CMDDATA()` for only 3 LCD drivers: ST7735, ST7789 and GC9A01.

This patch removes the check for LCD drivers, so that SPI Cmd/Data will work for all LCD drivers.

More details: https://github.com/apache/incubator-nuttx/pull/5898

## Impact

This change impacts LCD drivers that call `SPI_CMDDATA()`.

Previously `SPI_CMDDATA()` would fail with `ENODEV` for LCD drivers other than ST7735, ST7789 and GC9A01.

After patching, `SPI_CMDDATA()` will work correctly with all LCD drivers.

## Testing

We tested with LVGL and ST7789 on PineCone BL602:

-   [Testing with LVGL](https://github.com/lupyuen/st7789-nuttx#run-lvgl-demo)

As for regular SPI Devices that don't require SPI Cmd/Data, we tested `CONFIG_SPI_CMDDATA=y` with Semtech SX1262 SPI Transceiver on PineCone BL602:

-   [Testing Cmd/Data](https://github.com/lupyuen/incubator-nuttx/releases/tag/release-2022-03-30)
2022-03-29 23:09:42 -03:00
..
bl602 riscv/bl602: Remove check for LCD driver 2022-03-29 23:09:42 -03:00
c906 arch/risc-v: Use riscv_fpuconfig to enable FPU 2022-03-30 01:33:04 +08:00
common arch/risc-v: Rename up_fpuconfig to riscv_fpuconfig 2022-03-30 01:33:04 +08:00
esp32c3 arch/risc-v: Improve performance of context switch 2022-03-26 07:19:09 +09:00
fe310 arch/risc-v: Improve performance of context switch 2022-03-26 07:19:09 +09:00
k210 arch/risc-v: Improve performance of context switch 2022-03-26 07:19:09 +09:00
litex arch/risc-v/src/litex/litex_sdio: add litesdcard peripheral driver 2022-03-30 02:35:27 +08:00
mpfs arch/risc-v: Use riscv_fpuconfig to enable FPU 2022-03-30 01:33:04 +08:00
opensbi arch/risc-v: Update opensbi to 4998a712b2ab504eff306110879ee05af6050177 2022-03-10 19:46:01 +02:00
qemu-rv arch/risc-v: Use riscv_fpuconfig to enable FPU 2022-03-30 01:33:04 +08:00
rv32m1 arch/risc-v: Improve performance of context switch 2022-03-26 07:19:09 +09:00
.gitignore
Makefile arch/risc-v: Update outdated comments 2022-02-25 20:36:16 +08:00