mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
fec22f8375
Removed upstreamed: generic/backport-6.1/803-v6.5-01-leds-trigger-netdev-Recheck-NETDEV_LED_MODE_LINKUP-o.patch[1] generic/pending-6.1/143-jffs2-reduce-stack-usage-in-jffs2_build_xattr_subsys.patch[2] bcm27xx/patches-6.1/950-0034-drm-bridge-Introduce-pre_enable_upstream_first-to-al.patch[3] bcm27xx/patches-6.1/950-0439-nvmem-Use-NVMEM_DEVID_AUTO.patch[4] bcm4908/patches-6.1/040-mtd-parsers-refer-to-ARCH_BCMBCA-instead-of-ARCH_BCM.patch[5] bcm53xx/patches-6.1/031-v6.5-0003-ARM-dts-BCM5301X-Drop-clock-names-from-the-SPI-node.patch[6] bcm53xx/patches-6.1/031-v6.5-0015-ARM-dts-BCM5301X-fix-duplex-full-full-duplex.patch[7] mediatek/patches-6.1/351-cpufreq-mediatek-correct-voltages-for-MT7622-and-MT7.patch[8] qualcommax/patches-6.1/0008-v6.2-clk-qcom-reset-support-resetting-multiple-bits.patch[9] Manually rebased: bcm27xx/patches-6.1/950-0035-drm-panel-Add-prepare_upstream_first-flag-to-drm_pan.patch bcm27xx/patches-6.1/950-0404-drm-panel-panel-ilitek9881c-Add-prepare_upstream_fir.patch bcm27xx/patches-6.1/950-0699-Bluetooth-hci_sync-Add-fallback-bd-address-prop.patch mediatek/patches-6.1/350-21-cpufreq-mediatek-Add-support-for-MT7988.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=ab0bd172d6289310a05a0cd15e1432e828d386ae 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=6df680709d901346831ef8f221cc90a42062c526 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=5044e5f2511c9afdf9880d2bb6b9d37dfc345dac 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=e27948f329f7e02591ed1feb9a7710c2ccf89a83 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=ad2928e7f3f6120a0bd18aa1056b3b24068027c5 6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=2b55a985727833f37c39911f34096b3fdf2a367d 7. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=90d4c487cd658b51212eb65ae804ab11af193672 8. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=7e3ee25e8c7c7be1eacdfc6d9f5f0e550a2af241 9. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.39&id=b20854ef6c4955be3310975a72f02d92cb01d6d4 Build system: x86/64 Build-tested: x86/64 Run-tested: x86/64 Co-authored-by: Hauke Mehrtens <hauke@hauke-m.de> Co-authored-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: John Audia <therealgraysky@proton.me> [ rebase bcm27xx and mediatek patches, refresh commit description ] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> [ minor fixup to bcm27xx patches, refresh commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
42 lines
1.6 KiB
Diff
42 lines
1.6 KiB
Diff
From 4983a1517e7ddbc6f53fc07607e4ebeb51412843 Mon Sep 17 00:00:00 2001
|
|
From: Sam Shih <sam.shih@mediatek.com>
|
|
Date: Tue, 28 Feb 2023 19:59:22 +0800
|
|
Subject: [PATCH 21/21] cpufreq: mediatek: Add support for MT7988
|
|
|
|
This add cpufreq support for mediatek MT7988 SoC.
|
|
|
|
The platform data of MT7988 is different from previous MediaTek SoCs,
|
|
so we add a new compatible and platform data for it.
|
|
|
|
Signed-off-by: Sam Shih <sam.shih@mediatek.com>
|
|
---
|
|
drivers/cpufreq/mediatek-cpufreq.c | 10 ++++++++++
|
|
1 file changed, 10 insertions(+)
|
|
|
|
--- a/drivers/cpufreq/mediatek-cpufreq.c
|
|
+++ b/drivers/cpufreq/mediatek-cpufreq.c
|
|
@@ -709,6 +709,15 @@ static const struct mtk_cpufreq_platform
|
|
.ccifreq_supported = false,
|
|
};
|
|
|
|
+static const struct mtk_cpufreq_platform_data mt7988_platform_data = {
|
|
+ .min_volt_shift = 100000,
|
|
+ .max_volt_shift = 200000,
|
|
+ .proc_max_volt = 900000,
|
|
+ .sram_min_volt = 0,
|
|
+ .sram_max_volt = 1150000,
|
|
+ .ccifreq_supported = true,
|
|
+};
|
|
+
|
|
static const struct mtk_cpufreq_platform_data mt8183_platform_data = {
|
|
.min_volt_shift = 100000,
|
|
.max_volt_shift = 200000,
|
|
@@ -742,6 +751,7 @@ static const struct of_device_id mtk_cpu
|
|
{ .compatible = "mediatek,mt2712", .data = &mt2701_platform_data },
|
|
{ .compatible = "mediatek,mt7622", .data = &mt7622_platform_data },
|
|
{ .compatible = "mediatek,mt7623", .data = &mt7623_platform_data },
|
|
+ { .compatible = "mediatek,mt7988", .data = &mt7988_platform_data },
|
|
{ .compatible = "mediatek,mt8167", .data = &mt8516_platform_data },
|
|
{ .compatible = "mediatek,mt817x", .data = &mt2701_platform_data },
|
|
{ .compatible = "mediatek,mt8173", .data = &mt2701_platform_data },
|