-
Notifications
You must be signed in to change notification settings - Fork 8k
boards: witte: linum: add suport for the display subsystem #96378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
uLipe
commented
Sep 22, 2025
- Enable the LTDC controller and bind the zephyr,display node to it
- Enable the touch controller and bind the lvgl pointer to it.
- Enable the SDRAM to put framebuffers and LVGL stuff to there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the first commit, please restrict on the functional changes and remove all the formatting changes.
8f5b80f
to
4fc7be5
Compare
By enabling the LTDC controller and attaching it to the zephyr, display node Signed-off-by: Felipe Neves <[email protected]>
To allow the display framebuffers to be placed at the external RAM memory available on the Linum board. Signed-off-by: Felipe Neves <[email protected]>
4fc7be5
to
e884947
Compare
|
STM32_FMC_SDRAM_NR_12 | ||
STM32_FMC_SDRAM_MWID_16 | ||
STM32_FMC_SDRAM_NB_4 | ||
STM32_FMC_SDRAM_CAS_3 | ||
STM32_FMC_SDRAM_SDCLK_PERIOD_2 | ||
STM32_FMC_SDRAM_RBURST_ENABLE | ||
STM32_FMC_SDRAM_RPIPE_0>; | ||
st,sdram-timing = <2 7 4 7 2 2 2>; | ||
STM32_FMC_SDRAM_NR_12 | ||
STM32_FMC_SDRAM_MWID_16 | ||
STM32_FMC_SDRAM_NB_4 | ||
STM32_FMC_SDRAM_CAS_2 | ||
STM32_FMC_SDRAM_SDCLK_PERIOD_3 | ||
STM32_FMC_SDRAM_RBURST_ENABLE | ||
STM32_FMC_SDRAM_RPIPE_0>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep indentation here
pinctrl-0 = <<dc_b0_pj12 | ||
<dc_b1_pj13 | ||
<dc_b2_pj14 | ||
<dc_b3_pj15 | ||
<dc_b4_pk3 | ||
<dc_b5_pk4 | ||
<dc_b6_pk5 | ||
<dc_b7_pk6 | ||
<dc_r0_pi15 | ||
<dc_r1_pj0 | ||
<dc_r2_pj1 | ||
<dc_r3_pj2 | ||
<dc_r4_pj3 | ||
<dc_r5_pj4 | ||
<dc_r6_pj5 | ||
<dc_r7_pj6 | ||
<dc_g0_pj7 | ||
<dc_g1_pj8 | ||
<dc_g2_pj9 | ||
<dc_g3_pj10 | ||
<dc_g4_pj11 | ||
<dc_g5_pk0 | ||
<dc_g6_pk1 | ||
<dc_g7_pk2 | ||
<dc_de_pk7 | ||
<dc_clk_pi14 | ||
<dc_hsync_pi10 | ||
<dc_vsync_pi9>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this was made on purpose for readability, but that there are on going efforts to lint zephyr dts files, see #92805, #92803, #96317 and #92334, and tit was decided otherwise in those discussions.
Please conform to the rules applied in those PRs. (But you can still jump in these discussions and make your point there of course ;) )
bank@1 { | ||
reg = <1>; | ||
refresh-rate = <1562>; | ||
bank@0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this previously complied with the coding standard, now it does not, newline missing on line 330
As soon as PR #96322 will be merged, you can simply add the following 4 CONFIG within your .conf file to make LVGL point to the SDRAM1. Ensure the following 2 are disabled:
Then set below 4 configs:
|
Thanks @avolmat-st and @erwango in this case I will wait #96322 to get merged, in meantime I will check the format details. |