Skip to contentSkip to conversation

imx:display5: Add support for LWN's DISPLAY5 board (for v2017.11-rc1)

PATCH Superseded Lukasz Majewski 1 participant 1 message Oct 3, 2017

Subsystems (3)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imx:display5: Add support for LWN's DISPLAY5 board (for v2017.11-rc1)

This commit provides support for LWN's IMX6Q based DISPLAY5 board.

---

 arch/arm/dts/imx6q-display5.dts     |  18 ++
 arch/arm/mach-imx/mx6/Kconfig       |   7 +
 board/liebherr/display5/Kconfig     |  18 ++
 board/liebherr/display5/MAINTAINERS |   7 +
 board/liebherr/display5/Makefile    |  11 +
 board/liebherr/display5/common.c    | 113 +++++++++
 board/liebherr/display5/common.h    |  42 ++++
 board/liebherr/display5/display5.c  | 440 ++++++++++++++++++++++++++++++++++++
 board/liebherr/display5/spl.c       | 247 ++++++++++++++++++++
 configs/display5_defconfig          |  62 +++++
 configs/display5_factory_defconfig  |  76 +++++++
 include/configs/display5.h          | 424 ++++++++++++++++++++++++++++++++++
 12 files changed, 1465 insertions(+)
 create mode 100644 arch/arm/dts/imx6q-display5.dts
 create mode 100644 board/liebherr/display5/Kconfig
 create mode 100644 board/liebherr/display5/MAINTAINERS
 create mode 100644 board/liebherr/display5/Makefile
 create mode 100644 board/liebherr/display5/common.c
 create mode 100644 board/liebherr/display5/common.h
 create mode 100644 board/liebherr/display5/display5.c
 create mode 100644 board/liebherr/display5/spl.c
 create mode 100644 configs/display5_defconfig
 create mode 100644 configs/display5_factory_defconfig
 create mode 100644 include/configs/display5.h
arch/arm/dts/imx6q-display5.dts new file +18 -0
new file mode 100644
index 0000000..50347ff
@@ -0,0 +1,18 @@
+/*
+ * Copyright 2017
+ * Lukasz Majewski, DENX Software Engineering, lukma at denx.de
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ */
+
+/dts-v1/;
+
+#include "imx6q.dtsi"
+
+/ {
+	model = "Liebherr (LWN) display5 i.MX6 Quad Board";
+	compatible = "lwn,display5", "fsl,imx6q";
+};
arch/arm/mach-imx/mx6/Kconfig +7 -0
index 540f2b2..0c6b8f1 100644
@@ -129,6 +129,12 @@ config TARGET_COLIBRI_IMX6
 	select DM_SERIAL
 	select DM_THERMAL
 
+config TARGET_DISPLAY5
+	bool "LWN DISPLAY5 board"
+	select SUPPORT_SPL
+	select DM
+	select DM_SERIAL
+
 config TARGET_EMBESTMX6BOARDS
 	bool "embestmx6boards"
 	select BOARD_LATE_INIT
@@ -449,6 +455,7 @@ source "board/phytec/pfla02/Kconfig"
 source "board/gateworks/gw_ventana/Kconfig"
 source "board/kosagi/novena/Kconfig"
 source "board/samtec/vining_2000/Kconfig"
+source "board/liebherr/display5/Kconfig"
 source "board/liebherr/mccmon6/Kconfig"
 source "board/logicpd/imx6/Kconfig"
 source "board/seco/Kconfig"
board/liebherr/display5/Kconfig new file +18 -0
new file mode 100644
index 0000000..b096c89
@@ -0,0 +1,18 @@
+if TARGET_DISPLAY5
+
+config SYS_CPU
+	default "armv7"
+
+config SYS_BOARD
+	default "display5"
+
+config SYS_VENDOR
+	default "liebherr"
+
+config SYS_SOC
+	default "mx6"
+
+config SYS_CONFIG_NAME
+	default "display5"
+
+endif
board/liebherr/display5/MAINTAINERS new file +7 -0
new file mode 100644
index 0000000..5217831
@@ -0,0 +1,7 @@
+DISPLAY5 BOARD
+M:	Lukasz Majewski <[email protected]>
+S:	Maintained
+F:	board/liebherr/display5/
+F:	include/configs/display5.h
+F:	configs/display5_defconfig
+F:	configs/display5_factory_defconfig
board/liebherr/display5/Makefile new file +11 -0
new file mode 100644
index 0000000..f934672
@@ -0,0 +1,11 @@
+#
+# Copyright (C) 2017, DENX Software Engineering
+# Lukasz Majewski <[email protected]>
+#
+# SPDX-License-Identifier:    GPL-2.0+
+#
+ifdef CONFIG_SPL_BUILD
+obj-y = common.o spl.o
+else
+obj-y := common.o display5.o
+endif
board/liebherr/display5/common.c new file +113 -0

113 lines not on this page · raw message

board/liebherr/display5/common.h new file +42 -0

42 lines not on this page · raw message

board/liebherr/display5/display5.c new file +440 -0

440 lines not on this page · raw message

board/liebherr/display5/spl.c new file +247 -0

247 lines not on this page · raw message

configs/display5_defconfig new file +62 -0

62 lines not on this page · raw message

configs/display5_factory_defconfig new file +76 -0

76 lines not on this page · raw message

include/configs/display5.h new file +424 -0

424 lines not on this page · raw message

Signature · 1 line
2.1.4