diff options
author | Emanuele Ghidoli <emanuele.ghidoli@toradex.com> | 2023-08-24 23:38:01 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2023-09-05 05:41:38 -0300 |
commit | c75248ef5754f6a0f4174f3578add449dfe01fd0 (patch) | |
tree | 3eb9f871cfea6a5c231db5b953f04adcaadd9570 /recipes-bsp | |
parent | 189c192ef88ffc0a1192a984731a9e8fc6c19a57 (diff) |
udev-toradex-rules: colibri-imx7: Fix watchdog symlinks creation
Fix these unwanted behaviors:
- With kernel >= v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog
are missing. Driver init sequence changes, the KERNEL label changes
from watchdog to watchdog1 and relevant rule that create the symlinks
stops matching.
- With kernel < v6.3 /dev/colibri-watchdog-som and /dev/colibri-watchdog-soc
are pointing to the same device, respectively /dev/watchdog0 (miscdev)
and /dev/watchdog (cdev) using the same watchdog device
(the SoM rn5t618 watchdog). Instead, it is expected that
/dev/colibri-watchdog-soc links to the SoC imx2-wdt watchdog device.
These are the current two configurations:
< v6.3:
/dev/colibri-watchdog -> watchdog0 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog1 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog0 (rn5t618)
>= v6.3:
/dev/colibri-watchdog -> watchdog1 (rn5t618)
/dev/colibri-watchdog-soc -> watchdog0 (imx2-wdt)
/dev/colibri-watchdog-som -> watchdog1 (rn5t618)
Related-to: ELB-5315
Fixes: 9f9fa5d6c8ed ("udev-toradex-rules: Add additional watchdog symlink")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
(cherry picked from commit 73e42815204f68ac520037afe7046f6022d7bb55)
Diffstat (limited to 'recipes-bsp')
0 files changed, 0 insertions, 0 deletions