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.

(cherry picked from commit 4a83b99)

Original-Signed-off-by: Ioannis Karachalios <ioannis.karachalios.px@renesas.com>
GitOrigin-RevId: 4a83b99
Change-Id: I6ac6df3f97f77a613ba94c399c96704a612aed34
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5356058
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Tristan Honscheid <honscheid@google.com>
Tested-by: Tristan Honscheid <honscheid@google.com>
Commit-Queue: Tristan Honscheid <honscheid@google.com>
  • Loading branch information
ioannis-karachalios authored and Chromeos LUCI committed Mar 9, 2024
1 parent e0c1181 commit cb07932
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
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
4 changes: 4 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
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 cb07932

Please sign in to comment.