Files
LibreELEC.tv/projects/Amlogic/devices/AMLGX/patches/linux/amlogic-0029-WIP-arm64-dts-meson-add-UHS-SDIO-capabilities-to-p21.patch
Christian Hewitt 8314e2506f linux: update Amlogic to Linux 6.16.y kernel and patches
Includes:
- drop local rtlwifi patches
- Amlogic: disable lock debugging
- Amlogic: disable some ARMv8 features not present in Amlogic SoCs
  Amlogic 64-bit SoC have only ARMv8.1 cores and do not support
  later rev features. Disable them to save a few KBs from kernel
  size.
- Amlogic: disable unused errata
  Disable errata for cores not present in Amlogic's SoCs.
- Amlogic: set THP to madvise
- Amlogic: enable PSCI CPUIdle driver
  With additional entries in device tree, this
  can save approximately 30-40mW when idling.
- Amlogic: set preemption to voluntary
  Aligns Amlogic with (most) other LE projects.
- Amlogic: increase Linux kernel tick-rate to 300Hz
  Aligns Amlogic with (most) other projects.
- Amlogic: disable SCHED_SMT
  Amlogic SoCs do not have hyperthreading, disable it
  to save some space
- Amlogic: adjust kernel config for Docker
  Kernel config adjusted with tools/check_kernel_config script
- enable kernel options IP_SET and NETFILTER_XT_SET
- enable kernel based RTW88_8821AU and RTW88_8812AU
- drop now upstream 6.14 lzma patch
- enable kernel options CONFIG_IP_NF_RAW and CONFIG_IP6_NF_RAW

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2025-07-21 08:23:36 +00:00

48 lines
1.5 KiB
Diff

From d05fd0dbca2f4e7233ca5c1fb9fc8ca5575d4dbc Mon Sep 17 00:00:00 2001
From: Christian Hewitt <christianshewitt@gmail.com>
Date: Wed, 19 Jan 2022 06:45:06 +0000
Subject: [PATCH 29/37] WIP: arm64: dts: meson: add UHS SDIO capabilities to
p212/p23x/q20x
Add UHS capabilities to the SDIO node to enable 100MHz speeds.
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
---
arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 4 ++++
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
index f6ef4fc4a85c..b3385f71bb48 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx-p23x-q20x.dtsi
@@ -258,6 +258,10 @@ &sd_emmc_a {
bus-width = <4>;
cap-sd-highspeed;
+ sd-uhs-sdr12;
+ sd-uhs-sdr25;
+ sd-uhs-sdr50;
+ sd-uhs-sdr104;
max-frequency = <100000000>;
non-removable;
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
index ccaadb497880..59539eca8f42 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi
@@ -119,6 +119,10 @@ &sd_emmc_a {
bus-width = <4>;
cap-sd-highspeed;
+ sd-uhs-sdr12;
+ sd-uhs-sdr25;
+ sd-uhs-sdr50;
+ sd-uhs-sdr104;
max-frequency = <100000000>;
non-removable;
--
2.34.1