
Some patches were part of other linux-mainline kernel versions but are not anymore part of the current 4.19.76. Move 0001-Enable-uart3-for-NanoPi-Neo-Air-used-by-BT.patch in linux-mainline_4.19.76.bbappend to avoid error patching file arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts Hunk #2 FAILED at 162. 1 out of 2 hunks FAILED -- rejects in file arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts Place all patches from Armbian in a separate directory and do all the Balena specific operations in linux-mainline_%.bbappend only. Changelog-entry: Remove unused patches and cleanup Signed-off-by: Vicentiu Galanopulo <vicentiu@balena.io>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From 113d3049c946e68e32fdec6f64672fe4cd181cc8 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Fri, 10 Nov 2017 13:21:55 +0100
|
|
Subject: [PATCH 40/82] ARM: dts: sun8i-a83t-tbs-a711: Enable LTR-501-ALS IIO
|
|
|
|
It's already supported in mainline kernel. Though, the driver didn't
|
|
have OF compativles table.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
index 2427bf3461d7..6acc678d1b5b 100644
|
|
--- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
@@ -250,6 +250,15 @@
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */
|
|
};
|
|
+
|
|
+ /* Light Sensor */
|
|
+ ltr501: ltr501@23 {
|
|
+ status = "disabled"; /* no output */
|
|
+ compatible = "ltr,ltr501";
|
|
+ reg = <0x23>;
|
|
+ interrupt-parent = <&pio>;
|
|
+ interrupts = <6 12 IRQ_TYPE_EDGE_FALLING>; /* PG12 */
|
|
+ };
|
|
};
|
|
|
|
&mmc0 {
|
|
--
|
|
2.20.1
|
|
|