summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-04-05 15:34:12 -0500
committerJohn Klug <john.klug@multitech.com>2019-04-05 15:34:12 -0500
commitbf763ff1ab456106a7c2742c400ada174a100f6a (patch)
tree72c294645ca85c0f8487879bea39fd095944160d /recipes-bsp
parentec9c4ff1ae54f845b828783c7d817552581a34f1 (diff)
downloadmeta-multitech-atmel-bf763ff1ab456106a7c2742c400ada174a100f6a.tar.gz
meta-multitech-atmel-bf763ff1ab456106a7c2742c400ada174a100f6a.tar.bz2
meta-multitech-atmel-bf763ff1ab456106a7c2742c400ada174a100f6a.zip
Typo in name of patch for led brightness
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/multitech/mts-io.inc2
-rwxr-xr-xrecipes-bsp/multitech/mts-io/mts-io.init5
2 files changed, 6 insertions, 1 deletions
diff --git a/recipes-bsp/multitech/mts-io.inc b/recipes-bsp/multitech/mts-io.inc
index 53fa99e..f742ff4 100644
--- a/recipes-bsp/multitech/mts-io.inc
+++ b/recipes-bsp/multitech/mts-io.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://io-module/COPYING;md5=94d55d512a9ba36caa9b7df079bae19
file://io-tool/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
"
DEPENDS = "virtual/kernel"
-INC_PR = "r3"
+INC_PR = "r4"
SRCREV = "${PV}"
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index 336f89e..329a28b 100755
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -209,6 +209,11 @@ read_card_info() {
elif [ -d $port2 ] && [[ $(cat $port2/hw-version) = $lora_hw ]]; then
modprobe spidev
ln -sf /dev/spidev32765.2 /dev/spidev0.0
+ elif [[ ${hw_name} == MTCAP ]]; then
+ modprobe spidev
+ elif [[ ${hw_name} == MTCDTIPHP ]]; then
+ modprobe spidev
+ ln -sf /dev/spidev32766.2 /dev/spidev0.0
fi
}