Skip to content

Commit

Permalink
boards: renesas: smartbond: Add support for the display driver class.
Browse files Browse the repository at this point in the history
Update board's DTS configurations to support the Renesas LCD controller.

Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
  • Loading branch information
ioannis-karachalios authored and fabiobaltieri committed Mar 8, 2024
1 parent cfc0a1f commit 4a83b99
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/renesas/da1469x_dk_pro/Kconfig.defconfig
Expand Up @@ -14,6 +14,14 @@ config LV_Z_BITS_PER_PIXEL
config LV_Z_AREA_X_ALIGNMENT_WIDTH
default 2

config LV_Z_FLUSH_THREAD
default y

# Use double buffering to avoid visual artifacts as long as
# the DMA is copying data into driver's frame buffer.
config LV_Z_DOUBLE_VDB
default y

endif # LVGL

if INPUT
Expand Down
15 changes: 15 additions & 0 deletions boards/renesas/da1469x_dk_pro/da1469x_dk_pro-pinctrl.dtsi
Expand Up @@ -32,6 +32,21 @@
};
};

display_controller_default: display_controller_default {
group1 {
pinmux = <SMARTBOND_PINMUX(LCD, 1, 2)>,
<SMARTBOND_PINMUX(LCD, 1, 3)>,
<SMARTBOND_PINMUX(LCD, 1, 4)>,
<SMARTBOND_PINMUX(LCD, 1, 5)>,
<SMARTBOND_PINMUX(LCD, 1, 7)>,
<SMARTBOND_PINMUX(LCD, 1, 8)>,
<SMARTBOND_PINMUX(LCD, 0, 27)>,
<SMARTBOND_PINMUX(LCD, 0, 28)>,
<SMARTBOND_PINMUX(LCD, 0, 29)>,
<SMARTBOND_PINMUX(LCD, 0, 30)>;
};
};

spi_controller: spi_controller {
group1 {
pinmux = <SMARTBOND_PINMUX(SPI_CLK, 0, 22)>,
Expand Down
4 changes: 4 additions & 0 deletions boards/renesas/da1469x_dk_pro/da1469x_dk_pro.dts
Expand Up @@ -21,6 +21,10 @@
zephyr,code-partition = &slot0_partition;
};

lvgl_pointer {
compatible = "zephyr,lvgl-pointer-input";
};

leds {
compatible = "gpio-leds";
red_led: led_0 {
Expand Down
1 change: 1 addition & 0 deletions boards/renesas/da1469x_dk_pro/da1469x_dk_pro.yaml
Expand Up @@ -20,4 +20,5 @@ supported:
- crypto
- dma
- mipi_dbi
- display
vendor: renesas

0 comments on commit 4a83b99

Please sign in to comment.