From 5559bf45edd7a2db1da1d9edb7e718b297e55123 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 26 Mar 2021 10:28:22 -0500 Subject: Unconditionally load the tmp102 driver on MTCAP images --- .../linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch index 83ed031..67c3750 100644 --- a/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch +++ b/recipes-kernel/linux/linux-at91-4.9.87/mtcap/linux-4.9-mtcap-device-tree.patch @@ -257,8 +257,8 @@ diff -Naru linux-4.9.87.orig/arch/arm/boot/dts/Makefile linux-4.9.87/arch/arm/bo ================================================================================================== diff -Naru orig/arch/arm/boot/dts/mtcap.dts new/arch/arm/boot/dts/mtcap.dts --- orig/arch/arm/boot/dts/mtcap.dts 1969-12-31 18:00:00.000000000 -0600 -+++ new/arch/arm/boot/dts/mtcap.dts 2020-09-23 17:17:22.979992310 -0500 -@@ -0,0 +1,318 @@ ++++ new/arch/arm/boot/dts/mtcap.dts 2021-03-25 16:10:24.945436419 -0500 +@@ -0,0 +1,323 @@ +/* + * DTS file for Multi-Tech Systems MTCAP Hardware + * @@ -568,6 +568,11 @@ diff -Naru orig/arch/arm/boot/dts/mtcap.dts new/arch/arm/boot/dts/mtcap.dts + pagesize = <16>; + status = "okay"; + }; ++ board_temp@48 { ++ compatible = "ti,tmp102"; ++ reg = <0x48>; ++ status = "okay"; ++ }; + }; + + mts-io-0 { -- cgit v1.2.3