[0/8] video: support Rocktech RK050HR345-CT106A panel
mbox series

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

Message

Dario Binacchi Feb. 19, 2026, 5:51 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.


Dario Binacchi (8):
  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 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       |  21 ++
 drivers/spi/spi-uclass.c        |  19 ++
 drivers/spi/stm32_spi.c         |  67 +++++-
 drivers/video/Kconfig           |   8 +
 drivers/video/Makefile          |   1 +
 drivers/video/ilitek-ili9806e.c | 354 ++++++++++++++++++++++++++++++++
 include/spi.h                   |  12 ++
 test/dm/spi.c                   |  16 ++
 9 files changed, 499 insertions(+), 7 deletions(-)
 create mode 100644 drivers/video/ilitek-ili9806e.c

Comments

Svyatoslav Ryhel Feb. 19, 2026, 6:43 p.m. UTC | #1
чт, 19 лют. 2026 р. о 19:51 Dario Binacchi
<dario.binacchi@amarulasolutions.com> пише:
>
> 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.
>
>
> Dario Binacchi (8):
>   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()

Hello Dario!

You should not need to modify spi framework to support 9 bit len xfer.
dm_spi_xfer supports this already, you need only stm32 support for
non-aligned xfers.

You can refer to ssd2825 bridge as an example of 9-bit spi
communication for write and 16 bit reads.

>   spi: stm32: clean up buffer length assignment
>   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       |  21 ++
>  drivers/spi/spi-uclass.c        |  19 ++
>  drivers/spi/stm32_spi.c         |  67 +++++-
>  drivers/video/Kconfig           |   8 +
>  drivers/video/Makefile          |   1 +
>  drivers/video/ilitek-ili9806e.c | 354 ++++++++++++++++++++++++++++++++
>  include/spi.h                   |  12 ++
>  test/dm/spi.c                   |  16 ++
>  9 files changed, 499 insertions(+), 7 deletions(-)
>  create mode 100644 drivers/video/ilitek-ili9806e.c
>
> --
> 2.43.0
>
> base-commit: 7dca54ef4c44c82bdc6716ac6cdc84c22c66e9ed
> branch: RK050HR345-CT106A-ON-SPI

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