Skip to content

Commit a3dd752

Browse files
EvilOlafigorpecovnik
authored andcommitted
rewrite patches
1 parent 8595a4e commit a3dd752

6 files changed

Lines changed: 19 additions & 39 deletions

patch/kernel/archive/sunxi-6.18/patches.armbian/Add-sunxi-addr-driver-Used-to-fix-uwe5622-bluetooth-MAC-address.patch

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ Subject: Add sunxi-addr driver - Used to fix uwe5622 bluetooth MAC addresses
1313
6 files changed, 547 insertions(+)
1414

1515
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
16-
index 291019de59f2..658356028d1f 100644
16+
index 111111111111..222222222222 100644
1717
--- a/drivers/misc/Kconfig
1818
+++ b/drivers/misc/Kconfig
19-
@@ -673,6 +673,7 @@ source "drivers/misc/uacce/Kconfig"
20-
source "drivers/misc/pvpanic/Kconfig"
21-
source "drivers/misc/mchp_pci1xxxx/Kconfig"
19+
@@ -675,4 +675,5 @@ source "drivers/misc/mchp_pci1xxxx/Kconfig"
2220
source "drivers/misc/keba/Kconfig"
2321
source "drivers/misc/amd-sbi/Kconfig"
2422
source "drivers/misc/rp1/Kconfig"
@@ -28,9 +26,9 @@ diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
2826
index 111111111111..222222222222 100644
2927
--- a/drivers/misc/Makefile
3028
+++ b/drivers/misc/Makefile
31-
@@ -76,3 +76,4 @@ obj-$(CONFIG_MCHP_LAN966X_PCI) += lan966x-pci.o
32-
obj-y += keba/
29+
@@ -77,3 +77,4 @@ obj-y += keba/
3330
obj-y += amd-sbi/
31+
obj-$(CONFIG_MISC_RP1) += rp1/
3432
obj-$(CONFIG_MODEM_POWER) += modem-power.o
3533
+obj-$(CONFIG_SUNXI_ADDR_MGT) += sunxi-addr/
3634
diff --git a/drivers/misc/sunxi-addr/Kconfig b/drivers/misc/sunxi-addr/Kconfig

patch/kernel/archive/sunxi-6.18/patches.armbian/arm-dts-overlay-Add-Overlays-for-sunxi.patch

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,8 @@ Subject: arm:dts:overlay Add Overlays for sunxi
100100
arch/arm/boot/dts/allwinner/overlay/sun8i-r40-uart4.dtso | 22 +
101101
arch/arm/boot/dts/allwinner/overlay/sun8i-r40-uart5.dtso | 22 +
102102
arch/arm/boot/dts/allwinner/overlay/sun8i-r40-uart7.dtso | 22 +
103-
96 files changed, 4174 insertions(+)
103+
96 files changed, 4174 insertions(+)
104104

105-
106-
diff --git a/arch/arm/boot/dts/allwinner/Makefile b/arch/arm/boot/dts/allwinner/Makefile
107-
index f71392a55df8..0d5dae7246f7 100644
108-
--- a/arch/arm/boot/dts/allwinner/Makefile
109-
+++ b/arch/arm/boot/dts/allwinner/Makefile
110-
@@ -279,5 +279,7 @@ dtb-$(CONFIG_MACH_SUN9I) += \
111-
sun9i-a80-cubieboard4.dtb
112-
dtb-$(CONFIG_MACH_SUNIV) += \
113-
suniv-f1c100s-licheepi-nano.dtb \
114-
suniv-f1c200s-lctech-pi.dtb \
115-
suniv-f1c200s-popstick-v1.1.dtb
116-
+
117-
+subdir-y := overlay
118105
diff --git a/arch/arm/boot/dts/allwinner/overlay/Makefile b/arch/arm/boot/dts/allwinner/overlay/Makefile
119106
new file mode 100644
120107
index 000000000000..111111111111

patch/kernel/archive/sunxi-6.18/patches.armbian/cb1-overlay.patch

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Subject: cb1-overlay
1616
arch/arm64/boot/dts/allwinner/overlay/sun50i-h616-spidev1_2.dtso | 28 +++
1717
arch/arm64/boot/dts/allwinner/overlay/sun50i-h616-tft35_spi.dtso | 33 +++
1818
arch/arm64/boot/dts/allwinner/overlay/sun50i-h616-ws2812.dtso | 13 ++
19-
12 files changed, 374 insertions(+), 2 deletions(-)
19+
scripts/Makefile.lib | 11 +
20+
13 files changed, 385 insertions(+), 2 deletions(-)
2021

2122
diff --git a/arch/arm64/boot/dts/allwinner/overlay/Makefile b/arch/arm64/boot/dts/allwinner/overlay/Makefile
2223
index 111111111111..222222222222 100644
@@ -476,12 +477,10 @@ index 000000000000..111111111111
476477
+ };
477478
+};
478479
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
479-
index 1d581ba5df66..453a87ae4fad 100644
480+
index 111111111111..222222222222 100644
480481
--- a/scripts/Makefile.lib
481482
+++ b/scripts/Makefile.lib
482-
@@ -364,10 +364,19 @@ quiet_cmd_lz4 = LZ4 $@
483-
484-
quiet_cmd_lz4_with_size = LZ4 $@
483+
@@ -366,6 +366,15 @@ quiet_cmd_lz4_with_size = LZ4 $@
485484
cmd_lz4_with_size = { cat $(real-prereqs) | $(LZ4) -l -9 - -; \
486485
$(size_append); } > $@
487486

@@ -497,11 +496,7 @@ index 1d581ba5df66..453a87ae4fad 100644
497496
# U-Boot mkimage
498497
# ---------------------------------------------------------------------------
499498

500-
MKIMAGE := $(srctree)/scripts/mkuboot.sh
501-
502-
@@ -487,5 +496,7 @@ define filechk_offsets
503-
echo ""; \
504-
sed -ne $(sed-offsets) < $<; \
499+
@@ -489,3 +498,5 @@ define filechk_offsets
505500
echo ""; \
506501
echo "#endif"
507502
endef

patch/kernel/archive/sunxi-6.18/patches.armbian/drv-gpu-drm-sun4i-sun8i_mixer.c-add-h3-mixer1.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: The-going <[email protected]>
33
Date: Tue, 1 Feb 2022 19:37:03 +0300
44
Subject: drv:gpu:drm:sun4i:sun8i_mixer.c add h3 mixer1

patch/kernel/archive/sunxi-6.18/patches.armbian/drv-mfd-axp20x-add-sysfs-interface.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
From 2a8a9e3104ce70230ca67a39fd406d84662e77b2 Mon Sep 17 00:00:00 2001
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
22
From: The-going <[email protected]>
33
Date: Tue, 1 Feb 2022 21:38:26 +0300
44
Subject: drv:mfd:axp20x add sysfs interface
55

66
---
7-
drivers/mfd/axp20x.c | 614 +++++++++++++++++++++++++++++++++++++++++++
7+
drivers/mfd/axp20x.c | 614 ++++++++++
88
1 file changed, 614 insertions(+)
99

1010
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
11-
index 96a675f525cd..79640e22efa7 100644
11+
index 111111111111..222222222222 100644
1212
--- a/drivers/mfd/axp20x.c
1313
+++ b/drivers/mfd/axp20x.c
1414
@@ -85,6 +85,7 @@ static const struct regmap_range axp20x_volatile_ranges[] = {
@@ -19,7 +19,7 @@ index 96a675f525cd..79640e22efa7 100644
1919
regmap_reg_range(AXP20X_FG_RES, AXP20X_RDC_L),
2020
};
2121

22-
@@ -1302,6 +1303,611 @@ static int axp20x_power_off(struct sys_off_data *data)
22+
@@ -1301,6 +1302,611 @@ static int axp20x_power_off(struct sys_off_data *data)
2323
return NOTIFY_DONE;
2424
}
2525

@@ -631,7 +631,7 @@ index 96a675f525cd..79640e22efa7 100644
631631
int axp20x_match_device(struct axp20x_dev *axp20x)
632632
{
633633
struct device *dev = axp20x->dev;
634-
@@ -1502,6 +2108,10 @@ int axp20x_device_probe(struct axp20x_dev *axp20x)
634+
@@ -1501,6 +2107,10 @@ int axp20x_device_probe(struct axp20x_dev *axp20x)
635635
if (axp20x->variant != AXP288_ID)
636636
devm_register_power_off_handler(axp20x->dev, axp20x_power_off, axp20x);
637637

@@ -642,7 +642,7 @@ index 96a675f525cd..79640e22efa7 100644
642642
dev_info(axp20x->dev, "AXP20X driver loaded\n");
643643

644644
return 0;
645-
@@ -1510,6 +2120,10 @@ EXPORT_SYMBOL(axp20x_device_probe);
645+
@@ -1509,6 +2119,10 @@ EXPORT_SYMBOL(axp20x_device_probe);
646646

647647
void axp20x_device_remove(struct axp20x_dev *axp20x)
648648
{
@@ -654,5 +654,5 @@ index 96a675f525cd..79640e22efa7 100644
654654
regmap_del_irq_chip(axp20x->irq, axp20x->regmap_irqc);
655655
}
656656
--
657-
2.51.0
657+
Armbian
658658

patch/kernel/archive/sunxi-6.18/patches.megous/fixes-6.18/0019-usb-serial-option-add-reset_resume-callback-for-WWAN.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
2020
index 111111111111..222222222222 100644
2121
--- a/drivers/usb/serial/option.c
2222
+++ b/drivers/usb/serial/option.c
23-
@@ -2520,6 +2520,7 @@ static struct usb_serial_driver option_1port_device = {
23+
@@ -2536,6 +2536,7 @@ static struct usb_serial_driver option_1port_device = {
2424
#ifdef CONFIG_PM
2525
.suspend = usb_wwan_suspend,
2626
.resume = usb_wwan_resume,

0 commit comments

Comments
 (0)