diff options
author | Oleksandr Suvorov <oleksandr.suvorov@toradex.com> | 2020-08-06 15:29:32 +0300 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2020-09-14 09:46:56 +0200 |
commit | 356ea51461d3e0477b7c2feb23d90845078387a6 (patch) | |
tree | 99e89a9a8d1fab59a8f22718cd7236bbb70a9330 /recipes-core/udev/files/colibri-imx8x/99-toradex.rules | |
parent | 9f8dd1c4ff62bee44dd3e99d0f46f812787b8eb2 (diff) |
colibri-imx8x: 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 6ba70eb580167611f8a5b061a9552eba25b34d6c)
Diffstat (limited to 'recipes-core/udev/files/colibri-imx8x/99-toradex.rules')
-rw-r--r-- | recipes-core/udev/files/colibri-imx8x/99-toradex.rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules index b2ac268..e06fb5a 100644 --- a/recipes-core/udev/files/colibri-imx8x/99-toradex.rules +++ b/recipes-core/udev/files/colibri-imx8x/99-toradex.rules @@ -8,3 +8,4 @@ ACTION=="add", SUBSYSTEM=="spidev", KERNELS=="5a020000.lpspi", SYMLINK+="colibri 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" |