From 3c23ff051de1bf7ed42e5cfb375f60038b09c007 Mon Sep 17 00:00:00 2001 From: Daniel DeGrasse Date: Wed, 5 Jul 2023 14:56:01 -0500 Subject: [PATCH] boards: arm: mimxrt1060_evk: enable PXP rotation for LVGL sample Enable PXP rotation for LVGL sample. The PXP is configured to rotate by 0 degrees, so the original image is left untouched. Signed-off-by: Daniel DeGrasse --- boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts | 4 ++++ samples/subsys/display/lvgl/boards/mimxrt1060_evk.conf | 8 ++++++++ 2 files changed, 12 insertions(+) create mode 100644 samples/subsys/display/lvgl/boards/mimxrt1060_evk.conf diff --git a/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts b/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts index d5fc71d7cf..ad24991d5e 100644 --- a/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts +++ b/boards/arm/mimxrt1060_evk/mimxrt1060_evk.dts @@ -323,3 +323,7 @@ arduino_spi: &lpspi1 { pinctrl-0 = <&pinmux_swo>; pinctrl-names = "default"; }; + +&pxp { + status = "okay"; +}; diff --git a/samples/subsys/display/lvgl/boards/mimxrt1060_evk.conf b/samples/subsys/display/lvgl/boards/mimxrt1060_evk.conf new file mode 100644 index 0000000000..33e1d5275a --- /dev/null +++ b/samples/subsys/display/lvgl/boards/mimxrt1060_evk.conf @@ -0,0 +1,8 @@ +# Copyright 2023 NXP +# SPDX-License-Identifier: Apache-2.0 + +# Enable PXP DMA engine and set rotation angle to 0 degrees. +# This allows us to verify the DMA driver functions without altering +# the output image +CONFIG_DMA=y +CONFIG_MCUX_ELCDIF_PXP=y