Skip to content

Commit 065487a

Browse files
committed
drivers: dma: Drop NXP's PxP driver
Drop the old dma PxP driver to favor the new one in v4z m2m category. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
1 parent 7906f4d commit 065487a

File tree

11 files changed

+0
-426
lines changed

11 files changed

+0
-426
lines changed

drivers/display/Kconfig.mcux_elcdif

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -43,84 +43,4 @@ config MCUX_ELCDIF_FB_SIZE
4343
4-bytes pixel format, e.g. ARGB8888. Applications should change this value
4444
according to the actual used resolution and format to optimize the heap size.
4545

46-
config MCUX_ELCDIF_PXP
47-
bool "Use PXP for display rotation"
48-
depends on MCUX_PXP
49-
depends on (MCUX_ELCDIF_FB_NUM > 0)
50-
help
51-
Use the PXP for display rotation. This requires the LCDIF node
52-
have a "nxp,pxp" devicetree property pointing to the PXP device node.
53-
The ELCDIF will only utilize the PXP to rotate frames if
54-
display_write is called with a framebuffer equal in size to the
55-
display.
56-
57-
if MCUX_ELCDIF_PXP
58-
59-
choice MCUX_ELCDIF_PXP_ROTATE_DIRECTION
60-
default MCUX_ELCDIF_PXP_ROTATE_0
61-
prompt "Rotation angle of PXP"
62-
help
63-
Set rotation angle of PXP. The ELCDIF cannot detect the correct
64-
rotation angle based on the call to display_write, so the user should
65-
configure it here. In order for PXP rotation to work, calls to
66-
display_write MUST supply a framebuffer equal in size to screen width
67-
and height (without rotation applied). Note that the width and
68-
height settings of the screen in devicetree should not be modified
69-
from their values in the default screen orientation when using this
70-
functionality.
71-
72-
config MCUX_ELCDIF_PXP_ROTATE_0
73-
bool "Rotate display by 0 degrees"
74-
help
75-
Rotate display by 0 degrees. Primarily useful for testing,
76-
production applications should simply disable the PXP.
77-
78-
config MCUX_ELCDIF_PXP_ROTATE_90
79-
bool "Rotate display by 90 degrees"
80-
help
81-
Rotate display counter-clockwise by 90 degrees.
82-
For LVGL, this corresponds to a rotation of 270 degrees
83-
84-
config MCUX_ELCDIF_PXP_ROTATE_180
85-
bool "Rotate display by 180 degrees"
86-
help
87-
Rotate display counter-clockwise by 180 degrees
88-
89-
config MCUX_ELCDIF_PXP_ROTATE_270
90-
bool "Rotate display by 270 degrees"
91-
help
92-
Rotate display counter-clockwise by 270 degrees
93-
For LVGL, this corresponds to a rotation of 90 degrees
94-
95-
endchoice
96-
97-
choice MCUX_ELCDIF_PXP_FLIP_DIRECTION
98-
default MCUX_ELCDIF_PXP_FLIP_DISABLE
99-
prompt "Flip direction of PXP"
100-
help
101-
Set flip direction of PXP. The ELCDIF cannot detect the correct
102-
rotation angle based on the call to display_write, so the user should
103-
configure it here. In order for PXP flip to work, calls to
104-
display_write MUST supply a framebuffer equal in size to screen width
105-
and height (without flip applied). Note that the width and
106-
height settings of the screen in devicetree should not be modified
107-
from their values in the default screen orientation when using this
108-
functionality.
109-
110-
config MCUX_ELCDIF_PXP_FLIP_DISABLE
111-
bool "Do not flip display"
112-
113-
config MCUX_ELCDIF_PXP_FLIP_HORIZONTAL
114-
bool "Flip display horizontally"
115-
116-
config MCUX_ELCDIF_PXP_FLIP_VERTICAL
117-
bool "Flip display vertically"
118-
119-
config MCUX_ELCDIF_PXP_FLIP_BOTH
120-
bool "Flib display both horizontally and vertically"
121-
122-
endchoice
123-
124-
endif # MCUX_ELCDIF_PXP
125-
12646
endif # DISPLAY_MCUX_ELCDIF

drivers/dma/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ zephyr_library_sources_ifdef(CONFIG_DMA_MCHP_XEC dma_mchp_xec.c)
3535
zephyr_library_sources_ifdef(CONFIG_DMA_XMC4XXX dma_xmc4xxx.c)
3636
zephyr_library_sources_ifdef(CONFIG_DMA_RPI_PICO dma_rpi_pico.c)
3737
zephyr_library_sources_ifdef(CONFIG_DMA_RENESAS_RZ dma_renesas_rz.c)
38-
zephyr_library_sources_ifdef(CONFIG_MCUX_PXP dma_mcux_pxp.c)
3938
zephyr_library_sources_ifdef(CONFIG_DMA_MAX32 dma_max32.c)
4039
zephyr_library_sources_ifdef(CONFIG_DMA_MCUX_SMARTDMA dma_mcux_smartdma.c)
4140
zephyr_library_sources_ifdef(CONFIG_DMA_ANDES_ATCDMAC300 dma_andes_atcdmac300.c)

drivers/dma/Kconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ source "drivers/dma/Kconfig.ifx_cat1"
6464

6565
source "drivers/dma/Kconfig.intel_lpss"
6666

67-
source "drivers/dma/Kconfig.mcux_pxp"
68-
6967
source "drivers/dma/Kconfig.max32"
7068

7169
source "drivers/dma/Kconfig.mcux_smartdma"

drivers/dma/Kconfig.mcux_pxp

Lines changed: 0 additions & 10 deletions
This file was deleted.

drivers/dma/dma_mcux_pxp.c

Lines changed: 0 additions & 224 deletions
This file was deleted.

dts/bindings/dma/nxp,pxp.yaml

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)