diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-06 16:41:31 +0300 |
---|---|---|
committer | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-10 13:13:30 +0300 |
commit | 29191ec028148f41eab3f2ccb143bcede9e8224e (patch) | |
tree | ba43e03d3585c7545c48131a7faa074d7fd2fabb /recipes-core/udev/files/verdin-imx8mm/99-toradex.rules | |
parent | 6ba70eb580167611f8a5b061a9552eba25b34d6c (diff) |
verdin-imx8m: udev: add symlink to adc raw data
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>
Diffstat (limited to 'recipes-core/udev/files/verdin-imx8mm/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/verdin-imx8mm/99-toradex.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules index 736d9d8..2885e16 100644 --- a/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules +++ b/recipes-core/udev/files/verdin-imx8mm/99-toradex.rules @@ -10,3 +10,4 @@ ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="30830000.ecspi", SYMLINK+="verdin- KERNEL=="mmcblk[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b40000.mmc", SYMLINK+="emmc" KERNEL=="mmcblk[0-9]boot[0-9]", ENV{DEVTYPE}=="disk", KERNELS=="30b40000.mmc", SYMLINK+="emmc-boot%n" KERNEL=="mmcblk[0-9]p[0-9]", ENV{DEVTYPE}=="partition", KERNELS=="30b40000.mmc", SYMLINK+="emmc-part%n" +SUBSYSTEM=="iio", KERNELS=="iio:device0", RUN+="/etc/udev/scripts/toradex-adc.sh" |