-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: modules: lvgl: Add support for Smartbond Pro DevKit.
Add configuration and overlay files to support the DA1469x development kit. Signed-off-by: Ioannis Karachalios <[email protected]>
- Loading branch information
1 parent
facface
commit dff150c
Showing
2 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# | ||
# Copyright (c) 2023 Renesas Electronics Corporation | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# | ||
CONFIG_HEAP_MEM_POOL_SIZE=4096 | ||
CONFIG_LOG_MODE_MINIMAL=y | ||
CONFIG_DISPLAY_LOG_LEVEL_DBG=y | ||
CONFIG_INPUT_FT5336_INTERRUPT=y | ||
CONFIG_LV_Z_POINTER_INPUT_MSGQ_COUNT=70 | ||
CONFIG_LV_Z_BITS_PER_PIXEL=16 | ||
CONFIG_DMA_LOG_LEVEL_INF=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Copyright (c) 2023 Renesas Electronics Corporation | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
#include <zephyr/dt-bindings/gpio/gpio.h> | ||
#include <zephyr/dt-bindings/display/panel.h> | ||
|
||
/ { | ||
chosen { | ||
zephyr,display = &display; | ||
}; | ||
|
||
lvgl_pointer { | ||
input = <&display_touch>; | ||
status = "okay"; | ||
swap-xy; | ||
invert-x; | ||
invert-y; | ||
}; | ||
}; | ||
|
||
&dma { | ||
status = "okay"; | ||
}; | ||
|
||
&i2c2 { | ||
display_touch: ft6206@38 { | ||
compatible = "focaltech,ft5336"; | ||
status = "okay"; | ||
reg = <0x38>; | ||
int-gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; | ||
}; | ||
}; | ||
|
||
&display { | ||
disp-gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>; | ||
status = "okay"; | ||
width = <480>; | ||
height = <272>; | ||
pixel-format = <PANEL_PIXEL_FORMAT_RGB_565>; | ||
|
||
/* Display settings for ST7282T2 conttoller */ | ||
display-timings { | ||
compatible = "zephyr,panel-timing"; | ||
hsync-len = <2>; | ||
hfront-porch = <2>; | ||
hback-porch = <3>; | ||
vsync-len = <2>; | ||
vfront-porch = <2>; | ||
vback-porch = <2>; | ||
hsync-active = <0>; | ||
vsync-active = <0>; | ||
de-active = <1>; | ||
pixelclk-active = <1>; | ||
clock-frequency = <12000000>; | ||
}; | ||
}; |