Skip to content

Conversation

@xingrz
Copy link
Member

@xingrz xingrz commented Nov 11, 2025

image

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_dbi DTS 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.

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]>
@zephyrbot zephyrbot added area: Tests Issues related to a particular existing or missing test area: State Machine Framework State Machine Framework labels Nov 11, 2025
@sonarqubecloud
Copy link

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants