summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/apalis-imx6/99-toradex.rules
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-03 18:59:57 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-10 13:11:02 +0300
commit41ebdf6d19a1b8af2e06f274d711823bdb345f29 (patch)
tree3010153bed7fdd8a3482e1d2ef771f4a35769027 /recipes-core/udev/files/apalis-imx6/99-toradex.rules
parentcab8a53004f5431f7f36443a2d6ec14bd869f476 (diff)
apalis-imx6: udev: add symlink to adc raw data
Create symlinks for each supported by Apalis iMX6 ADC channels, standardizing names as apalis-adcX, according to the Apalis signal names table. Related-to: ELB-2839 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'recipes-core/udev/files/apalis-imx6/99-toradex.rules')
-rw-r--r--recipes-core/udev/files/apalis-imx6/99-toradex.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/apalis-imx6/99-toradex.rules b/recipes-core/udev/files/apalis-imx6/99-toradex.rules
index 58c3a86..f29daae 100644
--- a/recipes-core/udev/files/apalis-imx6/99-toradex.rules
+++ b/recipes-core/udev/files/apalis-imx6/99-toradex.rules
@@ -13,3 +13,4 @@ ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="200c000.*spi", SYMLINK+="apalis-sp
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"