Skip to content
Snippets Groups Projects
Verified Commit 9183be33 authored by Alistair Francis's avatar Alistair Francis Committed by Clayton Craft
Browse files

linux-purism-librem5: Add 166MHz to DDRC OPP table (MR 3754)

Backport the Purism patch from https://source.puri.sm/Librem5/linux/-/merge_requests/640



"With this patch, older revisions (2.0) should be able to switch between
166MHz and 800MHz as opposed to being stuck to 800MHz all the time, since
that was the only supported frequency in the OPP table."

Signed-off-by: default avatarAlistair Francis <alistair@alistair23.me>

[ci:skip-build] already built successfully in CI
parent 04c166cd
No related branches found
No related tags found
No related merge requests found
Pipeline #199128 passed
From c78892e4d8d30370430acc1bca24685f4d223b76 Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Date: Thu, 15 Dec 2022 17:47:28 +0100
Subject: [PATCH] dts: imx8mq-librem5: Add 166MHz to DDRC OPP table
This is the lowest frequency supported by older iMX8MQ SoC
revisions.
---
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index cebbbb81648d..a699dcfba372 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -452,6 +452,10 @@ opp-100M {
opp-hz = /bits/ 64 <100000000>;
};
+ opp-166M {
+ opp-hz = /bits/ 64 <166935483>;
+ };
+
opp-800M {
opp-hz = /bits/ 64 <800000000>;
};
--
2.38.1
......@@ -3,7 +3,7 @@
# Co-Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=linux-purism-librem5
pkgver=6.1.0
pkgrel=0
pkgrel=1
_purismrel=1
# <kernel ver>.<purism kernel release>
_purismver=${pkgver}pureos$_purismrel
......@@ -39,6 +39,7 @@ _config="config-$_flavor.$arch"
source="
$pkgname-$_purismver.tar.gz::https://source.puri.sm/Librem5/linux/-/archive/pureos/$_purismver/linux-pureos-$_purismver.tar.gz
0001-dts-imx8mq-librem5-Add-166MHz-to-DDRC-OPP-table.patch
$_config
"
builddir="$srcdir/$_repository-pureos-$_purismver"
......@@ -72,5 +73,6 @@ package() {
sha512sums="
120ac18a0b93c302062578b3b80ef0d18f351be94b6b89322b25b4fdce416261ef311a327acd42718741db5e1d5516d45109fc7ef8ef338f6af6dfb78cf2beb1 linux-purism-librem5-6.1.0pureos1.tar.gz
fef3f0dad3a039a3e419c209d9cecc21f4767fe2150b8c5dcf5d70d0c00ee62cf45f71d5f24ef2f88311ca7d63356a5be6399837682e66531be88005c882e629 0001-dts-imx8mq-librem5-Add-166MHz-to-DDRC-OPP-table.patch
18826512ca9b78d61bda5d892afa31404dccc4be4492ff9a29e69d8c68edebc2ed0c470d6fe8d577f3840a5db0f79221e55ee334dd9b841d2cfd0a2ebe59c22a config-purism-librem5.aarch64
"
  • Administrator @root

    mentioned in commit 8e4526c2

    By Alistair Francis on 2023-01-05T03:27:49

    · Imported

    mentioned in commit 8e4526c2

    By Alistair Francis on 2023-01-05T03:27:49

    Edited by Ghost User
    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment