boards: nxp: frdm_mcxaxx6: add FlexIO parallel LCD support - #115496
boards: nxp: frdm_mcxaxx6: add FlexIO parallel LCD support#115496NeilChen93 wants to merge 5 commits into
Conversation
|
@jacob-wienecke-nxp @peterwangsz You have been identified as a likely reviewer for the code this pull request changes, but could not be added to its review request automatically. Please review it if you are able to. |
fce0316 to
ec34df2
Compare
|
Can you share photo(s)/video of testing on hardware with |
ec34df2 to
074ce01
Compare
|
Hi @JarmouniA , here is the photo. |
|
87dcf66 to
410d469
Compare
Add a SmartDMA-accelerated transfer path as an alternative to the generic-DMA (e.g. eDMA) back-end, selectable via MIPI_DBI_NXP_FLEXIO_LCDIF_SMARTDMA. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
410d469 to
bd65887
Compare
|
@NeilChen93 why frdm_mcxa577 commit in this pr? seems not related |
| - platform:frdm_mcxa266/mcxa266:SHIELD=lcd_par_s035_8080 | ||
| - platform:frdm_mcxa366/mcxa366:SHIELD=lcd_par_s035_8080 |
There was a problem hiding this comment.
| - platform:frdm_mcxa266/mcxa266:SHIELD=lcd_par_s035_8080 | |
| - platform:frdm_mcxa366/mcxa366:SHIELD=lcd_par_s035_8080 |
From the comment above:
"It is not intended to cover all combinations of boards and shields, but rather serve as a method to test each display shield within Zephyr"
#117331
| clocks = <&syscon MCUX_FLEXIO0_CLK>; | ||
| }; | ||
|
|
||
| smartdma: smartdma@4000e000 { |
There was a problem hiding this comment.
| smartdma: smartdma@4000e000 { | |
| smartdma: dma@4000e000 { |
Add the SmartDMA controller node (disabled by default) so boards in the MCXAxx6 family can enable it to accelerate peripheral transfers such as the FlexIO parallel LCD interface. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
Enable the LCD-PAR-S035 8080 parallel display shield on the FRDM-MCXA266 and FRDM-MCXA366 boards. - Add the FlexIO MIPI-DBI parallel LCD (nxp,mipi-dbi-flexio-lcdif) node to both board device trees, wiring the WR/RD/data/reset/CS/RS signals and the FlexIO LCD pinmux. - Add an nxp,lcd-8080 connector to board_common.dtsi describing the touch interrupt, backlight and reset GPIOs. - Enable lpi2c3 as the 8080 touch panel I2C bus and add the required pinctrl groups for both boards. Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
Replace the eDMA-based transfer (dmas = <&edma0 0 71>) with SmartDMA (dmas = <&smartdma>). Signed-off-by: Neil Chen <cheng.chen_1@nxp.com>
bd65887 to
13e4c4d
Compare
Hi @hakehuang, it's related to this PR. This PR adds SmartDMA back-end support to the FlexIO LCDIF driver (MIPI_DBI_NXP_FLEXIO_LCDIF_SMARTDMA). This commit switches frdm_mcxa577's FlexIO parallel LCD from the eDMA path over to the new SmartDMA back-end, so it's using the feature introduced in this PR. That said, do you think it would be cleaner to move the frdm_mcxa577 change into a separate PR? I'm fine either way — please let me know your preference. |
then please update the pr title accordingly |




Adds a SmartDMA-accelerated transfer path to the FlexIO parallel LCD
(
nxp,mipi-dbi-flexio-lcdif) MIPI DBI driver, as an alternative to theexisting generic-DMA (e.g. eDMA) back-end, and enables the parallel LCD
interface (
lcd_par_s035_8080shield) on frdm_mcxa266 and frdm_mcxa366,which previously had no LCD support at all. frdm_mcxa577's existing LCD
support is converted from eDMA to SmartDMA.
Built (
west build) and flashed thesamples/drivers/displaysamplewith
--shield lcd_par_s035_8080on: