video: Add support for Arm's Mali Display Processors
PATCH 1/1 video: Add support for Arm's Mali Display Processors
Add support for Arm Mali Display Processors DP500, DP550 and DP650. Only one layer is being used to display the console or boot logo, even if more layers are supported in the hardware.
--- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/mali_dp.c | 387 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 396 insertions(+) create mode 100644 drivers/video/mali_dp.c
drivers/video/Kconfig +8 -0
@@ -496,6 +496,14 @@ config VIDEO_FSL_DCU_MAX_FB_SIZE_MB source "drivers/video/rockchip/Kconfig" +config VIDEO_ARM_MALIDP + bool "Enable Arm Mali Display Processor support" + depends on DM_VIDEO && OF_CONTROL + select VEXPRESS_CLK + help + This enables support for Arm Ltd Mali Display Processors from + the DP500, DP550 and DP650 family. + config VIDEO_SANDBOX_SDL bool "Enable sandbox video console using SDL" depends on SANDBOX
drivers/video/Makefile +1 -0
@@ -35,6 +35,7 @@ obj-$(CONFIG_NXP_TDA19988) += tda19988.o obj-$(CONFIG_PXA_LCD) += pxa_lcd.o obj-$(CONFIG_S6E8AX0) += s6e8ax0.o obj-$(CONFIG_SCF0403_LCD) += scf0403_lcd.o +obj-$(CONFIG_VIDEO_ARM_MALIDP) += mali_dp.o obj-$(CONFIG_VIDEO_BCM2835) += bcm2835.o obj-$(CONFIG_VIDEO_BROADWELL_IGD) += broadwell_igd.o obj-$(CONFIG_VIDEO_COREBOOT) += coreboot.o
drivers/video/mali_dp.c new file +387 -0
387 lines not on this page · raw message
Signature · 1 line
2.18.0
PATCH 1/1 video: Add support for Arm's Mali Display Processors
Quoted 11 lines · On Mon, 17 Sep 2018 17:56:46 +0100 Liviu Dudau Liviu.Dudau at foss.arm.com…
Add support for Arm Mali Display Processors DP500, DP550 and DP650. Only one layer is being used to display the console or boot logo, even if more layers are supported in the hardware.
Signed-off-by Liviu Dudau <[email protected]>--- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/mali_dp.c | 387 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 396 insertions(+) create mode 100644 drivers/video/mali_dp.c
Please check the patches using ./scripts/checkpatch.pl and fix errors/warnings where it makes sense. This patch has some issues, too.
Thanks,
--
Anatolij
PATCH v2 1/1 video: Add support for Arm's Mali Display Processors
Add support for Arm Mali Display Processors DP500, DP550 and DP650. Only one layer is being used to display the console or boot logo, even if more layers are supported in the hardware.
---
Changelog:
- v2: Added MAINTAINERS entry and fixed checkpatch warnings.
MAINTAINERS | 6 + drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/mali_dp.c | 405 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 420 insertions(+) create mode 100644 drivers/video/mali_dp.c
MAINTAINERS +6 -0
@@ -449,6 +449,12 @@ F: cmd/log.c F: test/log/log_test.c F: test/py/tests/test_log.py +MALI DISPLAY PROCESSORS +M: Liviu Dudau <[email protected]> +S: Supported +T: git git://github.com/ARM-software/u-boot.git +F: drivers/video/mali_dp.c + MICROBLAZE M: Michal Simek <[email protected]> S: Maintained
drivers/video/Kconfig +8 -0
@@ -497,6 +497,14 @@ config VIDEO_FSL_DCU_MAX_FB_SIZE_MB source "drivers/video/rockchip/Kconfig" +config VIDEO_ARM_MALIDP + bool "Enable Arm Mali Display Processor support" + depends on DM_VIDEO && OF_CONTROL + select VEXPRESS_CLK + help + This enables support for Arm Ltd Mali Display Processors from + the DP500, DP550 and DP650 family. + config VIDEO_SANDBOX_SDL bool "Enable sandbox video console using SDL" depends on SANDBOX
drivers/video/Makefile +1 -0
@@ -35,6 +35,7 @@ obj-$(CONFIG_NXP_TDA19988) += tda19988.o obj-$(CONFIG_PXA_LCD) += pxa_lcd.o obj-$(CONFIG_S6E8AX0) += s6e8ax0.o obj-$(CONFIG_SCF0403_LCD) += scf0403_lcd.o +obj-$(CONFIG_VIDEO_ARM_MALIDP) += mali_dp.o obj-$(CONFIG_VIDEO_BCM2835) += bcm2835.o obj-$(CONFIG_VIDEO_BROADWELL_IGD) += broadwell_igd.o obj-$(CONFIG_VIDEO_COREBOOT) += coreboot.o
drivers/video/mali_dp.c new file +405 -0
405 lines not on this page · raw message
Signature · 1 line
2.18.0
PATCH v2 1/1 video: Add support for Arm's Mali Display Processors
Quoted 9 lines · On Fri, 28 Sep 2018 13:50:53 +0100 Liviu Dudau Liviu.Dudau at foss.arm.com…
Add support for Arm Mali Display Processors DP500, DP550 and DP650. Only one layer is being used to display the console or boot logo, even if more layers are supported in the hardware.
Signed-off-by Liviu Dudau <[email protected]>---
Changelog:
- v2: AddedMAINTAINERSentry and fixed checkpatch warnings.
Quoted 6 lines
MAINTAINERS | 6 + drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/mali_dp.c | 405 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 420 insertions(+) create mode 100644 drivers/video/mali_dp.c
Applied to u-boot-video/master, thanks!
--
Anatolij