[PATCH 04/10] dt-bindings: add i.MX8M feature controller bindings

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Aug 17 22:19:49 PDT 2022


As a first step, we'll add feature controller support for i.MX8MM and
i.MX8MN. Both can exist in a dual and a solo CPU core variant and the
i.MX8MNL lacks a GPU, while the i.MX8MML lacks a GPU. Define a
dt-bindings header with the associated feature IDs.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/dt-bindings/features/imx8m.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 include/dt-bindings/features/imx8m.h

diff --git a/include/dt-bindings/features/imx8m.h b/include/dt-bindings/features/imx8m.h
new file mode 100644
index 000000000000..4dd85aa5c8fb
--- /dev/null
+++ b/include/dt-bindings/features/imx8m.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) */
+#ifndef __DT_BINDINGS_FEATURES_IMX8M_
+#define __DT_BINDINGS_FEATURES_IMX8M_
+
+#define IMX8M_FEAT_DUMMY	0
+
+#define IMX8M_FEAT_CPU_DUAL	1
+#define IMX8M_FEAT_CPU_QUAD	2
+#define IMX8M_FEAT_VPU		4
+#define IMX8M_FEAT_GPU		4
+
+#define IMX8M_FEAT_END		5
+
+#endif
-- 
2.30.2




More information about the barebox mailing list