-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Add display configuration for M5Stack CoreS3 and CoreS3-SE #99186
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
Open
xingrz
wants to merge
7
commits into
zephyrproject-rtos:main
Choose a base branch
from
xingrz:cores3-display/pr
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+144
−0
Conversation
This file contains hidden or 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
The M5Stack CoreS3 and CoreS3-SE are equipped with an ILI9342C SPI LCD controller. This commit adds the corresponding DTS nodes for it. Since the display backlight is powered by the AXP2101 regulator, the regulator driver is enabled by default, and the initialization priorities of the mipi_dbi and display drivers have been adjusted accordingly. Note: On the CoreS3-SE, the TF card slot and the ILI9342C display share the same SPI bus, and the display repurposes the MISO pin as the LCD_DC signal. In this case, the `mipi_dbi` DTS node is disabled by default. To enable it, overlay the configuration to remove `SPIM2_MISO_GPIO35` from the pinctrl. Signed-off-by: Chen Xingyu <[email protected]>
Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
…3-SE Add a device tree overlay to enable the MIPI-DBI bus on the M5Stack CoreS3-SE. The overlay removes SPIM2_MISO_GPIO35 from the pinctrl so that the MISO pin can be used as the LCD_DC signal. Signed-off-by: Chen Xingyu <[email protected]>
9dda330 to
94d713c
Compare
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: Boards/SoCs
area: Display
area: LVGL
Light and Versatile Graphics Library Support
area: Samples
Samples
area: State Machine Framework
State Machine Framework
area: Tests
Issues related to a particular existing or missing test
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



The M5Stack CoreS3 and CoreS3-SE are equipped with an ILI9342C SPI LCD controller. This PR adds the corresponding DTS nodes for it.
Since the display backlight is powered by the AXP2101 regulator, the regulator driver is enabled by default, and the initialization priorities of the mipi_dbi and display drivers have been adjusted accordingly.
Note: On the CoreS3-SE, the TF card slot and the ILI9342C display share the same SPI bus, and the display repurposes the MISO pin as the LCD_DC signal. In this case, the
mipi_dbiDTS node is disabled by default. To enable it, applications should overlay the configuration to remove SPIM2_MISO_GPIO35 from the pinctrl. Such overlays are also added to several samples in this PR.