Commit Graph

287 Commits

Author SHA1 Message Date
coolsnowwolf
5969d62e82 rockchip: add kernel 6.1 support for R5C 2023-03-29 18:25:11 +08:00
coolsnowwolf
e0e0e9c9cb rockchip: add FriendlyElec NanoPi R5C support 2023-03-29 18:13:02 +08:00
Kyosuke Nekoyashiki
85fc52c36e mac80211: fixes ath10k sdio support 2023-03-25 23:09:00 +08:00
aiamadeus
edcc283381 r8169: add LED configuration from OF 2023-03-25 23:05:16 +08:00
aiamadeus
ae12d2f77b rockchip: refresh kernel 5.15 config
Also fixes: #11019
2023-03-24 22:28:07 +08:00
aiamadeus
45898e59c5 rockchip: add support for HINLINK OPC-H69K 2023-03-24 22:25:08 +08:00
AmadeusGhost
f9f0739a2b rockchip: move common used parts to dtsi for m68s 2023-03-22 23:08:19 +08:00
mleaf
229ba8e4a3
rockchip: add support for EZPRO Mrkaio M68S PLUS (#11020)
Specifications:

  CPU: RK3568B2 up to 2.0GHz
  NPU: 1TOPS
  RAM: 4GB
  Storage: 32G EMMC
  Ethernet: 2x 2.5G ports

Signed-off-by: mleaf <mleaf90@gmail.com>
2023-03-21 14:20:33 +00:00
lovehackintosh
89e25b5a13
kernel: bump 5.15 to 5.15.103 (#11017)
Fixes sb commit: 138af4d ("kernel: refresh patch")
2023-03-19 11:31:49 +08:00
aakkll
4bb2f2f4d3
kernel: bump 6.1 to 6.1.20 (#11013) 2023-03-17 10:09:00 +00:00
骷髅头
138af4d3cf
kernel:refresh patch (#11005)
* kernel: bump 5.15 to 5.15.102

* kernel:refresh patch
2023-03-16 20:33:33 +08:00
aiamadeus
4d64db761e rockchip: replace yt8531 patches with upstream 2023-03-12 18:40:31 +08:00
aakkll
0f03d8c619
kernel: bump 6.1 to 6.1.16 (#10983)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-03-11 11:26:29 +08:00
aiamadeus
82690d6c5a rockchip: sync dts changes from upstream 2023-03-05 22:03:37 +08:00
aakkll
84f10c38ce
kernel: bump to 5.4.234, 5.15.97, 6.1.15 (#10959)
Signed-off-by: aakkll <94471752+aakkll@users.noreply.github.com>
2023-03-04 10:07:21 +08:00
aakkll
d97f82d381
kernel: bump 5.15 to 5.15.96 (#10957) 2023-03-03 11:01:43 +00:00
Lollipop907
13c63d62db
Add GSM module support for MPC1903 (#10944)
* Update 02_network

* Add GSM Module Support

* fix build fail
2023-03-01 13:28:58 +08:00
coolsnowwolf
21fa87f194 rockchip: add Rongpin King3399 wireless AP mode support 2023-02-27 18:02:01 +08:00
coolsnowwolf
4fe620f842 Revert "rockchip: add FriendlyElec NanoPi R5C support"
This reverts commit 62133a8392.
Closed: #10883, #10890
2023-02-08 21:53:57 +08:00
1054009064
8336b817ec
rockchip: fix cannot stat dtb file (#10885) 2023-02-07 23:14:20 +08:00
coolsnowwolf
b52193a031 kernel: bump 6.1 to 6.1.10 2023-02-06 18:15:52 +08:00
Nuc
62133a8392
rockchip: add FriendlyElec NanoPi R5C support
* add NanoPi R5C board

* Update armv8.mk

* Delete nanopi-r5c.bootscript

---------

Co-authored-by: coolsnowwolf <31687149+coolsnowwolf@users.noreply.github.com>
2023-02-06 18:03:27 +08:00
lovehackintosh
26b859543a
kernel: bump to 5.10.166, 5.15.91, 6.1.9 (#10842)
* kernel: bump 5.15 to 5.15.91

* kernel: bump 6.1 to 6.1.9

* kernel: bump 5.10 to 5.10.166
2023-02-01 18:21:28 +08:00
Lollipop907
ff68c93d9b
rockchip:fix build failure and change network for MPC1903 (#10837)
* Update armv8.mk

* Update 02_network
2023-01-31 12:55:50 +08:00
coolsnowwolf
c875033c44 rockchip: fix dts patch for Ariaboard Photonicat 2023-01-25 20:38:08 +08:00
lovehackintosh
7e01fac6fc
kernel: bump to 5.4.230, 5.10.165, 5.15.90 (#10803)
* kernel: bump 5.4 to 5.4.230

* kernel: bump 5.10 to 5.10.165

* kernel: bump 5.15 to 5.15.90
2023-01-25 00:35:11 +08:00
lovehackintosh
0a113ed61b
kernel: bump 6.1 to 6.1.8 (#10802)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2023-01-24 22:02:12 +08:00
AmadeusGhost
9fe455c514 rockchip: add support for Ariaboard Photonicat
This commit add basic support for Photonicat Board.

Flash into lede:
  Run first: dd if=openwrt-xxx.img of=/dev/mmcblk0
  Then brush the img file to sdcard and insert it,
  the system will boot from above.

Note:
  Since rockchip does not release any code to power up their
  device, disabled emmc for now until we can remove rkbin.
2023-01-24 21:39:13 +08:00
AmadeusGhost
0dc779bf6c rfkill: enable for rockchip by default
This is useful for 4G modem chips. For example,
the Radxa E25 supports insert two modems.
2023-01-24 21:10:37 +08:00
Lollipop907
b77ab3b9ef rockchip: set network for MPC1903 (#10794) 2023-01-23 22:02:03 +08:00
AmadeusGhost
8d54436f94 rockchip: cleanup device tree files 2023-01-22 22:10:52 +08:00
Lollipop907
ae17e3b40d
Add support for Rocktech MPC1903 (#10779)
* Update Makefile

Add Support For Rocktech MPC1903

* Add support for Rocktech MPC1903

* Add support for Rocktech MPC1903

* Update armv8.mk

* Add support for Rocktech MPC1903

* Add support for Rocktech MPC1903

* Update armv8.mk

* Update rk3399-mpc1903.dts

* Add support for Rocktech MPC1903

* Update rk3399-mpc1903.dts

* Add support for Rocktech MPC1903

* Add support for Rocktech MPC1903

* Update armv8.mk

* Delete mpc1903.bootscript

* Add rk3399-mpc1903.dts

* Add support for Rocktech MPC1903
2023-01-21 14:06:15 +08:00
AmadeusGhost
dd6c384a06 rockchip: increase default cma size to 64MB 2023-01-18 21:00:54 +08:00
AmadeusGhost
7488a31bb6 rockchip: fixes drm module depends
Also refresh kernel config.
Fixes: #10715
2023-01-03 20:10:31 +08:00
coolsnowwolf
8ab47a669f rockchip: fix NanoPi R2C stmmac phy 2023-01-02 18:16:54 +08:00
lovehackintosh
547fc7765c
kernel: bump 5.15 to 5.15.86 (#10708)
* kernel: bump 5.15 to 5.15.86

Removed upstreamed:
  pending-5.15/101-Use-stddefs.h-instead-of-compiler.h.patch[1]
  ipq60xx/patches-5.15/0171-arm64-dts-qcom-ipq6018-cp01-c1-use-BLSPI1-pins.patch
  ipq806x/patches-5.15/122-01-clk-qcom-clk-krait-fix-wrong-div2-functions.patch[2]
  ipq60xx/patches-5.15/0139-arm64-dts-qcom-Correct-QMP-PHY-child-node-name.patch
  ipq60xx/patches-5.15/0005-v5.16-arm64-dts-qcom-Correct-QMP-PHY-child-node-name.patch
  ipq807x/patches-5.15/0004-v5.16-arm64-dts-qcom-Correct-QMP-PHY-child-node-name.patch
  bcm27xx/patches-5.15/950-0198-drm-fourcc-Add-packed-10bit-YUV-4-2-0-format.patch[3]

Manually rebased:
  ramips/patches-5.15/100-PCI-mt7621-Add-MediaTek-MT7621-PCIe-host-controller-.patch[4]

Added patch/backported:
  ramips/patches-5.15/107-PCI-mt7621-Add-sentinel-to-quirks-table.patch[5]

All other patches automatically rebased.

1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.86&id=c160505c9b574b346031fdf2c649d19e7939ca11
2. Cannot find in the stable tree but it is here: a051e10bfc
3. ec1727f89e
4. Quilt gave this output when I applied the patch to rebase it:
% quilt push -f
Applying patch platform/100-PCI-mt7621-Add-MediaTek-MT7621-PCIe-host-controller-.patch
patching file arch/mips/ralink/Kconfig
patching file drivers/pci/controller/Kconfig
patching file drivers/pci/controller/Makefile
patching file drivers/staging/Kconfig
patching file drivers/staging/Makefile
patching file drivers/staging/mt7621-pci/Kconfig
patching file drivers/staging/mt7621-pci/Makefile
patching file drivers/staging/mt7621-pci/TODO
patching file drivers/staging/mt7621-pci/mediatek,mt7621-pci.txt
patching file drivers/staging/mt7621-pci/pci-mt7621.c
Hunk #1 FAILED at 1.
Not deleting file drivers/staging/mt7621-pci/pci-mt7621.c as content differs from patch
1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/mt7621-pci/pci-mt7621.c.rej
patching file drivers/pci/controller/pcie-mt7621.c
Applied patch platform/100-PCI-mt7621-Add-MediaTek-MT7621-PCIe-host-controller-.patch (forced; needs refresh)

Upon inspecting drivers/staging/mt7621-pci/pci-mt7621.c.rej, it seems that
the original patch wants to delete drivers/staging/mt7621-pci/pci-mt7621.c
but upstream's version was not an exact match.  I opted to delete that file
and need some feedback.  Was that the correct course of action?

5. Suggestion by hauke: 19098934f9
"This patch is in upstream kernel, but it was backported to the old
staging driver in kernel 5.15."

Build system: x86_64
Build-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod
Run-tested: bcm2711/RPi4B, filogic/xiaomi_redmi-router-ax6000-ubootmod

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>

* oxnas: sata_oxnas: use ata_link_err

Kernel 5.15.86 has backported ("ata: libata: move ata_{port,link,dev}_dbg
to standard pr_XXX() macros") and this is now causing compilation errors
for oxnas SATA driver due to usage of ata_link_printk().

Upstream has migrated to using the appropriate
ata_link_{err, warn, notice, info} calls a while ago so its not affected.

Lets do the same for oxnas SATA driver and use ata_link_err() instead of
ata_link_printk().

Signed-off-by: Robert Marko <robimarko@gmail.com>

Signed-off-by: John Audia <therealgraysky@proton.me>
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
Signed-off-by: Robert Marko <robimarko@gmail.com>
Co-authored-by: John Audia <therealgraysky@proton.me>
Co-authored-by: Robert Marko <robimarko@gmail.com>
2023-01-02 14:11:40 +08:00
coolsnowwolf
55ce447162 rockchip: add usb-serial cp210x for HINLINK H66K/H68K 2023-01-01 16:18:44 +08:00
coolsnowwolf
25f88e06fd rockchip: fix hinlink_common target 2022-12-30 13:38:11 +08:00
AmadeusGhost
c00325af3f rockchip: add support for HINLINK OPC-H66K 2022-12-30 12:56:36 +08:00
AmadeusGhost
526fd6d342 treewide: move some patches into generic 5.15
These patchs are suitable for all targets rather
than a specific target.
2022-12-30 12:39:43 +08:00
coolsnowwolf
ea6e00d909 rockchip: add wireless support for H68K 2022-12-23 01:51:08 +08:00
lovehackintosh
c267a13cee
kernel: bump to 5.10.161, 5.15.85, 6.1.1 (#10666)
Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-12-22 11:25:10 +08:00
AmadeusGhost
c4be33b792 rockchip: force enable rk3568 msi interrupt
Since the interrupt of RK3568 has hardware bug,
we need a workaround to enable msi interrupt.
Without this, the r8125 will not be stable.
2022-12-21 19:30:24 +08:00
AmadeusGhost
f24975f2c5 rockchip: update rk3568 pcie2x1 dts part
Fixes: #10626
2022-12-21 19:19:14 +08:00
lovehackintosh
7660f97fb6
kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619)
* kernel: bump 5.15 to 5.15.83

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

* kernel: bump 5.10 to 5.10.159

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

* kernel: bump 5.4 to 5.4.227

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

Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
2022-12-15 13:14:31 +08:00
coolsnowwolf
6b480374fd rockchip: fix opc-h68k tf boot fail on some cards 2022-12-15 00:53:32 +08:00
aakkll
a019519831 kernel: refresh linux 6.1 patches 2022-12-14 12:13:24 +08:00
coolsnowwolf
9a103d038b rockchip: fix radxa e25 adc-keys power button support 2022-12-14 02:25:17 +08:00
coolsnowwolf
4212f116b4 mac80211: backports linux 6.1 support 2022-12-14 01:52:15 +08:00
AmadeusGhost
e6f5ad32af rockchip: add kernel 6.1 support 2022-12-14 00:10:54 +08:00