From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sanchayan Maity Date: Thu, 30 Mar 2017 12:44:00 +0530 Subject: [U-Boot] [PATCH v2 0/6] Introduce DCU support for Vybrid Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello, This patchset adds support for the Freescale/NXP Display Controller Unit (DCU4) for Vybrid which is found on the LS1021A and Vybrid SoC. Patch series is based on top of latest u-boot master. First patch in the series renames existing CONFIG_FSL_DCU_FB to CONFIG_VIDEO_FSL_DCU_FB and then converts it to Kconfig. All board defconfigs affected by this patch have been compile tested. Patch 2-5 introduce incremental changes for supporting DCU on Vybrid. Patch 6 in the series adds DCU support to Vybrid and has been tested on Toradex Colibri VF61 module. Will appreciate it if the maintainers or users of LS1021 SoC can test this to check and report regressions if any. Changes since v1: 1. Rebase of top of latest u-boot master 2. Fix a bug present in v1 patch series which resulted in noisy screen when switching from u-boot to Linux. Patch fixed is second in this series. v1: https://lists.denx.de/pipermail/u-boot/2017-February/280281.html Thanks & Regards, Sanchayan. Sanchayan Maity (1): Convert CONFIG_FSL_DCU_FB to Kconfig Stefan Agner (5): video: fsl_dcu_fb: fix framebuffer to the end of memory video: fsl_dcu_fb: Enable pixel clock after initialization video: fsl_dcu_fb: Update DCU layers for Vybrid video: fsl_dcu_fb: add additional modes for DCU board: toradex: colibri_vf: Add DCU support for Colibri Vybrid arch/arm/cpu/armv7/ls102xa/soc.c | 2 +- arch/arm/include/asm/arch-ls102xa/config.h | 1 + arch/arm/include/asm/arch-vf610/crm_regs.h | 14 +++ arch/arm/include/asm/arch-vf610/imx-regs.h | 2 + arch/arm/include/asm/arch-vf610/iomux-vf610.h | 31 ++++++ arch/arm/include/asm/imx-common/iomux-v3.h | 3 + board/freescale/ls1021aiot/Makefile | 2 +- board/freescale/ls1021aqds/Makefile | 2 +- board/freescale/ls1021atwr/Makefile | 2 +- board/toradex/colibri_vf/Makefile | 1 + board/toradex/colibri_vf/colibri_vf.c | 76 ++++++++++--- board/toradex/colibri_vf/dcu.c | 38 +++++++ configs/colibri_vf_defconfig | 4 + configs/ls1021aqds_ddr4_nor_defconfig | 1 + configs/ls1021aqds_ddr4_nor_lpuart_defconfig | 1 + configs/ls1021aqds_nand_defconfig | 1 + configs/ls1021aqds_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021aqds_nor_defconfig | 1 + configs/ls1021aqds_nor_lpuart_defconfig | 1 + configs/ls1021aqds_qspi_defconfig | 1 + configs/ls1021aqds_sdcard_ifc_defconfig | 1 + configs/ls1021aqds_sdcard_qspi_defconfig | 1 + configs/ls1021atwr_nor_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_nor_defconfig | 1 + configs/ls1021atwr_nor_lpuart_defconfig | 1 + configs/ls1021atwr_qspi_defconfig | 1 + .../ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig | 1 + configs/ls1021atwr_sdcard_ifc_defconfig | 1 + configs/ls1021atwr_sdcard_qspi_defconfig | 1 + drivers/video/Kconfig | 15 +++ drivers/video/Makefile | 2 +- drivers/video/fsl_dcu_fb.c | 123 ++++++++++++++++++--- include/configs/colibri_vf.h | 18 ++- include/configs/ls1021aqds.h | 4 +- include/configs/ls1021atwr.h | 4 +- include/fsl_dcu_fb.h | 1 + scripts/config_whitelist.txt | 1 - 37 files changed, 319 insertions(+), 43 deletions(-) create mode 100644 board/toradex/colibri_vf/dcu.c -- 2.12.1