linux-postmarketos-omap: N900: disable twl off idle features (MR 4317)

Disable twl pmic off-idle configuration for Nokia N900. An ugly patch to do
this was lost during the migration from linux-nokia-n900 to the shared omap
kernel.

Fixes #2161

[ci:skip-build]: Already built successfully in CI
This commit is contained in:
Sicelo A. Mhlongo 2023-08-08 22:59:46 +02:00 committed by Stefan Hansson
parent 202b6e9435
commit 3e737241ba
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 31 additions and 1 deletions

View file

@ -0,0 +1,28 @@
From 31f6c1e43a1287747861b812d850b656deb92f5f Mon Sep 17 00:00:00 2001
From: "Sicelo A. Mhlongo" <absicsz@gmail.com>
Date: Tue, 8 Aug 2023 21:52:14 +0200
Subject: [PATCH] ARM: dts: disable twl off-idle configuration for N900
This is a restore of commit d937678ab625b0f6 (:ARM: dts: Revert enabling of twl
configuration for n900"), and partially reverts daebabd57864744 ("mfd:
twl4030-power: Fix PM idle pin configuration to not conflict with regulators").
---
arch/arm/boot/dts/omap3-n900.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts
index f9f9eca0c56c..2f0b24897afd 100644
--- a/arch/arm/boot/dts/omap3-n900.dts
+++ b/arch/arm/boot/dts/omap3-n900.dts
@@ -508,7 +508,7 @@ twl_audio: audio {
};
twl_power: power {
- compatible = "ti,twl4030-power-n900", "ti,twl4030-power-idle-osc-off";
+ compatible = "ti,twl4030-power-n900";
ti,use_poweroff;
};
};
--
2.40.1

View file

@ -4,7 +4,7 @@
pkgname=linux-postmarketos-omap
pkgver=6.4.3
pkgrel=1
pkgrel=2
pkgdesc="Mainline kernel fork for OMAP devices"
arch="armv7"
url="https://kernel.org/"
@ -40,6 +40,7 @@ source="
0006-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
0008-hsi-ssi_port-force-pio-path.patch
0009-n900-dts-volume-keys.patch
0010-ARM-dts-disable-twl-off-idle-configuration-for-N900.patch
"
builddir="$srcdir/linux-$pkgver"
replaces="linux-samsung-espresso3g linux-nokia-n900"
@ -79,4 +80,5 @@ b2c2d81bdfb4095a87d6821342127cc7c74bbc12a70786a81d64fd264b5487d522effab349fc1de2
1aa4521deb4e6d0977f8e704dd7f38ca3a861212c0ced34145713c72a68d8f255f3631a82c5ef2006f4c8b954fce6198e5d0870392cd4db6b6fb9610abe50c4c 0006-Add-TWL6030-power-button-support-to-twl-pwrbutton.patch
c3af9715b3559c2d593f4fcfa078730722c7deeec132c5b83e085ff4d9815d85ef349384097c580efe1bbc37c60f42e18ef559f0abccfe236080670e4403fa77 0008-hsi-ssi_port-force-pio-path.patch
af26c754ef2892251abfd085a1a0729df2bceb8a6c15d14ab3fdf4716fb897b3dcb43f4efe98009a48e9023af608c293ecd86dce9f31f0f090cfd9f78a97cd84 0009-n900-dts-volume-keys.patch
d55071c176ed6b02cc4596b279dcfdccaf8360d7f0133427e23b1ca8a7f36f37ac7e0ecefa276b3005cd685f117e7fb282ff0f2f41eebd59de8bff25c989c07a 0010-ARM-dts-disable-twl-off-idle-configuration-for-N900.patch
"