@@ -43,84 +43,4 @@ config MCUX_ELCDIF_FB_SIZE
43
43
4-bytes pixel format, e.g. ARGB8888. Applications should change this value
44
44
according to the actual used resolution and format to optimize the heap size.
45
45
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
-
126
46
endif # DISPLAY_MCUX_ELCDIF
0 commit comments