[openwrt/openwrt] layerscape: add missing kmods for i2c peripherials

LEDE Commits lede-commits at lists.infradead.org
Fri Oct 2 12:54:13 EDT 2020


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/127db180b644f24c6914661a4ab318f320f5b719

commit 127db180b644f24c6914661a4ab318f320f5b719
Author: Pawel Dembicki <paweldembicki at gmail.com>
AuthorDate: Tue Aug 18 10:20:35 2020 +0200

    layerscape: add missing kmods for i2c peripherials
    
    This patch adds kmod-hwmon-ina2xx kmod-hwmon-lm90 for boards,
    which have it installed.
    
    Signed-off-by: Pawel Dembicki <paweldembicki at gmail.com>
    Reviewed-by: Yangbo Lu <yangbo.lu at nxp.com>
---
 target/linux/layerscape/image/armv8_64b.mk | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/target/linux/layerscape/image/armv8_64b.mk b/target/linux/layerscape/image/armv8_64b.mk
index 1bf956584c..5dd7ca955a 100644
--- a/target/linux/layerscape/image/armv8_64b.mk
+++ b/target/linux/layerscape/image/armv8_64b.mk
@@ -102,7 +102,9 @@ define Device/fsl_ls1043a-rdb
   DEVICE_PACKAGES += \
     layerscape-fman \
     tfa-ls1043a-rdb \
-    fmc fmc-eth-config
+    fmc fmc-eth-config \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
   IMAGE/firmware.bin := \
     ls-clean | \
@@ -123,7 +125,9 @@ define Device/fsl_ls1043a-rdb-sdboot
   DEVICE_PACKAGES += \
     layerscape-fman \
     tfa-ls1043a-rdb-sdboot \
-    fmc fmc-eth-config
+    fmc fmc-eth-config \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   DEVICE_DTS := freescale/fsl-ls1043a-rdb-sdk
   FILESYSTEMS := ext4
   IMAGES := sdcard.img sysupgrade.bin
@@ -152,7 +156,9 @@ define Device/fsl_ls1046a-rdb
   DEVICE_PACKAGES += \
     layerscape-fman \
     tfa-ls1046a-rdb \
-    fmc fmc-eth-config
+    fmc fmc-eth-config \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
   IMAGE/firmware.bin := \
     ls-clean | \
@@ -173,7 +179,9 @@ define Device/fsl_ls1046a-rdb-sdboot
   DEVICE_PACKAGES += \
     layerscape-fman \
     tfa-ls1046a-rdb-sdboot \
-    fmc fmc-eth-config
+    fmc fmc-eth-config \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   DEVICE_DTS := freescale/fsl-ls1046a-rdb-sdk
   FILESYSTEMS := ext4
   IMAGES := sdcard.img sysupgrade.bin
@@ -203,7 +211,9 @@ define Device/fsl_ls1088a-rdb
     layerscape-mc \
     layerscape-dpl \
     tfa-ls1088a-rdb \
-    restool
+    restool \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   IMAGE/firmware.bin := \
     ls-clean | \
     ls-append $(1)-bl2.pbl | pad-to 1M | \
@@ -226,7 +236,9 @@ define Device/fsl_ls1088a-rdb-sdboot
     layerscape-mc \
     layerscape-dpl \
     tfa-ls1088a-rdb-sdboot \
-    restool
+    restool \
+    kmod-hwmon-ina2xx \
+    kmod-hwmon-lm90
   DEVICE_DTS := freescale/fsl-ls1088a-rdb
   FILESYSTEMS := ext4
   IMAGES := sdcard.img sysupgrade.bin



More information about the lede-commits mailing list