Skip to contentSkip to conversation

mx7ulp: Add support for Embedded Artists COM board

PATCH Superseded Fabio Estevam 2 participants 3 messages Dec 9, 2019 – Dec 29, 2019

Subsystems (3)
lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v5 1/1 mx7ulp: Add support for Embedded Artists COM board

The Embedded Artists COM board is based on NXP i.MX7ULP.

It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK).

Add the initial support for the board.

---
Changes since v4:
- Lower the DDR frequency in DCD so that memtester can pass

 arch/arm/dts/Makefile            |   3 +-
 arch/arm/dts/imx7ulp-com.dts     |  90 ++++++++++++++++++++
 arch/arm/mach-imx/mx7ulp/Kconfig |   6 ++
 board/ea/mx7ulp_com/Kconfig      |  12 +++
 board/ea/mx7ulp_com/MAINTAINERS  |   6 ++
 board/ea/mx7ulp_com/Makefile     |   6 ++
 board/ea/mx7ulp_com/imximage.cfg | 137 +++++++++++++++++++++++++++++++
 board/ea/mx7ulp_com/mx7ulp_com.c |  48 +++++++++++
 configs/mx7ulp_com_defconfig     |  60 ++++++++++++++
 include/configs/mx7ulp_com.h     | 103 +++++++++++++++++++++++
 10 files changed, 470 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/imx7ulp-com.dts
 create mode 100644 board/ea/mx7ulp_com/Kconfig
 create mode 100644 board/ea/mx7ulp_com/MAINTAINERS
 create mode 100644 board/ea/mx7ulp_com/Makefile
 create mode 100644 board/ea/mx7ulp_com/imximage.cfg
 create mode 100644 board/ea/mx7ulp_com/mx7ulp_com.c
 create mode 100644 configs/mx7ulp_com_defconfig
 create mode 100644 include/configs/mx7ulp_com.h
arch/arm/dts/Makefile +2 -1
index d8846df1bd..9a92de71eb 100644
@@ -657,7 +657,8 @@ dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
 	imx7d-pico-hobbit.dtb
 
 
-dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-evk.dtb
+dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-com.dtb \
+	imx7ulp-evk.dtb
 
 dtb-$(CONFIG_ARCH_IMX8) += \
 	fsl-imx8qm-apalis.dtb \
arch/arm/dts/imx7ulp-com.dts new file +90 -0

90 lines not on this page · raw message

arch/arm/mach-imx/mx7ulp/Kconfig +6 -0
index 138c58363f..6680f856c5 100644
@@ -15,6 +15,11 @@ choice
 	prompt "MX7ULP board select"
 	optional
 
+config TARGET_MX7ULP_COM
+	bool "Support MX7ULP COM board"
+	select MX7ULP
+	select SYS_ARCH_TIMER
+
 config TARGET_MX7ULP_EVK
 	bool "Support mx7ulp EVK board"
 	select MX7ULP
@@ -22,6 +27,7 @@ config TARGET_MX7ULP_EVK
 
 endchoice
 
+source "board/ea/mx7ulp_com/Kconfig"
 source "board/freescale/mx7ulp_evk/Kconfig"
 
 endif
board/ea/mx7ulp_com/Kconfig new file +12 -0
new file mode 100644
index 0000000000..90883aced4
@@ -0,0 +1,12 @@
+if TARGET_MX7ULP_COM
+
+config SYS_BOARD
+	default "mx7ulp_com"
+
+config SYS_VENDOR
+	default "ea"
+
+config SYS_CONFIG_NAME
+	default "mx7ulp_com"
+
+endif
board/ea/mx7ulp_com/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000000..3f69511b1a
@@ -0,0 +1,6 @@
+MX7ULPCOM BOARD
+M:	Fabio Estevam <[email protected]>
+S:	Maintained
+F:	board/ea/mx7ulp_com/
+F:	include/configs/mx7ulp_com.h
+F:	configs/mx7ulp_com_defconfig
board/ea/mx7ulp_com/Makefile new file +6 -0
new file mode 100644
index 0000000000..b3b230b172
@@ -0,0 +1,6 @@
+# (C) Copyright 2016 Freescale Semiconductor, Inc.
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y  := mx7ulp_com.o
board/ea/mx7ulp_com/imximage.cfg new file +137 -0

137 lines not on this page · raw message

board/ea/mx7ulp_com/mx7ulp_com.c new file +48 -0

48 lines not on this page · raw message

configs/mx7ulp_com_defconfig new file +60 -0

60 lines not on this page · raw message

include/configs/mx7ulp_com.h new file +103 -0

103 lines not on this page · raw message

Signature · 1 line
2.17.1
author reviewer
#1 lore raw

PATCH v5 1/1 mx7ulp: Add support for Embedded Artists COM board

Hi Stefano,

Quoted 9 lines · Fabio Estevam

The Embedded Artists COM board is based on NXP i.MX7ULP.

It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK).

Add the initial support for the board.

Could this one be applied for 2020.01?

Thanks

#2 lore raw

PATCH v5 1/1 mx7ulp: Add support for Embedded Artists COM board

In reply to Fabio Estevam
Quoted 5 lines

The Embedded Artists COM board is based on NXP i.MX7ULP.
It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK). Add the initial support for the board.

Applied to u-boot-imx, -next, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================