summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules
AgeCommit message (Collapse)Author
2023-02-27udev-toradex-rules: Add additional watchdog symlinkFrancesco Dolcini
${family}-watchdog-som -> SoM watchdog, e.g. pmic ${family}-watchdog-soc -> SoC watchdog Related-to: ELB-5039 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> (cherry picked from commit 9f9fa5d6c8ed679f75566476099ac76baac54602)
2022-08-10udev-toradex-rules: Fix symlink creationsFrancesco Dolcini
Depending on the kernel driver probe time in some circumstances the udev event is not add, but change, add both to the rules. Without this change the uart symlinks are not created if the imx-sdma driver is loaded after udev is started. Related-to: ELB-4655 Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2021-08-14udev: 99-toradex.rules: improve sd-card rulesPhilippe Schenker
ENV{DEVTYPE} has been found to not be present on apalis-imx6 sometimes. Since we see also some troubles on our lava setup this property is being removed from this rule as anyway disk and partition is already catched with the "p" in the KERNEL rule Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit d9b673df1b21c14dfb9db76a037698a0065a8ee7)
2021-05-24recipes-core: udev: add hardware stable symlinks for sd-cardPhilippe Schenker
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit f5af6cd7e39e0eee75cca7f89ac81b5601267794) recipes-core: udev: change sd-card symlinks to style of emmc rules This commit does three things: - Use "-part<number>" instead of "-p" as it is with /dev/emmc symlinks - Use ENV{DEVTYPE} as it is used with /dev/emmc symlinks to for sure be able to distinguish partitions vs. disks - Use %n in stead of $attr{partition} as it is already used for emmc symlink rules Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit f8d013071a68cb90bbff8e00bdb328e472354ab8)
2021-03-23udev: verdin: fix (ec)spi ruleMax Krummenacher
With the kernel update to 5.4 downstream the kernel name for spi changed from ecspi to spi. Fix the udev rules to match both variants. Related-to: ELB-3397 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit cd3b2d8984ac24667a2b9abfdaefa72c582d115b)
2020-09-14verdin-imx8m: udev: add symlink to adc raw dataOleksandr Suvorov
Create symlinks for each supported by Verdin iMX8M Mini ADC channels, standardizing names as verdin-adcX, according to the Verdin signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 29191ec028148f41eab3f2ccb143bcede9e8224e)
2020-06-3099-toradex.rules: rename *-ttyX to *-uartXOleksandr Suvorov
According to the internal document "Hardware interfaces standardization", the UART interfaces should be accessed via device nodes named with the module family and matching the signal name used in the module datasheet. Modify udev rules for UART devices accordingly. Related-to: ELB-2787 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit 2e2be094e62bb61c9e58a115b5d89d5b960eed50)
2020-06-01recipes-core: udev: move emmc rules from torizon to bspPhilippe Schenker
This adds udev rules for symlinking eMMC devices consitently. Related-to: ELB-2380, ELB-2696 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit ac32e59f1f961070189e1a038644f87ce9e7c152)
2020-06-01recipes-core: udev: add rules for symlinking spi devicesPhilippe Schenker
This commit adds rules to udev so apalis/colibri or verdin spi devices are symlinked consistently. Related-to: ELB-2380, ELB-2598 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit bd072a5fc62dd7f29a94d682de2346257344ea35)
2020-03-19recipes-core: Add udev-toradex-rules recipePhilippe Schenker
These rules make sure that a symlink is created for all i2c and tty devices. This symlinks are named like on the Toradex carrier boards. This makes it easy to identify which device in software is matching the hardware pins. Additional non-standard devices that are not named clearly on the carrier board are left out to prevent confusion. Related-to: ELB-2380 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com> (cherry picked from commit 47ef64803548f73a0eda753c5d3d3f7f315af606)