
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>
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From f16f4cbdb0deb70c03731fbccb4f52eb4d1d096a Mon Sep 17 00:00:00 2001
|
|
From: Oskari Lemmela <oskari@lemmela.net>
|
|
Date: Tue, 23 Oct 2018 21:53:26 +0300
|
|
Subject: [PATCH 108/146] arm64: dts: allwinner: a64: sopine-baseboard: enable
|
|
power supplies
|
|
|
|
AXP803 ACIN pins are routed from SOM to the DC jack on the baseboard.
|
|
AXP803 charger pins BATSENSE, LOADSENSE, N_BATDRV, LX_CHG, VIN_CHG
|
|
and IPSOUT are connected via PMOS driver to SOM VBAT pins. VBAT and
|
|
AXP803 TS pins are routed to the baseboard 3-pin battery connector.
|
|
|
|
Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
|
|
Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com>
|
|
---
|
|
.../boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 8 ++++++++
|
|
1 file changed, 8 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
index 8e9191f489a6..df7aa8c5f751 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
|
@@ -80,6 +80,14 @@
|
|
};
|
|
};
|
|
|
|
+&ac_power_supply {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&battery_power_supply {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <®_dcdc2>;
|
|
};
|
|
--
|
|
2.17.1
|
|
|