summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/colibri-imx6/99-toradex.rules
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-06 11:58:51 +0300
committerMax Krummenacher <max.krummenacher@toradex.com>2020-09-14 09:46:54 +0200
commitf83e42462cba0b445662140cf6a9ae7b99de225b (patch)
treec95a1a18692ac0424f27909c2dc2c88eb4b010a4 /recipes-core/udev/files/colibri-imx6/99-toradex.rules
parent24aaf59fa8dd5310d5708ca7b971755fdcd81c92 (diff)
colibri-imx6: udev: add symlink to adc raw data
Create symlinks for each supported by Colibri iMX6 ADC channels, standardizing names as colibri-ainX, according to the Colibri signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com> (cherry picked from commit eaf8ba320beef0b0ad59e7911b4684c793b0a4f3)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx6/99-toradex.rules')
-rw-r--r--recipes-core/udev/files/colibri-imx6/99-toradex.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
index d27f029..59cf815 100644
--- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
@@ -10,3 +10,4 @@ ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="2014000.*spi", SYMLINK+="colibri-s
KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc"
KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="2198000.usdhc", SYMLINK+="emmc-boot%n"
KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="2198000.usdhc", SYMLINK+="emmc-part%n"
+SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh"