From c3485cf9e98cc91a68732b532ba199188f357f0c Mon Sep 17 00:00:00 2001
From: gitbot <gitbot@seco.com>
Date: Fri, 29 Sep 2023 07:42:08 +0000
Subject: [PATCH] Integrate
 linux-imx-kuk/linux-5.15.32-seco_kuk_patched-devtree

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/da6a2653a629bd843c098e4f5cba8cbcd72aaf8d

Merge branch 'linux-5.15.32-seco_kuk-patches' of https://git.seco.com/seco-ne/kernel/linux-imx-kuk into linux-5.15.32-seco_kuk-patches

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/cd8109e74388bef50a45509e193716494caa0ab4

The GuF- and KuK-versions of trizeps8plus.dtsi has been unified

Where device nodes differed, both versions have been kept and the (suspected)
worse one has been deactivated by '#if 0'.
There is no distinction between versions of the module. Everything is done
for the base version. Differences between versions are handled by a separate
.dtsi file (the GuF way).
The pinmuxing for display- and touch-pins has been removed. This is done
by the baseboard's .dtsi file.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/48fc2f08c65f7b1652c20a3d25ba5a2ddfb0d8b3

The pinmuxing for for enable- and touch-stuff has been moved to the
baseboards .dtsi file to keep necessary changes halfway manageable.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/633f7ddbd052bf1e5a597026cd99c4dbf470dcb6

The panel_ldvs-node has been removed from the SOM's .dtsi-file

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/e61bd4db14b88a29e0624536604d4a677887ab7c

Pinmuxing for DISPLAY_ENABLE and touch-stuff is only done is the macros are
defined. HDMI- or headless systems do not need them, so thes can let them
undefined and the pinmuxing is not done.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/3e7531951c54d3a10784d1c2ae6572e867f7f74c

Pinmuxing for DISPLAY_ENABLE removed from trizeps8mini.dtsi
because HDMI and headless systems have no need for this.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/3fab33756a51ed7677bf9545c0a8ddb3647bcb80

Since the defines for DISPLAY_ENABLE, TOUCH_INT and TOUCH_ENABLE
(aka. TOUCH_RESET) are baseboard/display-dependant they have been moved
from the SOM's .dtsi-file to the .dtb-file that ties things together.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/36429d8bb2bc138ce41ea94106998cbe1c6ba73a

assigned-clocks and fsl,sai-enable-bclk-with-mclk flags for sai2 from
trizeps8plus_v1r3.dtsi integrated into trizeps8plus-kuk.dtsi to make
audio work

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/998f20b2e3839f4c60b012d53bd3fc47d1662792

Device-trees and device-tree-includes for trizeps8plus, pconxs,
atm0700-rgb-display and atm0700l61dt-lvds-display copied from kernel 5.10.9,
corrected and slightly cleaned up.
trizeps8plus-kuk.dtsi should be merged with trizeps8plus.dtsi.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/7b92d2d5b2d76ae270f061ab8881bd4baf959cc3

AZ-ATM0700-RGB-display and Marvell-WiFi added to devconfig

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/bb3191ea3f89f1c4afcdcdbfcd2d234e5aba6e89

Buxfixes an improvement from maury branch added to panel-lvds driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/eaeed12dba9fc713bc8f10dc9ced6a49cc0efed4

AZ-ATM0700 RGB display added to panel-simple. This is ugly because in this
driver everything is hard coded, it consists of over 5000 lines and whenever
a new display is needed it grows about at least 40 lines. We should find a
way to make this driver obsolet.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/de1e5c3a057c012f706490702dcdc2a38effef1e

drm_bridge_get_next_bridge() may return NULL if there is no successor

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/e37f7a3c175468fd53c81d47f1cffb4c696876a6

reset removes from kuk-edt-touch driver because it causes stack-dumps

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/449f52d3c22c17aa0c1f086d553e482a4d560557

quick-hack for ditabis aplied to mcu-driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/5bdb269f1d86356ab089313ed783285f41e078f3

not-compilable device trees removed

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/962d0578b67db6647c5dc89fbc2523e68968c07c

KuK version of EDT FocalTech touch driver added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/0fde31013c77c93a330721230f866abf01b6d674

defconfig for trizeps8plus added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/6c88bad079592c3d76b33f908c1f028283805730

Drivers for MCU and FPGA imported from kernel 5.10.9

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/da3059fcb2e041915027992e8e0feed03bbbea21

Display-dependent defines for display and touch added
copyright notice updated

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/2b8634521c28aae1660b6373d077a8eec3a42ab8

atm0700.dtsi unified to also support trizeps8plus
- copyright notice updated
- simplified and somewhat cleaned up

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/26a27bf89e3b341251aa87985bee526c5593e6e0

pconxs.dtsi unified to also support trizeps8plus
- copyright notice updated
- pinmuxing for HDMI and LCD1-VDD added
- reserved@board section for trizeps8plus added
- backlight and touch removed because this is display dependent
- accelerometer and thermometer added
- trickle-resistor added to RTC

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/2163b5ab43f3ee60286ef2b2b169851dfa4948ab

FPGA added to trizeps8mini.dtsi
The FPGA is configured by the display's dtsi file if needed, but it is mounted
on the SOM.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/ca0ce74a5b335a85db192ec7e16e26e6f093cf32

GPIOs for display and touch are display- and baseboard-dependent
therefor they have been moved to the dts files

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/5897da01679f79c43e7bbdd43070ac828cd02d6d

Merge branch 'linux-5.15.32-seco_kuk-patches' of https://git.seco.com/seco-ne/kernel/linux-imx-kuk into linux-5.15.32-seco_kuk-patches

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/d51cd6b92cff9f2a4db626b60b2d53303fbb3ca3

assigned-clocks and fsl,sai-enable-bclk-with-mclk flags for sai2 from
trizeps8plus_v1r3.dtsi integrated into trizeps8plus-kuk.dtsi to make
audio work

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/f0ec8fa7f3f5f2c630d824e2bb6a70c3169439ee

Device-trees and device-tree-includes for trizeps8plus, pconxs,
atm0700-rgb-display and atm0700l61dt-lvds-display copied from kernel 5.10.9,
corrected and slightly cleaned up.
trizeps8plus-kuk.dtsi should be merged with trizeps8plus.dtsi.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/b5e5655830fcbf9b03ffcb03884a10d764415287

AZ-ATM0700-RGB-display and Marvell-WiFi added to devconfig

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/bfb4296d5c72523501be0e1fccddbfd5c93a7242

Buxfixes an improvement from maury branch added to panel-lvds driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/969a22883b528760700ac09f0bbbec3d12e4f731

AZ-ATM0700 RGB display added to panel-simple. This is ugly because in this
driver everything is hard coded, it consists of over 5000 lines and whenever
a new display is needed it grows about at least 40 lines. We should find a
way to make this driver obsolet.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/9419f0e07b9f5ac972aeefb115f28ece5ae25b59

drm_bridge_get_next_bridge() may return NULL if there is no successor

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/d655193bef5beb09898032fd06cdbb8fc13dad0b

reset removes from kuk-edt-touch driver because it causes stack-dumps

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/b8cd29090203763dc7e833a6698a3eb37b149222

quick-hack for ditabis aplied to mcu-driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/cbd22fe319697dab54d8be223a92a542c6a755c9

not-compilable device trees removed

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/d85ccc897c9234ecf0966e9c677c541e118e1091

KuK version of EDT FocalTech touch driver added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/9a10b7ff6db7f53770b18c00ab58cb3b39321e18

defconfig for trizeps8plus added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/d20dcc7e68e080670ae6ba6e38a3b9ee675a527d

Drivers for MCU and FPGA imported from kernel 5.10.9

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/67a7108a67e0c5971dea80777b7fabbc35df3f3f

For some reason if the spk-mono bit is set the speaker keeps silent.
If the spk-mono flag in the device-tree node is omitted the speaker-mono
controls and widgets are not created and the device is not usable.
The best way seems to be to leave the spk-mono bit untouched when the
device is probed.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/7f64c1d73502fd300a41a05bd62e7942a3768809

assigned-clocks and fsl,sai-enable-bclk-with-mclk flags for sai2 from
trizeps8plus_v1r3.dtsi integrated into trizeps8plus-kuk.dtsi to make
audio work

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/a52cce5debcb6f992834de20f9e0e92b03cca2f2

Support for eDP panels added to panel-lvds

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/ead64fdb8991cf1b1936e73159a00bae826044f5

Revert "support for eDP panels added to panel-lvds"

This reverts commit 94b98e128f6abaa40bfd2ac162bb17133b5d48ee.
This commit came to early.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/64d9acf6357a175aba156edfb8791dd688501c61

Device-trees and device-tree-includes for trizeps8plus, pconxs,
atm0700-rgb-display and atm0700l61dt-lvds-display copied from kernel 5.10.9,
corrected and slightly cleaned up.
trizeps8plus-kuk.dtsi should be merged with trizeps8plus.dtsi.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/4dbf80602fd304ae4042cfd8a65359619a0b6ac7

AZ-ATM0700-RGB-display and Marvell-WiFi added to devconfig

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/94b98e128f6abaa40bfd2ac162bb17133b5d48ee

support for eDP panels added to panel-lvds

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/77ecb335c8be4873acc73bced89d14c4e74ff3e0

Buxfixes an improvement from maury branch added to panel-lvds driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/5802086eddbaf9d84f17e49d4eb4edcbba0e0f87

AZ-ATM0700 RGB display added to panel-simple. This is ugly because in this
driver everything is hard coded, it consists of over 5000 lines and whenever
a new display is needed it grows about at least 40 lines. We should find a
way to make this driver obsolet.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/5cc401ebc758dbf6e665a7d11673fc386caf14af

drm_bridge_get_next_bridge() may return NULL if there is no successor

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/abe5b40ab197b93c2c7a54e8b1c0e3b93c784f87

The display-enable-pin depends on the baseboard/display-combination

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/ac8273941cb83d800ffc2dc262f7bf1b76c124db

It is somewhat awkward to define the touch interrupt in the SOMs include file
because it may vary with the baseboard/display-combination.
Also the name of a pin has often nothing to do with it's function.
For instance the EDT-touch has a low-active output-pin called WAKE that has
to be pulled to high to enable the touch.

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/435a7f40960060d426e38179c31317211959840d

reset removes from kuk-edt-touch driver because it causes stack-dumps

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/2b87b83ae8d2268ee5292922c97c61ceb006f30e

quick-hack for ditabis aplied to mcu-driver

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/258f5dd732a2eb667c8577c25e32d0ce13d2ffab

not-compilable device trees removed

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/6a611a1181bdff16c8fcf4be4aa17f999f9ecf75

KuK version of EDT FocalTech touch driver added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/cc21bbd11efc95489d1658533349b80cece1f10c

defconfig for trizeps8plus added

--

Commit: https://git.seco.com/seco-ne/kernel/linux-imx-kuk/-/commit/7d7e4c055dae45f3bd9de4c191a6de906755a0e5

Drivers for MCU and FPGA imported from kernel 5.10.9
---
 SRCREV.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SRCREV.conf b/SRCREV.conf
index f7345823..c5f1077b 100644
--- a/SRCREV.conf
+++ b/SRCREV.conf
@@ -8,7 +8,7 @@ SRCREV:pn-gfxml2dto = "7ba3b04e929dadb15c1f1dc1bb23fda3aab92995"
 SRCREV:pn-ilitek = "832639d983eac75528fc77320158251b87f1beaf"
 SRCREV:pn-kernel-module-touchgpio = "b2d4c89027b818694733c581fa828e53e55e024d"
 SRCREV:pn-libmdb = "f8fb2375536e72b37cef3f0e843c61e9335de928"
-SRCREV:pn-linux-imx = "0a6a819373fe79bf5c0a7764ebb5d3a934df23aa"
+SRCREV:pn-linux-imx = "da6a2653a629bd843c098e4f5cba8cbcd72aaf8d"
 SRCREV:pn-linux-imx-kuk = "0258f07c61364958e3307da11a388e72baffb03a"
 SRCREV:pn-linux-seconorth = "ac6c42b718b3b477d6e06f01cfc0adb500645585"
 SRCREV:pn-qt-multi-screen-compositor = "0ce22128b0cb7b7a081ff99e77394471827fba14"
-- 
GitLab