summaryrefslogtreecommitdiff
path: root/kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-08 19:37:35 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-01-08 19:47:50 +0100
commit3d00a8089ed6fd5875be75733adc2da3768ba252 (patch)
tree5ed74e627f761c0054ae4bbc71185c380f6806f6 /kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
parentb8dd027e7c1b4103263135b75537d7117792ac8e (diff)
kernels: add linux-libre-aarch64
Some System On a Chip (SOC) have 64bit ARM CPUs that are also capable of running arm 32bit applications. Since: - Parabola doesn't have an aarch64 package repository yet - The devicetree of devices using such System On a Chip are not compiled when using the armv7 defconfig - Drivers or other platform support code for such hardware might also not be compiled in with the armv7 defconfig - This approach has already been tested with the linux-libre-x86_64 kenrel It's then a good idea to add support for such devices by adding an arrch64 kernel as the maintenance and work is minimal. The downside is that the external kernel modules that are either compiled against the kernel or using DKMS will not work by default. It's however still possible to compile them by hand by using ARCH= and CROSS_COMPILE= as it is done for this kernel, so it should be relatively easy to add support for the non-dkms modules. As for DKMS, someone would need to look into it to understand how to pass it the make flags (ARCH= and CROSS_COMPILE=) that are required to automatically build modules. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch')
-rw-r--r--kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch b/kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
new file mode 100644
index 000000000..40413f479
--- /dev/null
+++ b/kernels/linux-libre-arm64/0007-exynos4412-odroid-set-higher-minimum-buck2-regulator.patch
@@ -0,0 +1,30 @@
+From 054ac5f337ad4f79b22c9b191dc47f001722f0d6 Mon Sep 17 00:00:00 2001
+From: Kevin Mihelich <kevin@archlinuxarm.org>
+Date: Thu, 11 Aug 2016 00:42:37 -0600
+Subject: [PATCH 7/9] exynos4412-odroid: set higher minimum buck2 regulator
+ voltage
+
+Set a higher minimum voltage to help reboot issue.
+http://www.spinics.net/lists/linux-samsung-soc/msg54434.html
+
+Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
+---
+ arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+index ea55f377d17c..a7bfc58bbc79 100644
+--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
++++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+@@ -430,7 +430,7 @@
+
+ buck2_reg: BUCK2 {
+ regulator-name = "vdd_arm";
+- regulator-min-microvolt = <900000>;
++ regulator-min-microvolt = <1100000>;
+ regulator-max-microvolt = <1350000>;
+ regulator-always-on;
+ regulator-boot-on;
+--
+2.23.0
+