Commit Graph

1787 Commits

Author SHA1 Message Date
coolsnowwolf
66d86d2371 scripts: sync with upstream 2022-10-19 20:39:19 +08:00
coolsnowwolf
8130834aff rockchip: add rockchip-crypto support for rk3568/rk3588 2022-10-19 20:03:59 +08:00
lovehackintosh
8ec6c444f8
rockchip: fix Makefile format (#10275)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-10-19 15:55:22 +08:00
Daniel Golle
04737cae7c mediatek: filogic: don't rely on image preset in flash or sysupgrade
Instead of trying to figure out the actual root device, just use the
kernel 'root' cmdline parameter as a hint to decide which device to
flash to.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-19 10:22:07 +08:00
Daniel Golle
69adcb2fa1 mediatek: filogic: use UBI fast map to speed up boot
Use UBI fast map feature to avoid scanning the whole flash on each
boot which takes several seconds.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-19 10:21:17 +08:00
Daniel Golle
072de63901 mediatek: don't break auxadc without 32k clk
Make the newly added 32k clock optional for the auxadc driver also used
on pre-filogic platforms.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-19 10:20:35 +08:00
coolsnowwolf
0421b51933 ipq60xx: add ath11k-firmware-ipq6018 2022-10-18 13:56:12 +08:00
coolsnowwolf
3eddaf9e60 ipq60xx: add Linksys MR7350 support 2022-10-18 13:38:14 +08:00
AmadeusGhost
60facd3138 rockchip: enable support for opc-h68k 2022-10-18 11:25:34 +08:00
AmadeusGhost
2a911a7e00 rockchip: add yt8531c driver from net-next 2022-10-18 11:20:51 +08:00
AmadeusGhost
b98efa18fd rockchip: fixes drm module dependencies 2022-10-18 11:19:09 +08:00
AmadeusGhost
7ff615dafc rockchip: add kernel 6.0 support 2022-10-18 11:15:29 +08:00
AmadeusGhost
8f3829bd9e generic: add missing config for kernel 6.0 2022-10-18 11:01:14 +08:00
AmadeusGhost
ca7f48be37 rockchip: remove kernel 5.19 support
Also removed some bugly drivers.
2022-10-18 10:50:11 +08:00
Bruno Umuarama
1f89c35a40 mediatek: mt7623: fix thermal zone
Raising the temperatures for passive and active trips. @VA1DER
proposed at issue 9396 to remove passive trip. This commit relates to
his suggestion.

Without this patch. the CPU will be throttled all the way down to 98MHz
if the temperature rises even a degree above the trip point, and it was
further discovered that if the internal temperature of the device is
above the first trip point temperature when it boots then it will start
in a throttled state and even
$ echo disabled > /sys/class/thermal/thermal_zone0/mode
will have no effect.

The patch increases the passive trip point and active cooling map. The
throttling temperature will then be at 77°C and 82°C, which is still a
low enough temperature for ARM devices to not be in the real danger
zone, and gives some operational headroom.

Signed-off-by: Bruno Umuarama <anonimou_eu@hotmail.com>
2022-10-17 23:25:07 +08:00
Felix Fietkau
4aa78063c6 mediatek: clean up mt7622 kernel config
Remove a few unused options to reduce kernel size

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-10-17 23:24:32 +08:00
Felix Fietkau
484da47262 kernel: add missing lockdep config symbols for 5.15
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-10-17 23:23:23 +08:00
Felix Fietkau
9e90121e2c kernel: remove target specific CONFIG_IKCONFIG lines
Use generic configuration for this feature

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-10-17 23:22:35 +08:00
Daniel Golle
181d7a1d88 mediatek: filogic: set correct PWM clock and clean thermal zone
* set correct clocks for PWM to work.
 * MT7986 PWM does have the 26MHz-clock-select, set that in patch
 * drop useless 'passive' trip point in thermal zone
 * extend pwm-fan to have 3 active operating points
 * set reasonable trip points in thermal zone
 * invert pwm-fan operating points and set shorter period to allow
   less noisy operation of the PWM fan of the BPi-R3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-17 23:20:28 +08:00
coolsnowwolf
518f59ad64 generic: enable MGLRU support for Linux 6.0 2022-10-17 10:28:21 +08:00
lovehackintosh
37c134045b
kernel: bump 5.15 to 5.15.74 (#10263)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-16 15:15:29 +00:00
coolsnowwolf
351d4bb63b kernel: backport MGLRU to linux 6.0 for Tianling Shen 2022-10-16 02:16:00 +08:00
coolsnowwolf
4e5666234c x86: add rts5139 patch for 5.15/5.19/6.0 2022-10-15 00:52:25 +08:00
coolsnowwolf
9c28cbaf04 x86: move rts5139 driver to geneic 2022-10-14 14:32:27 +08:00
coolsnowwolf
496cf229fc x86: switch test kernel to 6.0 2022-10-14 14:25:19 +08:00
coolsnowwolf
9df30a2e36 kernel: fix linux 6.0 drm support 2022-10-14 14:10:12 +08:00
coolsnowwolf
677b831c3d kernel: add linux 6.0 stable release support 2022-10-14 12:33:52 +08:00
aakkll
0a4a1af37f
kernel: bump 5.19 to 5.19.15 (#10247)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>

Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2022-10-12 23:49:44 +08:00
coolsnowwolf
5c42490cf1 x86: add Realtek USB 2.0 card readers boot support for ChangWang CW56-58 2022-10-10 23:21:49 +08:00
coolsnowwolf
0dec08d9e2 x86: add amd Ryzen APU vage/rdna gpu support 2022-10-10 17:06:54 +08:00
coolsnowwolf
311c9aabf5 x86: add support for AMD Zen CPU temperature sensor 2022-10-10 15:10:15 +08:00
Daniel Golle
d4c760d9ce mediatek: filogic: enable thermal, I2C and PWM of the BPi-R3
Setup thermal zone, select pins and enabled drivers for I2C (on 26-pin
GPIO bank) and PWM (1x fan and 1x GPIO bank).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-08 11:16:04 +08:00
Daniel Golle
c99fce459b mediatek: filogic: add support for hw i2c, pwm and thermal
Add support for hardware I2C and PWM units found in the Filogic SoCs
as well as the CPU thermal support.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-08 11:15:15 +08:00
AmadeusGhost
3929a9889f kernel/5.4: backport mtd parser for Sercomm parts
Fixes: #10143
2022-10-07 12:36:53 +08:00
lovehackintosh
6d2b34758c
kernel: bump 5.19 to 5.19.14 (#10228)
* kernel: bump 5.19 to 5.19.13

All patches automatically rebased

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

* kernel: bump 5.19 to 5.19.14

All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-06 15:27:38 +08:00
lovehackintosh
bffd77b6d9
kernel: bump 5.15 to 5.15.72 (#10230)
Removed upstreamed:
generic/pending-5.15/722-net-mt7531-only-do-PLL-once-after-the-reset.patch

All other patches automatically rebased.

Signen-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-06 10:55:42 +08:00
lovehackintosh
832a08ef65
kernel: bump 5.10 to 5.10.147 (#10231)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-06 10:54:03 +08:00
lovehackintosh
3a1e4116fd
kernel: bump 5.4 to 5.4.216 (#10232)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-06 10:53:27 +08:00
Daniel Golle
eb0b70bf52 mediatek: add support t-phy settings from efuse on MT7986
Import patches from mtk-openwrt-feeds (MTK SDK) to support reading
t-phy settings affecting PCIe as well as USB2 and USB3 from efuse.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-04 11:32:23 +08:00
Daniel Golle
e4e20c700c mediatek: filogic: add efuse layout to mt7986a.dtsi
efuse is used to store board-specific settings of some of the in-SoC
peripherals. Add it to device tree, so it gets probed on boot and can
be accessed by other drivers.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-04 11:31:34 +08:00
Daniel Golle
7f66edbb96 mediatek: add patch allowing 1-byte wide access to efuse
Allow byte-wise access to mtk-efuse as some drivers require that.
Patch imported from mtk-openwrt-feeds (MTK SDK).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-04 11:30:06 +08:00
Mark King
e0afff0ccd ramips: enable LZMA loader to fix Linksys RE6500 boot
At some point after 21.02.3 and before 22.03.0, the size limits of the
Linksys RE6500 were reached and prevent booting from the 22.03.0 release
or builds of current SNAPSHOT. This patch allows builds of master to boot
again and has been tested on my device.

Signed-off-by: Mark King <mark@vemek.co>
2022-10-04 11:29:05 +08:00
lovehackintosh
56bf33b686
kernel: bump 5.15 to 5.15.71 (#10203)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-01 01:33:09 +08:00
lovehackintosh
13ac208389
kernel: bump 5.10 to 5.10.146 (#10204)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-01 01:31:38 +08:00
lovehackintosh
236af7db50
kernel: bump 5.4 to 5.4.215 (#10205)
All patches automatically rebased.

Signed-off-by: Liu Linhui <liulinhui36@gmail.com>
2022-10-01 01:30:36 +08:00
AmadeusGhost
35f20da58d rockchip: rock3a: fixes pcie3 support 2022-09-30 22:32:09 +08:00
Felix Fietkau
dde7a41246 kernel: move ubnt ledbar driver to a separate package
Simplifies the tree by removing a non-upstream kernel patch
and related kconfig symbols.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-30 22:26:36 +08:00
Felix Fietkau
2dcfcb852e kernel: fold lzma debloat patch into the patch adding the code
Reduces the number of hack patches

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-30 22:25:38 +08:00
Felix Fietkau
4b6fd08298 kernel: remove hack patch, move kirkwood specific kmods to target modules.mk
Tweaking the KCONFIG line of kmod-ata-marvell-sata makes the hack patch
unnecessary

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-09-30 21:35:47 +08:00
coolsnowwolf
2becaf8682 rockchip: add gic MSI DMA workaround for FastRhino R66S/R68S from Flippy 2022-09-30 11:47:42 +08:00