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 <[email protected]>
  • Loading branch information
ioannis-karachalios committed Mar 6, 2024
1 parent 0b53e47 commit 39507e3
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 0 deletions.
8 changes: 8 additions & 0 deletions boards/renesas/da1469x_dk_pro/Kconfig.defconfig
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
9 changes: 9 additions & 0 deletions boards/renesas/da1469x_dk_pro/da1469x_dk_pro.dts
Original file line number Diff line number Diff line change
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 Expand Up @@ -175,3 +179,8 @@ zephyr_udc0: &usbd {
pinctrl-2 = <&mipi_dbi_sleep>;
pinctrl-names = "default", "read", "sleep";
};

&display {
pinctrl-0 = <&display_controller_default>;
pinctrl-names = "default";
};
1 change: 1 addition & 0 deletions boards/renesas/da1469x_dk_pro/da1469x_dk_pro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ supported:
- crypto
- dma
- mipi_dbi
- display
vendor: renesas

0 comments on commit 39507e3

Please sign in to comment.