summaryrefslogtreecommitdiff
path: root/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-06 16:45:35 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-08-10 13:11:02 +0300
commit22950c7feac191bbff58e9137612e525982e2fbe (patch)
tree5f13531a88bf02e08d12a4db245d97e4f1e606ab /recipes-core/udev/files/apalis-imx8x/99-toradex.rules
parenta98861ebc9d2a26f458a57f674b53cb81405da64 (diff)
apalis-imx8x: udev: add symlink to adc raw data
Create symlinks for each supported by Apalis iMX8QXP 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-imx8x/99-toradex.rules')
-rw-r--r--recipes-core/udev/files/apalis-imx8x/99-toradex.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
index 8b29437..8f19f51 100644
--- a/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
+++ b/recipes-core/udev/files/apalis-imx8x/99-toradex.rules
@@ -12,3 +12,4 @@ ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="apalis-
KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc"
KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-boot%n"
KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="5b010000.usdhc", SYMLINK+="emmc-part%n"
+SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh"