Kernel: Allwinner: Bump legacy, current and edge kernel

Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
This commit is contained in:
Gunjan Gupta
2023-07-24 15:02:24 +05:30
parent da6c238f79
commit 8195919d44
5 changed files with 25 additions and 20 deletions

View File

@@ -24,17 +24,17 @@ case $BRANCH in
legacy) legacy)
declare -g KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v5.15.120" declare -g KERNELBRANCH="tag:v5.15.121"
;; ;;
current) current)
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v6.1.39" declare -g KERNELBRANCH="tag:v6.1.40"
;; ;;
edge) edge)
declare -g KERNEL_MAJOR_MINOR="6.4" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="6.4" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v6.4.4" declare -g KERNELBRANCH="tag:v6.4.5"
;; ;;
esac esac

View File

@@ -25,17 +25,17 @@ case $BRANCH in
legacy) legacy)
declare -g KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="5.15" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v5.15.120" declare -g KERNELBRANCH="tag:v5.15.121"
;; ;;
current) current)
declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="6.1" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v6.1.39" declare -g KERNELBRANCH="tag:v6.1.40"
;; ;;
edge) edge)
declare -g KERNEL_MAJOR_MINOR="6.4" # Major and minor versions of this kernel. declare -g KERNEL_MAJOR_MINOR="6.4" # Major and minor versions of this kernel.
declare -g KERNELBRANCH="tag:v6.4.4" declare -g KERNELBRANCH="tag:v6.4.5"
;; ;;
esac esac

View File

@@ -1,7 +1,7 @@
From 7c839c85144b311fcc072560f3452c03800a27d3 Mon Sep 17 00:00:00 2001 From caa68e2028b819ccef9ca3996a19c62e6e927723 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com> From: Ondrej Jirman <megous@megous.com>
Date: Wed, 8 Jul 2020 12:21:14 +0200 Date: Wed, 8 Jul 2020 12:21:14 +0200
Subject: [PATCH 386/478] thermal: sun8i: Be loud when probe fails Subject: [PATCH] thermal: sun8i: Be loud when probe fails
I noticed several mobile Linux distributions failing to enable the I noticed several mobile Linux distributions failing to enable the
thermal regulation correctly, because the kernel is silent thermal regulation correctly, because the kernel is silent
@@ -15,10 +15,10 @@ Signed-off-by: Ondrej Jirman <megous@megous.com>
1 file changed, 29 insertions(+), 6 deletions(-) 1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c diff --git a/drivers/thermal/sun8i_thermal.c b/drivers/thermal/sun8i_thermal.c
index d9cd23cbb671..f1abc459e283 100644 index b2a711913193..d74152ce5fe3 100644
--- a/drivers/thermal/sun8i_thermal.c --- a/drivers/thermal/sun8i_thermal.c
+++ b/drivers/thermal/sun8i_thermal.c +++ b/drivers/thermal/sun8i_thermal.c
@@ -288,8 +288,13 @@ static int sun8i_ths_calibrate(struct ths_device *tmdev) @@ -352,8 +352,13 @@ static int sun8i_ths_calibrate(struct ths_device *tmdev)
calcell = devm_nvmem_cell_get(dev, "calibration"); calcell = devm_nvmem_cell_get(dev, "calibration");
if (IS_ERR(calcell)) { if (IS_ERR(calcell)) {
@@ -32,7 +32,7 @@ index d9cd23cbb671..f1abc459e283 100644
/* /*
* Even if the external calibration data stored in sid is * Even if the external calibration data stored in sid is
* not accessible, the THS hardware can still work, although * not accessible, the THS hardware can still work, although
@@ -309,6 +314,8 @@ static int sun8i_ths_calibrate(struct ths_device *tmdev) @@ -373,6 +378,8 @@ static int sun8i_ths_calibrate(struct ths_device *tmdev)
caldata = nvmem_cell_read(calcell, &callen); caldata = nvmem_cell_read(calcell, &callen);
if (IS_ERR(caldata)) { if (IS_ERR(caldata)) {
ret = PTR_ERR(caldata); ret = PTR_ERR(caldata);
@@ -41,7 +41,7 @@ index d9cd23cbb671..f1abc459e283 100644
goto out; goto out;
} }
@@ -331,23 +338,33 @@ static int sun8i_ths_resource_init(struct ths_device *tmdev) @@ -400,13 +407,17 @@ static int sun8i_ths_resource_init(struct ths_device *tmdev)
return PTR_ERR(base); return PTR_ERR(base);
tmdev->regmap = devm_regmap_init_mmio(dev, base, &config); tmdev->regmap = devm_regmap_init_mmio(dev, base, &config);
@@ -59,7 +59,12 @@ index d9cd23cbb671..f1abc459e283 100644
return PTR_ERR(tmdev->reset); return PTR_ERR(tmdev->reset);
+ } + }
tmdev->bus_clk = devm_clk_get(&pdev->dev, "bus"); ret = reset_control_deassert(tmdev->reset);
if (ret)
@@ -418,14 +429,20 @@ static int sun8i_ths_resource_init(struct ths_device *tmdev)
return ret;
tmdev->bus_clk = devm_clk_get_enabled(&pdev->dev, "bus");
- if (IS_ERR(tmdev->bus_clk)) - if (IS_ERR(tmdev->bus_clk))
+ if (IS_ERR(tmdev->bus_clk)) { + if (IS_ERR(tmdev->bus_clk)) {
+ dev_err(dev, "Failed to get bus clock (%pe)\n", + dev_err(dev, "Failed to get bus clock (%pe)\n",
@@ -69,7 +74,7 @@ index d9cd23cbb671..f1abc459e283 100644
} }
if (tmdev->chip->has_mod_clk) { if (tmdev->chip->has_mod_clk) {
tmdev->mod_clk = devm_clk_get(&pdev->dev, "mod"); tmdev->mod_clk = devm_clk_get_enabled(&pdev->dev, "mod");
- if (IS_ERR(tmdev->mod_clk)) - if (IS_ERR(tmdev->mod_clk))
+ if (IS_ERR(tmdev->mod_clk)) { + if (IS_ERR(tmdev->mod_clk)) {
+ dev_err(dev, "Failed to get mod clock (%pe)\n", + dev_err(dev, "Failed to get mod clock (%pe)\n",
@@ -78,8 +83,8 @@ index d9cd23cbb671..f1abc459e283 100644
+ } + }
} }
ret = reset_control_deassert(tmdev->reset); ret = clk_set_rate(tmdev->mod_clk, 24000000);
@@ -472,8 +489,12 @@ static int sun8i_ths_register(struct ths_device *tmdev) @@ -553,8 +570,12 @@ static int sun8i_ths_register(struct ths_device *tmdev)
i, i,
&tmdev->sensor[i], &tmdev->sensor[i],
&ths_ops); &ths_ops);
@@ -93,7 +98,7 @@ index d9cd23cbb671..f1abc459e283 100644
if (devm_thermal_add_hwmon_sysfs(tmdev->sensor[i].tzd)) if (devm_thermal_add_hwmon_sysfs(tmdev->sensor[i].tzd))
dev_warn(tmdev->dev, dev_warn(tmdev->dev,
@@ -524,8 +545,10 @@ static int sun8i_ths_probe(struct platform_device *pdev) @@ -605,8 +626,10 @@ static int sun8i_ths_probe(struct platform_device *pdev)
ret = devm_request_threaded_irq(dev, irq, NULL, ret = devm_request_threaded_irq(dev, irq, NULL,
sun8i_irq_thread, sun8i_irq_thread,
IRQF_ONESHOT, "ths", tmdev); IRQF_ONESHOT, "ths", tmdev);
@@ -106,5 +111,5 @@ index d9cd23cbb671..f1abc459e283 100644
return 0; return 0;
} }
-- --
2.35.3 2.34.1

View File

@@ -298,7 +298,7 @@
patches.megous/mfd-rk808-Drop-reset-handlers-for-rk805-rk808-and-rk818.patch patches.megous/mfd-rk808-Drop-reset-handlers-for-rk805-rk808-and-rk818.patch
patches.megous/arm64-dts-rk3399-pinebook-pro-Fix-USB-PD-charging.patch patches.megous/arm64-dts-rk3399-pinebook-pro-Fix-USB-PD-charging.patch
patches.megous/usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch patches.megous/usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch
patches.megous/drm-sun4i-Fix-wrong-location-of-clk_prepare_enable.patch - patches.megous/drm-sun4i-Fix-wrong-location-of-clk_prepare_enable.patch
patches.megous/drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch patches.megous/drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch
patches.megous/2-drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch patches.megous/2-drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch
patches.megous/drm-sun4i-Implement-gamma-correction.patch patches.megous/drm-sun4i-Implement-gamma-correction.patch

View File

@@ -301,7 +301,7 @@
patches.megous/arm64-dts-rk3399-pinebook-pro-Fix-USB-PD-charging.patch patches.megous/arm64-dts-rk3399-pinebook-pro-Fix-USB-PD-charging.patch
- patches.megous/pinctrl-sunxi-Fix-misleading-lockdep-deadlock-warning.patch - patches.megous/pinctrl-sunxi-Fix-misleading-lockdep-deadlock-warning.patch
patches.megous/usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch patches.megous/usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch
patches.megous/drm-sun4i-Fix-wrong-location-of-clk_prepare_enable.patch - patches.megous/drm-sun4i-Fix-wrong-location-of-clk_prepare_enable.patch
patches.megous/drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch patches.megous/drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch
patches.megous/2-drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch patches.megous/2-drm-panel-st7703-Improve-the-power-up-sequence-of-the-panel.patch
patches.megous/drm-sun4i-Implement-gamma-correction.patch patches.megous/drm-sun4i-Implement-gamma-correction.patch