summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-26 11:31:58 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2020-06-26 11:31:58 +0300
commit3790efed5871f28b8fd969a5bbe29cf776af112e (patch)
treebe6f2d6da5afc2a29df11e35c49d4dd8c4018723
parent2e2be094e62bb61c9e58a115b5d89d5b960eed50 (diff)
apalis/colibri-imx6: add i2c-ddc rule for mainline kernel
The I2C DDC channel serves by HDMI driver in the mainline kernel. Add udev rules to make a symlink for this device. Related-to: ELB-2784 Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--recipes-core/udev/files/apalis-imx6/99-toradex.rules1
-rw-r--r--recipes-core/udev/files/colibri-imx6/99-toradex.rules1
2 files changed, 2 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 fac1101..58c3a86 100644
--- a/recipes-core/udev/files/apalis-imx6/99-toradex.rules
+++ b/recipes-core/udev/files/apalis-imx6/99-toradex.rules
@@ -1,5 +1,6 @@
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a0000.i2c", SYMLINK+="apalis-i2c1"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="i2c@0", SYMLINK+="apalis-i2c2"
+ACTION=="add", SUBSYSTEM=="i2c-dev", KERNELS=="120000.hdmi", SYMLINK+="apalis-i2c2"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a8000.i2c", SYMLINK+="apalis-i2c3"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a4000.i2c", SYMLINK+="apalis-i2c-on-module"
ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="apalis-uart1"
diff --git a/recipes-core/udev/files/colibri-imx6/99-toradex.rules b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
index a1c4ac2..d27f029 100644
--- a/recipes-core/udev/files/colibri-imx6/99-toradex.rules
+++ b/recipes-core/udev/files/colibri-imx6/99-toradex.rules
@@ -1,5 +1,6 @@
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a8000.i2c", SYMLINK+="colibri-i2c"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="i2c@0", SYMLINK+="colibri-i2c-ddc"
+ACTION=="add", SUBSYSTEM=="i2c-dev", KERNELS=="120000.hdmi", SYMLINK+="colibri-i2c-ddc"
ACTION=="add", KERNEL=="i2c-[0-9]*", ATTRS{name}=="21a4000.i2c", SYMLINK+="colibri-i2c-on-module"
ACTION=="add", ATTRS{iomem_base}=="0x2020000", SYMLINK+="colibri-uarta"
ACTION=="add", ATTRS{iomem_base}=="0x21E8000", SYMLINK+="colibri-uartb"