From 113e78e0f71e8552bd076b00fc24e12da5cb75ac Mon Sep 17 00:00:00 2001
From: gitbot <gitbot@garz-fricke.com>
Date: Sat, 30 Jul 2022 07:21:04 +0000
Subject: [PATCH] Integrate meta-seconorth-machine/fix_defconfig_for_mx8m

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/949a164662829a64850634b86b02f9b67bd81468

linux-imx: Adapt comment to to new override syntax

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/ef396b45d772ceb95b9092766d4cd9c1d3d1c139

linux: defconfig: imx6ull: Add GPIO and PWM beeper as module

Add support for GPIO and PWM beepers. This enables the on-board beeper
on the SECO Northern Europe NALLLINO platform.

BCS 746-000992

(cherry picked from commit ad7371e069ae0cd3c706fe635c272cfad29d8984)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/2299493bd22d2b31d934c339b404b0b177e3f33c

mxt-touch: Pull support for atmel mxt touch from dunfell branch

* imx6:mxt-touch: Add kernel support for atmel mxt touch
  BCS 746-000886
  (cherry picked from commit 82cbcf67a86c10ea3719637ae7b4e87fe58d0944)

* maxTouch:udev: Add udev rule to skip maxTouch fwr loading fallback

  The current version of the atmel_mxt_ts driver tries to load a controller
  configuration on each driver probe. However, if no config is provided or
  can't be provided because the driver is built-in, the driver probing process
  is delayed by 60 seconds because of a sysfs firmware load fallback.
  Added a udev rule that automatically cancels the sysfs firmware fallback.

  BCS 746-000892
  (cherry picked from commit 55a34692b3cff31cb0f9ca3a400af843fa74f0b8)

* atmel-mxt: convert recipe to new syntax

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/ee5be9c188841c09c0a05a947174ca702d79e339

bootscript:dt: Added devicetree description file for i.MX8

Added an description file with the default devicetree for i.MX8
devices.
The file is parsed/used by the post-install scripts to generate
the boot configuration.

BCS 746-000877

(cherry picked from commit 283c6dfbad04132827135106bbc207393337500d)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/1c70a750bd91b0f730f2203420e40064e7ae4c92

bootscripts: Clean-up and reformat

Changed the copyright and URL in the bootscript recipes.
Also did a clean-up/reformat of the recipes.

(cherry picked from commit ba9e87ec884254967466f4a4dc1d9dd93063c33b)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/055622f76a482f7b4608b6a52805ea4c3d4b7995

machine:tanaro: Added RTC overlays

In the future, the TANARO will be produced with two possible
RTC variants. Both variants are present in the main devicetree
but are disabled by default. During the installation, one of
the RTCs will be activated via one of the two devicetree overlays.

BCS 746-000877

(cherry picked from commit df176aaef0f5eb459ea995bafb19a79a895b6a97)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/6baaa61d0acbf9ffe3a7c73c3dccd334174209ee

machine: Clean-up of i.MX8MM machine

Also small changes to the Kernel include file.

(cherry picked from commit 49cec4414dda982596e32c16a9ee0cba908856cc)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/44f0c4d698789af67bb59a1f2eaf499bf6fc6574

SIS: Fix touch-up issue

Sometimes we get no touchup signal in Qt.
This was seen with the QML drag-and-drop example.

Looking at the output of evtest of the sis input device, you see
different behavior for a working and a missing touch-up.

Failed:
<pre>
...
Event: time 1587646331.383580, type 3 (EV_ABS), code 0 (ABS_X), value 2365
Event: time 1587646331.383580, type 3 (EV_ABS), code 1 (ABS_Y), value 2894
Event: time 1587646331.383580, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 2365
Event: time 1587646331.383580, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 2894
Event: time 1587646331.383580, -------------- SYN_REPORT ------------
Event: time 1587646331.402073, type 3 (EV_ABS), code 0 (ABS_X), value 2367
Event: time 1587646331.402073, type 3 (EV_ABS), code 1 (ABS_Y), value 2887
Event: time 1587646331.402073, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1587646331.402073, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 0
Event: time 1587646331.402073, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 2367
Event: time 1587646331.402073, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 2887
Event: time 1587646331.402073, -------------- SYN_REPORT ------------
</pre>

Good
<pre>
Event: time 1587646407.907930, -------------- SYN_REPORT ------------
Event: time 1587646407.922769, type 3 (EV_ABS), code 0 (ABS_X), value 790
Event: time 1587646407.922769, type 3 (EV_ABS), code 1 (ABS_Y), value 1747
Event: time 1587646407.922769, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 790
Event: time 1587646407.922769, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1747
Event: time 1587646407.922769, -------------- SYN_REPORT ------------
Event: time 1587646407.945577, type 3 (EV_ABS), code 0 (ABS_X), value 840
Event: time 1587646407.945577, type 3 (EV_ABS), code 1 (ABS_Y), value 1918
Event: time 1587646407.945577, type 3 (EV_ABS), code 53 (ABS_MT_POSITION_X), value 840
Event: time 1587646407.945577, type 3 (EV_ABS), code 54 (ABS_MT_POSITION_Y), value 1918
Event: time 1587646407.945577, -------------- SYN_REPORT ------------
Event: time 1587646407.968810, type 3 (EV_ABS), code 24 (ABS_PRESSURE), value 0
Event: time 1587646407.968810, type 3 (EV_ABS), code 58 (ABS_MT_PRESSURE), value 0
Event: time 1587646407.968810, type 3 (EV_ABS), code 57 (ABS_MT_TRACKING_ID), value -1
Event: time 1587646407.968810, -------------- SYN_REPORT ------------
</pre>

It seems that the @ABS_MT_TRACKING_ID value -1@ is missing somehow.

This might be the case when the driver sends a valid coodinate but also
states that the pressure is 0.

Fix this by sending a touch-up (all ABS_PRESSUE, ABS_MT_PRESSURE, and
ABS_BUTTON 0 and ABS_MT_TRACKING_ID -1) when pressure is 0.

BCS 746-000871

(cherry picked from commit 0326de4b2c2a5ca6e52b84e0bfe12f88123aeedd)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/b3174f95bd4c6997edbdc376bc2b8e148fc7a258

mxt-touch: Add kernel support for atmel mxt touch

BCS 746-000857

(cherry picked from commit 4bf6746db6f04702f190840b24f152c703bc162e)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/484d82aae38bb047b5dad72a5a5547d57e514147

linux-guf:imx6ull: Add MQS and simple-amplifier

Add the iMX Medium Quality Sound driver and the simple amplifier driver
to the defconfig. Together with the latest kernel changes for NALLINO
this adds sound support for the NALLINO board.

BCS 746-000796

(cherry picked from commit 69fb720b1d7920bb0ad7235d08b9be7162117ad5)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/100298bf10f27204755f11986a23b04833e1a8e0

LICENSE: Add Apache 2.0 license file

According to our company licensing policy for software the Yocto layers
should be licensed under the Apache 2.0 license.
Adapt the LICENSE-2.0.txt file from https://www.apache.org/licenses/LICENSE-2.0.txt
as described in the APPENDIX.

Add the license as LICENSE.txt file to the layer repository.

BCS 746-000657

(cherry picked from commit 66d98abb1b077a421da78edc6ec35643ac00b852)

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/afa7b170ab10497c1c271bed3d5b88b4740f9490

kernel:mx8m: Activated VPU related modules/drivers

Activated/Enabled modules/drivers that might be related to the
Hantro VPU and DRM.

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/fa90749d95cc9b3ef91f1e12b2dfacecd0fbd762

machine:mx8m: Updated preferred gstreamer version 1.18.5

Set the preferred gstreamer version for the i.MX8M devices to
1.18.5.

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/9cd9685137e206bcedf07b2ebdae5382c1a10557

machine:mx8m: Clean-up of preferred kernel

The mx8mm had a duplicate definition of the preferred kernel provider
and version.
Also the preferred version in the include for the i.MX8 devices
has been changed to the correct name (linux-imx).

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/055be06c4586bae2008ddd764c7237914f3da77d

kernel:config: Moved kernel defconfig to correct folder

The defconfig for the 5.15.5 kernel is used by the mx8mm and mx8mp.
The location "imx8mguf" is only accessible by the mx8mm. To make
the config available to the mx8mp, the config folder was renamed.

Note: imx8mguf is the machine name of the mx8mm. This is a known bug
and will be fixed in the future.

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/dbd4b2e90ddb11abebabc1b731bfec5e530f9c68

kernel:mx8m: Set the active kernel to 5.15.5

For the i.MX8 devices, we use the 5.15.5 Yocto kernel provided by NXP.

--

Commit: https://git.seco.com/seco-ne/yocto/layers/meta-seconorth-machine/-/commit/c7a8ccc4de58a04284e194400529db00fd4650af

machine:mx8m:dt: Fixed the devicetrees for mx8mm/mx8mp

In Yocto Kirkstone, we use the 5.15.5 kernel from NXP for the i.MX8
devices. In the kernel repository we moved all G&F and K&K devicetrees
to a new folder called seconorth.
Edit the machine configurations to reflect this change and build the
correct devicetrees.
---
 default.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/default.xml b/default.xml
index 2559027b..2e17c29a 100644
--- a/default.xml
+++ b/default.xml
@@ -21,7 +21,7 @@
     <project name="meta-qt5.git"                    revision="5b71df60e523423b9df6793de9387f87a149ac42"  remote="qt5-github"   path="sources/meta-qt5"                  />
     <project name="meta-freescale.git"              revision="2fb1ce365338126aad365012ebb913b3e4a9f1be"  remote="fslc"         path="sources/meta-freescale"            />
     <project name="meta-freescale-distro.git"       revision="fc15f5003043da23212596be7366ae2547c308ad"  remote="fslc"         path="sources/meta-freescale-distro"     />
-    <project name="layers/meta-seconorth-machine"   revision="819fdb21d961be7ed46a7c822651200ec4aa8952"  remote="seco-ne"      path="sources/meta-seconorth-machine"    />
+    <project name="layers/meta-seconorth-machine"   revision="949a164662829a64850634b86b02f9b67bd81468"  remote="seco-ne"      path="sources/meta-seconorth-machine"    />
     <project name="layers/meta-seconorth-distro"    revision="597c7a4975a0d88205ead09fb86fbb3cdbdcf164"  remote="seco-ne"      path="sources/meta-seconorth-distro"     />
     <project name="layers/meta-seconorth-nogplv3"   revision="546c2e50c656581655b538a3e08c797d9bd8eaca"  remote="seco-ne"      path="sources/meta-seconorth-nogplv3"    />
     <project name="config"                          revision="d3eac4869dd26cdbcc50557c209b858330296505"  remote="seco-ne"      path=".conf"                              >
-- 
GitLab