Skip to content

Commit

Permalink
recipes-kernel: kernel: Update recipes
Browse files Browse the repository at this point in the history
Signed-off-by: Valentin Raevsky <[email protected]>
  • Loading branch information
vraevsky committed Mar 26, 2022
1 parent cf8b913 commit 544a448
Show file tree
Hide file tree
Showing 7 changed files with 3,610 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes-kernel/linux/compulab/imx8mp.inc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@ SRC_URI_append = " \
file://0003-imx8mp-compulab-Add-usbdev-device-tree.patch \
file://0004-imx8mp-compulab-Add-rpmsg-device-tree.patch \
file://0005-imx8mp-compulab-Enable-RAMDISK-support.patch \
file://0006-compulab-dts-Refactoring-of-the-thermal-dtbs.patch \
file://0007-compulab-dts-Refactoring-of-the-csi1-2.patch \
file://0008-compulab-dts-Refactoring-of-the-csi1-2-1.patch \
file://0009-ucm-imx219-Fix-reset-gpio.patch \
file://0010-imx477-Add-driver-for-Sony-IMX477-sensor.patch \
file://0011-compulab-ucm-dts-Add-IMX477-sample-device-tree.patch \
file://defconfig \
"
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
From 5baa77dce1db451c07a0a6e9ae0bfec8ebd5496e Mon Sep 17 00:00:00 2001
From: Valentin Raevsky <[email protected]>
Date: Wed, 23 Mar 2022 12:10:51 +0200
Subject: [PATCH] compulab: dts: Refactoring of the thermal dtbs

Signed-off-by: Valentin Raevsky <[email protected]>
---
.../compulab/compulab-imx8m-plus-thermal.dtsi | 29 +++++++++++++++++++
.../dts/compulab/som-imx8m-plus-thermal.dts | 10 +------
.../dts/compulab/ucm-imx8m-plus-thermal.dts | 10 +------
3 files changed, 31 insertions(+), 18 deletions(-)
create mode 100644 arch/arm64/boot/dts/compulab/compulab-imx8m-plus-thermal.dtsi

diff --git a/arch/arm64/boot/dts/compulab/compulab-imx8m-plus-thermal.dtsi b/arch/arm64/boot/dts/compulab/compulab-imx8m-plus-thermal.dtsi
new file mode 100644
index 000000000000..e6b2a1a24aa4
--- /dev/null
+++ b/arch/arm64/boot/dts/compulab/compulab-imx8m-plus-thermal.dtsi
@@ -0,0 +1,29 @@
+/*
+ * Copyright 2022 CompuLab
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+&cpu_alert0 {
+ temperature = <125000>;
+};
+
+&cpu_crit0 {
+ temperature = <155000>;
+};
+
+&soc_alert0 {
+ temperature = <125000>;
+};
+
+&soc_crit0 {
+ temperature = <155000>;
+};
diff --git a/arch/arm64/boot/dts/compulab/som-imx8m-plus-thermal.dts b/arch/arm64/boot/dts/compulab/som-imx8m-plus-thermal.dts
index f7e80857cc54..7b1b385924a2 100644
--- a/arch/arm64/boot/dts/compulab/som-imx8m-plus-thermal.dts
+++ b/arch/arm64/boot/dts/compulab/som-imx8m-plus-thermal.dts
@@ -15,17 +15,9 @@
/dts-v1/;

#include "som-imx8m-plus.dts"
+#include "compulab-imx8m-plus-thermal.dtsi"

/ {
model = "CompuLab SOM-iMX8M-Plus (thermal)";
compatible = "compulab,som-imx8m-plus", "fsl,imx8mp";
};
-
-&cpu_alert0 {
- temperature = <125000>;
-};
-
-&cpu_crit0 {
- temperature = <155000>;
-};
-
diff --git a/arch/arm64/boot/dts/compulab/ucm-imx8m-plus-thermal.dts b/arch/arm64/boot/dts/compulab/ucm-imx8m-plus-thermal.dts
index 3ff902806362..97a230766e51 100644
--- a/arch/arm64/boot/dts/compulab/ucm-imx8m-plus-thermal.dts
+++ b/arch/arm64/boot/dts/compulab/ucm-imx8m-plus-thermal.dts
@@ -15,17 +15,9 @@
/dts-v1/;

#include "ucm-imx8m-plus.dts"
+#include "compulab-imx8m-plus-thermal.dtsi"

/ {
model = "CompuLab UCM-iMX8M-Plus (thermal)";
compatible = "compulab,ucm-imx8m-plus", "fsl,imx8mp";
};
-
-&cpu_alert0 {
- temperature = <125000>;
-};
-
-&cpu_crit0 {
- temperature = <155000>;
-};
-
--
2.17.1

Loading

0 comments on commit 544a448

Please sign in to comment.