Skip to content

Commit 7972ddb

Browse files
authored
Fix kernel 6.18/6.19 patch compilation and cleanup upstreamed patches (#9447)
* uefi-arm64-6.18: fix stmmac Phytium driver compilation Remove obsolete 'has_gmac' member assignment from struct plat_stmmacenet_data. The field was removed in newer kernels as MAC version detection is now handled automatically from hardware registers. Fixes compilation error: error: 'struct plat_stmmacenet_data' has no member named 'has_gmac' * meson64-6.19: drop upstreamed odroid regulator boot-on patch The Odroid HC4 regulator-boot-on fix has been upstreamed in kernel 6.19. Original patch: Fixes: 164147f094ec ("arm64: dts: meson-sm1-odroid-hc4: add regulators") Fixes: 45d736ab17b4 ("arm64: dts: meson-sm1-odroid: add 5v regulator gpio") Fixes: 1f80a5cf74a6 ("arm64: dts: meson-sm1-odroid: add missing enable gpio") Fixes: 88d537bc92ca ("arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi") * meson64-6.18: update meson-axg mmc phase configuration Add amlogic,mmc-phase properties to sd_emmc_b and sd_emmc_c nodes for proper MMC timing configuration on Amlogic AXG SoCs. * Disable Pythium onboard nic driver
1 parent 1b74748 commit 7972ddb

4 files changed

Lines changed: 28 additions & 111 deletions

patch/kernel/archive/meson64-6.18/general-meson-mmc-2-arm64-amlogic-dts-meson-update-meson-axg-device-tree.patch

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,30 @@ index 111111111111..222222222222 100644
2323

2424
/ {
2525
compatible = "amlogic,meson-axg";
26-
@@ -1959,6 +1960,7 @@ sd_emmc_b: mmc@5000 {
26+
@@ -1958,10 +1958,11 @@ sd_emmc_b: mmc@5000 {
27+
status = "disabled";
28+
clocks = <&clkc CLKID_SD_EMMC_B>,
2729
<&clkc CLKID_SD_EMMC_B_CLK0>,
2830
<&clkc CLKID_FCLK_DIV2>;
2931
clock-names = "core", "clkin0", "clkin1";
3032
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
3133
resets = <&reset RESET_SD_EMMC_B>;
32-
};
3334

34-
@@ -1972,6 +1974,7 @@ sd_emmc_c: mmc@7000 {
35+
assigned-clocks = <&clkc CLKID_SD_EMMC_B_CLK0>;
36+
assigned-clock-rates = <24000000>;
37+
};
38+
@@ -1973,10 +1974,11 @@ sd_emmc_c: mmc@7000 {
39+
status = "disabled";
40+
clocks = <&clkc CLKID_SD_EMMC_C>,
41+
<&clkc CLKID_SD_EMMC_C_CLK0>,
3542
<&clkc CLKID_FCLK_DIV2>;
3643
clock-names = "core", "clkin0", "clkin1";
37-
resets = <&reset RESET_SD_EMMC_C>;
3844
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
39-
};
45+
resets = <&reset RESET_SD_EMMC_C>;
4046

41-
nfc: nand-controller@7800 {
47+
assigned-clocks = <&clkc CLKID_SD_EMMC_C_CLK0>;
48+
assigned-clock-rates = <24000000>;
49+
};
4250
--
4351
Armbian
4452

patch/kernel/archive/meson64-6.19/board-odroid-sm1-regulators-boot-on.patch

Lines changed: 0 additions & 99 deletions
This file was deleted.

patch/kernel/archive/meson64-6.19/general-meson-mmc-2-arm64-amlogic-dts-meson-update-meson-axg-device-tree.patch

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,22 +23,30 @@ index 111111111111..222222222222 100644
2323

2424
/ {
2525
compatible = "amlogic,meson-axg";
26-
@@ -1959,6 +1960,7 @@ sd_emmc_b: mmc@5000 {
26+
@@ -1958,10 +1958,11 @@ sd_emmc_b: mmc@5000 {
27+
status = "disabled";
28+
clocks = <&clkc CLKID_SD_EMMC_B>,
2729
<&clkc CLKID_SD_EMMC_B_CLK0>,
2830
<&clkc CLKID_FCLK_DIV2>;
2931
clock-names = "core", "clkin0", "clkin1";
3032
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
3133
resets = <&reset RESET_SD_EMMC_B>;
32-
};
3334

34-
@@ -1972,6 +1974,7 @@ sd_emmc_c: mmc@7000 {
35+
assigned-clocks = <&clkc CLKID_SD_EMMC_B_CLK0>;
36+
assigned-clock-rates = <24000000>;
37+
};
38+
@@ -1973,10 +1974,11 @@ sd_emmc_c: mmc@7000 {
39+
status = "disabled";
40+
clocks = <&clkc CLKID_SD_EMMC_C>,
41+
<&clkc CLKID_SD_EMMC_C_CLK0>,
3542
<&clkc CLKID_FCLK_DIV2>;
3643
clock-names = "core", "clkin0", "clkin1";
37-
resets = <&reset RESET_SD_EMMC_C>;
3844
+ amlogic,mmc-phase = <CLK_PHASE_270 CLK_PHASE_0 CLK_PHASE_0>;
39-
};
45+
resets = <&reset RESET_SD_EMMC_C>;
4046

41-
nfc: nand-controller@7800 {
47+
assigned-clocks = <&clkc CLKID_SD_EMMC_C_CLK0>;
48+
assigned-clock-rates = <24000000>;
49+
};
4250
--
4351
Armbian
4452

patch/kernel/archive/uefi-arm64-6.18/net-stmicro-stmmac-Phytium-onboard-ethernet-drivers-and-ACPI-glue-for-6.x.patch renamed to patch/kernel/archive/uefi-arm64-6.18/net-stmicro-stmmac-Phytium-onboard-ethernet-drivers-and-ACPI-glue-for-6.x.patch.disabled

File renamed without changes.

0 commit comments

Comments
 (0)