[v3,0/9] video: support Rocktech RK050HR345-CT106A panel
mbox series

Message ID 20260225161851.2475274-1-dario.binacchi@amarulasolutions.com
Headers show
Series
  • video: support Rocktech RK050HR345-CT106A panel
Related show

Message

Dario Binacchi Feb. 25, 2026, 4:16 p.m. UTC
This series adds support for the Rocktech RK050HR345-CT106A panel.
The initialization of this panel requires a 9-bit word length
configuration. To support this, I have extended the STM32 SPI driver
(including support for the STM32MP25 SoC) to implement the set_wordlen
operation.

To properly validate these changes and ensure the SPI uclass correctly
handles the word length propagation, I have also implemented the
corresponding logic in the sandbox driver and added a dedicated unit
test.

I have grouped these patches together to provide a complete overview of
the implementation and its verification.

Changes in v3:
- Use struct spi_slave data to access wordlen parameter instead
  of driver private data.
- Move the stm32_spi_is_enabled() helper to the new patch
  "spi: stm32: add stm32_spi_is_enabled() helper"
- Insert blank lines to separate code in ilitek-ili9806e.c

Changes in v2:
- Rplace tristate with bool in drivers/video/Kconfig

Dario Binacchi (9):
  spi: add support for bits-per-word setting
  spi: sandbox_spi: support wordlen setup
  test: spi: add sandbox_spi_get_wordlen interface
  test: dm: spi: add testcase for spi_set_wordlen()
  spi: stm32: clean up buffer length assignment
  spi: stm32: add stm32_spi_is_enabled() helper
  spi: stm32: add support for bits-per-word setting
  spi: stm32: extend support to STM32MP25
  video: support Rocktech RK050HR345-CT106A panel

 arch/sandbox/include/asm/test.h |   8 +
 drivers/spi/sandbox_spi.c       |  17 ++
 drivers/spi/spi-uclass.c        |  22 +-
 drivers/spi/stm32_spi.c         |  71 ++++++-
 drivers/video/Kconfig           |   8 +
 drivers/video/Makefile          |   1 +
 drivers/video/ilitek-ili9806e.c | 356 ++++++++++++++++++++++++++++++++
 include/spi.h                   |  14 ++
 test/dm/spi.c                   |  16 ++
 9 files changed, 502 insertions(+), 11 deletions(-)
 create mode 100644 drivers/video/ilitek-ili9806e.c

Comments

Patrice CHOTARD April 30, 2026, 7:02 a.m. UTC | #1
On 2/25/26 17:16, Dario Binacchi wrote:
> This series adds support for the Rocktech RK050HR345-CT106A panel.
> The initialization of this panel requires a 9-bit word length
> configuration. To support this, I have extended the STM32 SPI driver
> (including support for the STM32MP25 SoC) to implement the set_wordlen
> operation.
> 
> To properly validate these changes and ensure the SPI uclass correctly
> handles the word length propagation, I have also implemented the
> corresponding logic in the sandbox driver and added a dedicated unit
> test.
> 
> I have grouped these patches together to provide a complete overview of
> the implementation and its verification.
> 
> Changes in v3:
> - Use struct spi_slave data to access wordlen parameter instead
>   of driver private data.
> - Move the stm32_spi_is_enabled() helper to the new patch
>   "spi: stm32: add stm32_spi_is_enabled() helper"
> - Insert blank lines to separate code in ilitek-ili9806e.c
> 
> Changes in v2:
> - Rplace tristate with bool in drivers/video/Kconfig
> 
> Dario Binacchi (9):
>   spi: add support for bits-per-word setting
>   spi: sandbox_spi: support wordlen setup
>   test: spi: add sandbox_spi_get_wordlen interface
>   test: dm: spi: add testcase for spi_set_wordlen()
>   spi: stm32: clean up buffer length assignment
>   spi: stm32: add stm32_spi_is_enabled() helper
>   spi: stm32: add support for bits-per-word setting
>   spi: stm32: extend support to STM32MP25
>   video: support Rocktech RK050HR345-CT106A panel
> 
>  arch/sandbox/include/asm/test.h |   8 +
>  drivers/spi/sandbox_spi.c       |  17 ++
>  drivers/spi/spi-uclass.c        |  22 +-
>  drivers/spi/stm32_spi.c         |  71 ++++++-
>  drivers/video/Kconfig           |   8 +
>  drivers/video/Makefile          |   1 +
>  drivers/video/ilitek-ili9806e.c | 356 ++++++++++++++++++++++++++++++++
>  include/spi.h                   |  14 ++
>  test/dm/spi.c                   |  16 ++
>  9 files changed, 502 insertions(+), 11 deletions(-)
>  create mode 100644 drivers/video/ilitek-ili9806e.c
> 
For the whole series

Applied to u-boot-stm32/master

Thanks
Patrice

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.