Commit Graph

4615 Commits

Author SHA1 Message Date
Patrick Yavitz 552281489a Move `serial0 = &uart_AO;` to meson-axg-amper-gateway-gz80x.dtsi
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
Patrick Yavitz b2fc2c6f9d Gateway GZ80x: add dtsi and power off support via pwr button
There are three revs: AM-GZ80x, AM-GZ80x-US and SC-GZ80x

Add a DSTI in case one should drop out of the sky and we
need a DTS for it. This also removes its dependency on
meson-axg-jethome-jethub-j1xx.dtsi.

Can now power down via power button on the back of the
unit and power back on via reset button on the side.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
Ricardo Pardini c53e43f3df meson64-6.11: rewrite/rebase patches onto v6.11 final
- no changes, I forgot a trailing space in my hackfix comment (facepalm)
2024-09-17 06:55:00 +02:00
Ricardo Pardini 9dacbd0ec3 rockchip-rk3588-6.11: rewrite/rebase patches onto v6.11 final
- no changes
2024-09-17 06:55:00 +02:00
Ben Hoff 8e1839d3f4 fix hotplug detection for op5+ and remove unstable code path in driver 2024-09-16 13:17:38 +02:00
Igor Pecovnik 38eb81577d Odroid M1: resolve low network speed 2024-09-15 11:42:07 +02:00
JohnTheCoolingFan 5e06250060 Add `sun50i-h616-light` dt overlay fix to 6.10 2024-09-15 10:18:12 +02:00
Ricardo Pardini 79ba487399 meson64-6.10: drop 6.10 patch directory after bump to 6.11
- as 6.10 is not an LTS release
2024-09-15 10:17:39 +02:00
Ricardo Pardini 59eb198e57 meson64-6.11: hackfix for general-socinfo-sm-4-soc-amlogic-meson-gx-socinfo-sm-Add-Amlogic-secure-m.patch
- otherwise
  ```
  drivers/soc/amlogic/meson-gx-socinfo-sm.c:178:19: error: initialization of 'void (*)(struct platform_device *)' from incompatible pointer type 'int (*)(struct platform_device *)' [-Werror=incompatible-pointer-types]
       178 |         .remove = meson_gx_socinfo_sm_remove,
           |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
  ```
2024-09-15 10:17:39 +02:00
Ricardo Pardini c93407ebec meson64-6.11: rebase/rewrite remaining patches, no changes 2024-09-15 10:17:39 +02:00
Ricardo Pardini d4e9105413 meson64-6.11: manually fix 4 patches for 6.11
- general-add-overlay-compilation-support.patch: same fix as done in rk3588's 6.11
- board-bananapism1-add-uart_A-and-AO_B.patch: manually rebase, guess there was an indent change
- general-socinfo-sm-1-soc-amlogic-meson-gx-socinfo-Add-S905L-ID.patch and general-socinfo-sm-2-soc-amlogic-meson-gx-socinfo-add-new-A113X-SoC-id.patch: landed upstream
2024-09-15 10:17:39 +02:00
Ricardo Pardini d0b4bce222 meson64-6.11: copy patches from 6.10 2024-09-15 10:17:39 +02:00
Ricardo Pardini 857c8ed51b meson64-6.10: rebase against v6.10.10; drop dt-bindings-only patch, otherwise no changes
- jethome-0003-dt-bindings-arm-amlogic-add-binding-for-JetHome-JetH.patch contains only dt-bindings, and those are ignored by the rewriter
2024-09-15 10:17:39 +02:00
Ricardo Pardini ef537a67b0 rockchip-rk3588-6.11: rebase/rewrite patches onto v6.11-rc7
- automatic / no conflicts
2024-09-14 22:43:33 +02:00
Ricardo Pardini 3875290fe4 rockchip-rk3588-6.11: bump to v6.11-rc7; manually rebase `0001-general-add-overlay-support.patch`
- this rebases manually around 8fcd8d1e63 introduced in v6.11-rc5 (so much for "fixes only in rc's")
2024-09-14 22:43:33 +02:00
Ricardo Pardini 17aeec93af rockchip64-6.10: rebase/rewrite all patches against v6.10.10 2024-09-14 21:40:43 +02:00
Ricardo Pardini a223553670 rockchip64-6.10: remove symlinks by replacing with target's content
- having symlinks makes bumping versions a bit harder
- target patches were copied and rebased against v6.10.10
2024-09-14 21:40:43 +02:00
Ricardo Pardini fa23f62417 rockchip64-6.10: fix `add-board-xiabao-nas-dts.patch` patch headers/format, no changes 2024-09-14 21:40:43 +02:00
Ricardo Pardini d32b64baca rockchip64-6.10: fix `add-board-fine3399-dts.patch` patch headers/format, no changes 2024-09-14 21:40:43 +02:00
Jianfeng Liu 020fc510c4
rockchip-rk3588: fix hdmi display of armsom-sige7 for edge and current (#7243) 2024-09-14 19:23:26 +02:00
Julian Sikorski 72062ba258 Update odroidxu4-current to 6.6.51 2024-09-14 17:39:55 +02:00
Joshua Riek d564431dc2 Introduce the Turing RK1 2024-09-13 22:01:44 +02:00
IsMrX 3124f0d845 Support CherryBa M1 board 2024-09-13 22:00:52 +02:00
Igor Pecovnik 155c54f591 Odroid XU4: remove deprecated patches 2024-09-11 18:51:12 +02:00
FUKAUMI Naoki b1cbd002b4 arm64: dts: rockchip: fix gmac PHY attach error on ROCK Pi E
this fixes following error:

rk_gmac-dwmac ff540000.ethernet end0: __stmmac_open: Cannot attach to PHY (error: -19)

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
2024-09-11 07:59:54 +02:00
The-going 9e52e52e9a sunxi-6.10: Revert "drm/sun4i: hdmi: switch to struct drm_edid"
To make our patch work, we will return to the edid structure
while it is safe.
2024-09-10 21:59:57 +02:00
The-going 661b3658ea sunxi-6.10: switch v6.10.9, re-export patches 2024-09-10 21:59:57 +02:00
The-going 789bbf17d5 sunxi-6.10: Disable patch that adds support for HDMI audio
Recent changes in the kernel make the patch unusable for
drm/sun4i/sun4i_hdmi_enc.c.
I'll deal with it later if someone doesn't fix it sooner.
2024-09-10 21:59:57 +02:00
chraac 5d884120a4 fix compiling error of sunxi pwm and eth driver 2024-09-10 21:59:57 +02:00
The-going f912216fd0 sunxi-6.10: Add patches armbian to series.conf file
Add a lost patch adding spi1_cs1_pin for sun50i-h616
2024-09-10 21:59:57 +02:00
The-going 5838fac412 sunxi-6.10: Delete unused patches and add newly extracted patches.
The patches in the series were applied to the Linux
kernel git repository as the "git am" command.
And then re-extracted to the target patches.armbian
folder using the tools/mk_format_patch script.
In this case, the series.armbian file is created anew
and all patches in the series strictly correspond
to this list.

I.e. unused ones will be deleted. The name of the patch
file will match the string "Subject:".

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2024-09-10 21:59:57 +02:00
The-going c446e00132 sunxi-6.10: Add armbian patches from sunxi-6.7
Adapt the patch series to the new v6.10.5 kernel version
2024-09-10 21:59:57 +02:00
JohnTheCoolingFan e59f22ec65 Fix `sun50i-h616-light` device tree overlay 2024-09-10 21:59:01 +02:00
Patrick Yavitz 72ba1de41e BananaPi CM4: `improve SDIO WiFi speeds`
Improve overall WiFi experience
Default freq now set to 100MHz (optional overlay to 200MHz)
Resolved incompatibility with the github driver: https://github.com/jethome-ru/rtl88x2cs

If the github driver is preferred blacklist RTW88

/etc/modprobe.d/blacklist-rtw88.conf
blacklist rtw88_8822c
blacklist rtw88_8822cs

EXTRA: Waveshare DTS fixup

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-09 07:06:31 -04:00
Igor Pecovnik 95b6348453 Patch: refactor broken patch due to upstream changes 2024-09-08 21:28:41 +02:00
SuperKali d16f710e7e
Adding Youyeetoo R1 v3 on current & edge kernel (#7173) 2024-09-07 07:40:59 +02:00
Igor Pecovnik 422e91b240 Rockchip64: remove deprecated patches that breaks compilation 2024-09-06 11:13:04 +02:00
JohnTheCoolingFan 23cff9170c Replace symlinked patches by pointed files 2024-09-03 22:03:50 +02:00
Alessandro Lannocca 0a18ec690e rockchip-rk3588: fanctrl overlay: fix "fan" alias for device tree
fixes PR #7137
2024-08-28 18:10:25 +02:00
Alessandro Lannocca c095b6fd68 rockchip-rk3588: current edge: add a pwm fan control overlay
improve fan curve from rockchip default

Credit: [incognito](https://forum.radxa.com/u/incognito)
Source: [Radxa Forum](https://forum.radxa.com/t/guide-how-to-make-the-rock-5b-fan-work-properly-joshua-rieks-ubuntu-24-04/20836/2)
2024-08-27 21:33:30 +02:00
Julian Sikorski 0cee899233 Update odroidxu4-current to 6.6.47 2024-08-21 14:02:37 +02:00
c0rnelius 433f1241fa
Gateway AM-GZ80x: `Re-brand as Amper & update u-boot to v2024.04` (#7113)
* Gateway AM-GZ80x: Re-brand as Amper & update u-boot to v2024.04

During a search I noticed other companies are using the same
unit. Lets re-brand to Amper as technically that is the product
brand name.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>

* Delete old patch set: `patch: u-boot: v2023.10: board_gateway-gz80x`

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>

* Update test target

---------

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Igor <igor@armbian.com>
2024-08-21 14:00:43 +02:00
Patrick Yavitz cc0f38aa45 BananaPi M2S: `remove fan control`
The fan0 and pwm_cd nodes were removed in linux-6.11.y.

1095ad0e92
https://lore.kernel.org/all/20240606-topic-amlogic-upstream-bindings-fixes-dts-v1-1-62e812729541@linaro.org/

Remove the patch now, so it doesn't become a problem later.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-21 07:58:01 -04:00
Alessandro Lannocca fb72484e79 rockchip-rk3588: current: add rfkill-bt device node to Radxa Rock5b board
Enable proper enumeration of usb-bluetooth modules via M2/NGFF slot
2024-08-21 13:56:46 +02:00
sic 100a004aa5
Add Board X96Q TV Box LPDDR3 H313 (#7101)
* X96-Q TV Box Support

* Update x96q-tvbox.csc

* Rename x96q-tvbox.csc to x96q.tvb
2024-08-20 08:35:00 +02:00
monkaBlyat ac3b86efb9 vendor kernel patch for ds4 controllers 2024-08-18 10:39:57 +02:00
monkaBlyat 54cc6ea4e2 legacy kernel patch for ds4 controllers 2024-08-18 10:39:57 +02:00
ColorfulRhino 30ed9b3a70 rockchip-rk3588-edge: Bump kernel from 6.11-rc2 to 6.11-rc3
Remove one patch that is now included in the latest kernel revision.
2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin d605d74a02 rockchip-rk3588-{current,edge}: add bluetooth support to Khadas Edge 2 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 0a0eb467de rockchip-rk3588-current: disable HDMIRX by default and add heartbeat LED on OPi5+ 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 8ceeb33c3b rockchip-rk3588-current: update kernel to v6.10 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 97c79d61fd rockchip-rk3588-edge: add mistakenly removed DTS patches back 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 61e10f6f64 rockchip-rk3588-edge: add HDMI & VOP2 back to OPi5 devicetree 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 7f2a7ab00b rockchip-rk3588-edge: opi5-plus: update dts patch, disable hdmirx by
default
2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin b9d7bd9e5b rockchip-rk3588-edge: refresh HDMI TX & RX patches from Collabora and add Hantro VPU back 2024-08-18 10:38:50 +02:00
Muhammed Efe Cetin 53396d202c rockchip-rk3588-edge: update kernel to v6.11.0-rc1 2024-08-18 10:38:50 +02:00
The-going fae2418da9 sunxi-6.10: bugfix the kernel panic for arm architecture
Problem: Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

Discussion on the forum:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
2024-08-18 10:38:11 +02:00
The-going 11c396c183 sunxi-6.10: Add megous patches 2024-08-18 10:38:11 +02:00
Alex 63163387c7
rockchip64: refresh `drv-spi-spidev-remove-warnings.patch` (#7088)
* rockchip64: edge: refresh drv-spi-spidev-remove-warnings.patch

rework to apply cleanly on 6.10.5

* rockchip64: current: refresh drv-spi-spidev-remove-warnings.patch
2024-08-15 13:11:18 +02:00
Viacheslav Bocharov 595ab95a17 JetHome: Update JetHub D2 dts 2024-08-15 12:59:25 +03:00
Alessandro Lannocca 134ae29646 meson64: edge: refresh drv-spi-spidev-remove-warnings.patch
rework to apply cleanly on 6.10.5
2024-08-14 17:39:38 -04:00
Alessandro Lannocca 1ffdab4fe4 meson64: current: refresh drv-spi-spidev-remove-warnings.patch
rework to apply cleanly on 6.6.46
2024-08-14 17:39:38 -04:00
Viacheslav Bocharov 06838e7a19 JetHome: Update JetHub D2 dts file 2024-08-14 19:42:13 +02:00
Patrick Yavitz aff22ad7d5 Add board Alfred Smart Gateway GZ80X Linux support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
ARCW 05d7ca03d4
Fixed tinker-edgr-r board GPU bug, drivers:regulator:fan53555:add new device chip id (#6998) 2024-08-12 17:16:11 +02:00
Igor Pecovnik 423868ca26 Bump sunxi legacy and current to latest version 2024-08-12 17:15:40 +02:00
JohnTheCoolingFan 22e3a671a7 BigTreeTech CB1: current: Enable IR Receiver 2024-08-12 17:10:49 +02:00
JohnTheCoolingFan 04829f611c Remove sun50iw9-btt board family 2024-08-11 22:09:17 +02:00
JohnTheCoolingFan b7fac21f3f Patches to enable hdmi and emac1 on BigTreeTech CB1 2024-08-11 22:09:17 +02:00
The-going e9cc1a2479 sunxi-6.9: bugfix the kernel panic for arm architecture
Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

Discussion of the problem:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
https://bugzilla.kernel.org/show_bug.cgi?id=219089
2024-08-10 08:12:04 +02:00
The-going 87d667ce9a sunxi-6.9: Add Armbian patches 2024-08-10 08:12:04 +02:00
The-going 06030bae54 sunxi-6.9: Add megous patches to EDGE 2024-08-10 08:12:04 +02:00
Igor Pecovnik a9670b1dc5 Odroid XU4: Remove deprecated patches on CURRENT branch 2024-08-08 07:38:03 +02:00
Igor Pecovnik aaee1bb85f RaspberryPi: bump EDGE kernel to 6.10.y 2024-08-05 20:38:46 +02:00
Igor Pecovnik a082d95117 imx6: bump EDGE kernel to 6.10.y 2024-08-05 20:38:31 +02:00
Martin Schmiedel 42cc795f4d MBa8MPxL: update imx8m-6.6
- linux-tqma-current.config:  enable HDMI, LVDS, Bluetooth
- imx8_common.inc: use tag instead of branch (v6.6.43)
- fix asound.state.tqma

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-08-05 14:36:51 +02:00
Igor Pecovnik 2e9917bc6a Mvebu: Bump kernel config and sources to 6.10.y 2024-08-05 09:38:22 +02:00
Igor Pecovnik ff8412d676 Add patches to 6.10 folder 2024-08-05 09:38:22 +02:00
Heisath 9ea9e5b97b Move to 6.8 2024-08-05 09:38:22 +02:00
Heisath 72ce5c3f0b Add mvebu 6.7 patches, move to rmk tree 2024-08-05 09:38:22 +02:00
Igor Pecovnik 8662ef1c7b Meson 6.10: adjust patches to align with upstream changes
Need to be tested on hardware
2024-08-05 09:35:43 +02:00
SteeManMI dcf916ffe8 rewrite kernel patches 2024-08-04 21:25:36 +02:00
SteeManMI 78acfe1a5a Initial changes to move meson edge from 6.9 to 6.10 2024-08-04 21:25:36 +02:00
Igor Pecovnik 4f92c2ebfc Adjust patches that are broken or they found a way upstream 2024-08-03 15:34:00 +02:00
The-going 820d29b657 sunxi-6.6: exclude iio thermal sensors patches
These patches are not needed for the kernel version 6.6 and later.
In addition, they cause minor harm when measuring temperature,
as they additionally calibrate the sensors.
Today, all the work is done by drivers/thermal/sun8i_thermal.c
2024-08-02 17:21:36 +02:00
The-going 641025e1a4 sunxi-6.6: Switch to v6.6.37, edit incorrect patch messages 2024-08-02 17:21:36 +02:00
The-going ef444f587a sunxi-6.6: Edit the series.conf file, delete unused ones. 2024-08-02 17:21:36 +02:00
The-going dbdb03ddb8 sunxi-6.6: armbian: delete unused ones, replace changed ones.
Now the names of the patch files correspond to the entry
in the commit message.
Patches that have been transferred (copied) since time
immemorial and require revision have been removed.
No one wants to deal with them.
2024-08-02 17:21:36 +02:00
The-going 8bc515ff21 sunxi-6.6: megous: Delete unused ones. Update the changed ones. 2024-08-02 17:21:36 +02:00
Julian Sikorski 3d59517505 Update odroidxu4-current to 6.6.43 2024-08-02 17:20:37 +02:00
SteeManMI 2f2618f9a5 rewrite kernel patches 2024-07-29 08:16:37 +02:00
SteeManMI 691e7b8b67 Fixes for 6.10: Copied Paolo's rockchip64 overlay compliation fix to meson64 2024-07-29 08:16:37 +02:00
SteeManMI 41fbb0802a Initial changes to move meson64 edge from 6.9 to 6.10 2024-07-29 08:16:37 +02:00
amazingfate d5cb0d6732 rockchip64-edge: disable hantro g1 h264 decoder on rk356x 2024-07-28 14:35:34 +08:00
amazingfate e1a64270fa rockchip64-edge: add rkvdec2 for rk356x 2024-07-28 14:35:34 +08:00
amazingfate e1f75f92cb rockchip64-edge: remove vpu non-coherent-dst-bufs patches 2024-07-28 14:35:34 +08:00
sicXnull 37ef83a6f6 add Heltec HT-M2808 2024-07-25 16:42:46 +02:00
ARCW cc8291e6e2
Fixed Tinker-edge-r HDMI 4K bug (#6991) 2024-07-25 16:41:17 +02:00
chainsx 1c7c5d302d fix rk3568-roc-pc 2024-07-25 16:40:28 +02:00
Ben Hoff 36a12f1b42 add synopsys designware hdmi rx controller 2024-07-24 14:03:54 +02:00
Julian Sikorski 2eb742bfa5 Update odroidxu4-current to 6.6.41 2024-07-23 11:37:14 +02:00
Paolo Sabatino 34fe6f183b update rockchip patching config yaml file 2024-07-22 19:18:14 +02:00
Paolo Sabatino 7da7bbf61c rockchip: bump edge kernel to 6.10 2024-07-22 19:18:14 +02:00
Paolo Sabatino 1f7289d67f rockchip64: address changes for mainlined rk3308 audio codec
* the existing patches for rk3308 audio codec have been disabled:
  the rk3308 driver has been mainlined and thus the patches
  don't apply anymore
* add the missing i2s_8ch_0 and _1 i2s nodes
* adjust "acodec" with "codec" device tree labels, to match
  mainline kernel nomenclature
2024-07-22 19:17:52 +02:00
Paolo Sabatino 4ae0a95814 rockchip64: bump edge kernel to 6.10 2024-07-22 19:17:52 +02:00
Paolo Sabatino f82e6e8d0c rorkchip64: fix rk3328 gpio2 bank addressing 2024-07-22 19:17:52 +02:00
amazingfate 7cf6f99e75 rk35xx-vendor: bump to latest sdk release rkr3 2024-07-19 14:04:41 +08:00
Patrick Yavitz ecc3c30943 SpacemiT: Legacy: Wireless RTL8852BS: `Fixups`
CONFIG_RTW_DEBUG = n
Remove RTW_WARN_LMT
Fix aes_encrypt() redefinition errors

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-18 11:44:12 +02:00
Patrick Yavitz c5be5a8537 SpacemiT: BananaPi F3: `update to BL v1.0.8`
Legacy: use TAG instead of BRANCH (gives us more control)
Current: update DTS files
Current: add needed patches up to v1.0.8
Fixup bluetooth node and disable by default (half broke anyway)
Misc fixups to bananapif3.wip and spacemit.conf file

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-17 03:30:39 -04:00
The-going d05f3b1908 sunxi-6.1: Reverse commit 75317a0, fix real reason inability to load kernel
Reverse commit 75317a0 since this is a special case.

Eliminate the real reason for the inability to boot the kernel.
Linux kernel hangs in early boot on 32-bit ARM platform,
when ftrace 4-byte "mcount" function call location for
"_raw_spin_unlock_irqrestore" function straddles icache lines.

The problem is present for (cross-compiler) GCC 10, 11, 12.
It does not happen when the kernel is compiled with GCC 9,
even when condition (1) is satisfied.

Detailed description:
https://forum.armbian.com/topic/41339-linux-image-legacy-sunxi2451-kernel-6192-is-broken-stuck-at-starting-kernel/?do=findComment&comment=196528
2024-07-14 23:08:40 +02:00
Ricardo Pardini 62af9ee6ba rockchip-rk3588 / edge: drop patch that landed in `6.10-rc7`
- `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` landed d05f7aff7a
2024-07-13 11:48:38 +02:00
Ricardo Pardini b0a5d1794d rockchip-rk3588 / edge: rebase onto `6.10-rc7`
- **win**: notice how one can actually _spot_ revelevant changes now
 - case in point, `1022-arm64-dts-rockchip-support-poweroff-on-rock-5a.patch` -- will drop it in separate commit
2024-07-13 11:48:38 +02:00
ColorfulRhino 0e0656125d mt7623: Bump `legacy` 4.19 to `current` 6.6 kernel
NB: This family only has one board (BananaPi R2) and has not been properly maintained in many years, so 'current' LTS kernel is enough.
No need for 'edge' kernel unless someone plans to step in as maintainer who bumps and tests it on every new kernel release.

- Adjust BananaPi R2 board config (board is mainlined)
- Remove legacy kernel patch folder and kernel config
- Remove unstable WiFi stuff
2024-07-09 18:04:21 +03:00
Lemon 41aa99e657
To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level (#6843)
* To modify the PWM-fan temperature control policy of fine3399 to adjust the fan speed to a lower level
* Integrating support for xiaobaonas boards into the rockchip64-6.9 kernel
2024-07-09 11:33:35 +02:00
The-going 7a054c6286 sunxi-6.1: Add missing GPU trip point 2024-07-09 11:32:22 +02:00
The-going 11d11cf747 sunxi-6.1: Turn on poorly designed patches again.
Poorly designed patches result in the maintainer
having to do extra work.
2024-07-09 11:32:22 +02:00
The-going 75317a0778 sunxi-6.1: Revert: handle entropy from atomic process context
Revert 07b37f227c8daa27e68f57b1c691fab34a06731e commit
For the sunxi (armhf) architecture, this commit results in
an inability to load the kernel. It's actually a crutch
that can break everything tomorrow.
Therefore, freeze the kernel version for better times.
2024-07-09 11:32:22 +02:00
The-going 2d7cbfa7c1 sunxi-6.1: switch to tag:v6.1.97, re-extracting the corrected ones
Fix: dtb dtbo install, wrong select media sensors

Disable incorrectly designed patches.
They need to be aligned with the kernel code.
2024-07-09 11:32:22 +02:00
Igor Pecovnik f696f6d182 Adjust Rockpi S patch to align with upstream changes 2024-07-05 14:25:51 +02:00
Viacheslav Bocharov 654d208053 JetHome: Update JetHub family
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-03 11:26:07 +02:00
ColorfulRhino ccf17a20e8 Purge `s5p6818` board family
The family consists of 4 boards, but hasn't seen any activity in years,
is unmaintained, stuck on EOL Linux 4.14 and the bootloader does
not build.
2024-07-03 06:49:46 +02:00
Elias Bakken d27b98d78b Add recore dts patch to series.conf so it gets applied
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 23:05:33 +02:00
Elias Bakken 4b9d96c11b
Add support for Recore A5 to A8 (#6859)
Signed-off-by: Elias Bakken <elias@iagent.no>
2024-07-02 10:49:29 +02:00
Werner 30992cfaaf
Bump sunxi-current and sunxi64 to latest tag (#6861)
* Update series.conf
* Delete patch/kernel/archive/sunxi-6.6/patches.megous/tty-serial-8250-dw-Use-fifo-size-from-DTS.patch
* Bump current
* sunxi64: rewrite kernel config
* Bump sunxi-current to latest tag

---------

Co-authored-by: Igor Pecovnik <igor@armbian.com>
2024-07-02 10:00:35 +02:00
ColorfulRhino 6895ea403f SpacemiT: legacy: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
ColorfulRhino 91b514d982 SpacemiT: current: Rewrite kernel patches 2024-07-01 19:15:00 +02:00
Patrick Yavitz e8db1ce6d1 SpacemiT: Add proper bluetooth support for RTL8852BS
For both `legacy` and `current` kernel.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Patrick Yavitz d66c4d9fce boards: Add board BananaPi F3
RISC-V SpacemiT K1 SoC

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
ColorfulRhino c91039bc28 SpacemiT: Add SpacemiT Keystone K1 SoC dts files
They will be applied on-the-fly by the dt auto-patcher.
2024-07-01 19:15:00 +02:00
ColorfulRhino e7e9f5d6cf SpacemiT: current: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
ColorfulRhino da8ba3961d SpacemiT: legacy: Add kernel dt auto-patcher 2024-07-01 19:15:00 +02:00
Patrick Yavitz c25ed85fe9 SpacemiT: legacy: Add hwmon support and fix sigaltstack 2024-07-01 19:15:00 +02:00
Patrick Yavitz 93d547d52d SpacemiT: Add `current` kernel patches
Mainline Linux 6.1.y
https://gitee.com/bianbu-linux

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-07-01 19:15:00 +02:00
Igor Pecovnik 1bf2aba67b Remove OrangepiZero2 outdated legacy kernel v4.9 2024-07-01 19:14:17 +02:00
Werner ec8c470da3 radxa-zero3: add `edge` branch (6.9.y) by picking DT from linux-rockchip#for-next & using Kwiboo's 24.07 u-boot
- u-boot:
   - unset `BOOT_FDT_FILE` for edge branch; that lets Armbian bootscript use the fdtfile auto-detected and set by u-boot
   - unset `BOOTFS_TYPE`, since mainline u-boot can boot ext4 directly
- kernel DTs from https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git/tree/arch/arm64/boot/dts/rockchip?h=84a3d3b435e7c109d2141c5bbb9eaab146c94df0

Co-authored-by: Jonas Karlman <jonas@kwiboo.se>
Co-authored-by: Ricardo Pardini <ricardo@pardini.net> (null-patch to bare-dt)
2024-06-30 15:26:29 +02:00
ColorfulRhino d78a5ad27e meson64: Remove leftover kernel patch folder for 5.10
As per `config/sources/families/include/meson64_common.inc`, the meson64 family is only using kernels 6.1, 6.6 and 6.9.
The kernel patch folder for 5.10 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino d068f6f0d9 rockchip64: Remove leftover kernel patch folder for 6.1
As per `config/sources/families/include/rockchip64_common.inc`, the rockchip64 family is only using kernels 6.6 and 6.9.
The kernel patch folder for 6.1 was forgotten to delete when the kernel was bumped.
2024-06-30 14:27:51 +02:00
ColorfulRhino 78b311c3aa rockchip32: Remove leftover kernel patch folders from old kernels
As per `config/sources/families/rockchip.conf`, the rockchip family is only using kernels 6.6 and 6.9.
The following kernel patch folders from old kernels are not used anymore:

- 4.4
- 5.10
- 5.15
- 6.1
2024-06-30 14:27:51 +02:00
ColorfulRhino 0024d662aa rk322x: Remove unused rk322x kernel patch folders
The rk322x board family was intergated into the rockchip family in theis PR: https://github.com/armbian/build/pull/6092

The kernel patch folder are not in use anymore.
2024-06-30 10:20:26 +00:00
ColorfulRhino 744eca2484 Remove unused board family `media`
All remaining `media` boards have been integrated into the `rockchip64` family.

- Remove the family config
- Remove all kernel patch folders
- Remove all U-Boot patch folders
- Remove all kernel configs
2024-06-30 09:29:58 +02:00
Igor Pecovnik 560993ac7a Odroid XU4: remove deprecated patch 2024-06-29 08:37:38 +02:00
Julian Sikorski 8ca4068c96 Update odroidxu4-current to 6.6.36 2024-06-28 08:39:37 +02:00
Igor Pecovnik 8618c4bcd5 Rockcchip RK3588: Rename overlay suffix to match reality 2024-06-24 14:54:21 +02:00
Alessandro Lannocca 22b894536e Add orangepi5-plus UART overlays - rockchip-rk3588-6.10 2024-06-24 12:23:58 +02:00
Alessandro Lannocca 131eba487e Add orangepi5-plus UART overlays 2024-06-24 12:23:58 +02:00
Ricardo Pardini 1bedcec012 rockchip-rk3588 6.8/610: add `i2c8-m2` overlay
- from vendor kernel
- `i2c8m2`: 40-pin pins 3 & 5 of cm3588-nas & nanopct6
2024-06-23 11:49:22 +02:00
ColorfulRhino 7f111510b4 rockchip-rk3588: edge: Rename rkvdec2 patch for improved clarity 2024-06-22 15:06:10 +08:00
amazingfate 28193c630a rockchip-rk3588: edge: rewrite patches, no change 2024-06-22 15:06:10 +08:00
amazingfate f790473789 rockchip-rk3588: edge: add rkvdec2 support 2024-06-22 15:06:10 +08:00
ColorfulRhino 4819b81154 sm8250: Delete leftover 6.5 and 6.6 kernel patch folders 2024-06-18 11:33:45 +08:00
amazingfate 0b09411c83 bump sm8250-edge to 6.10 2024-06-18 11:33:45 +08:00
amazingfate 8365343dd9 sm8250-current: Bump to v6.9 2024-06-18 11:33:45 +08:00
ColorfulRhino 0813594057 board: nanopi-r6s: Add system-power-controller to pmic
Without this, the board can't be powered off with the `poweroff` command.
Also affects NanoPi R6C.
2024-06-17 12:20:06 +00:00
amazingfate 151e14b6a7 rockchip-rk3588-edge: fix vepu of rk3588 2024-06-17 11:23:52 +02:00
ColorfulRhino bc8ee48619 rk3588: edge: Update RGA patch
Remove vpu nodes from RGA patch since these are already included in the H.264 support patch.
2024-06-14 13:34:34 +00:00
ColorfulRhino dddfa9cc35 rk3588: edge: Rewrite kernel patches against 6.10-rc3 2024-06-14 13:34:34 +00:00
ColorfulRhino c4d3ff5e34 rk3588: edge: Add H.264 decoder support
Add a patch series to support VEPU121/VPU121, which mainly enables hardware decoding for H.264.
It can also decode MPEG2 and VP8 as well as do JPEG encoding.
2024-06-14 13:34:34 +00:00
Ricardo Pardini 4a84bf07c4 rockchip-rk3588 6.8.y: nanopct6: Add NanoPC T6 SPI Flash (v6.8.y version) 2024-06-14 00:34:55 +02:00
Viacheslav Bocharov 27351820c7 JetHub D2: Fix patchset 2024-06-14 00:34:34 +02:00
Muhammed Efe Cetin d0684925e3 rockchip-rk3588-edge: add vop2 clocks reset patch 2024-06-14 00:33:52 +02:00
Muhammed Efe Cetin 96eba61177 rockchip-rk3588-edge: re-add edge2 patches and fix mcu fan control
patch
2024-06-14 00:33:52 +02:00
ColorfulRhino 994f376888 rk3588: edge: Set kernel patch folder name to default
Move kernel patch folder to archive/rockchip-rk3588-${KERNEL_MAJOR_MINOR} which is the default.
Also rename kernel config to linux-rockchip-rk3588-${KERNEL_MAJOR_MINOR}
2024-06-12 16:20:42 +00:00
ColorfulRhino a6b5ea7950 rk3588: Introduce `current` kernel branch
Since the `edge` kernel branch often uses RC kernels, introduce a more stable `current` branch.
This branch should not be RC kernels and it also should move to an LTS kernel once released.
2024-06-12 16:20:42 +00:00
Ricardo Pardini 117b6fe997 rockchip-rk3588/edge: nanopct6: Add NanoPC T6 SPI Flash (6.10-rc2 version) 2024-06-12 16:20:42 +00:00
ColorfulRhino 6dec7db8a2 rk3588: edge: Rewrite kernel patches 2024-06-12 16:20:42 +00:00
amazingfate b9183f56a4 rk3588: edge: armsom-sige7: Use dts patch instead of bare dts 2024-06-12 16:20:42 +00:00
ColorfulRhino 5de4cd02fd rk3588: edge: Fix HDMI controller driver
The old driver didn't build on 6.10, so the kernel build couldn't finish.
Fix this driver.
2024-06-12 16:20:42 +00:00
ColorfulRhino 8c31cca7ba rk3588: edge: Rewrite kernel patches to 6.10-rc2 2024-06-12 16:20:42 +00:00
ColorfulRhino 031a85736b rk3588: edge: Update thermal and cpufreq support patches
Patches are from the Linux Rockchip Mailing List, submitted by Alexey
Charkov. [1]

Notable improvements from changelog:
- Moved the TSADC enablement to per-board .dts/.dtsi files
- Dropped extra "inefficient" OPPs (same voltage - lower frequencies)
- Dropped second passive cooling trips altogether to keep things simple
- Added a cooling map for passive GPU cooling (in a separate patch)
- Added regulator coupling for EVB1 and QuartzPro64

Also enable automatic fan control on Rock 5B.

[1] https://lore.kernel.org/linux-rockchip/20240506-rk-dts-additions-v4-0-271023ddfd40@gmail.com/
2024-06-12 16:20:42 +00:00
ColorfulRhino 408a0cbbc8 khadas edge 2: Fix patch for 6.10 2024-06-12 16:20:42 +00:00
ColorfulRhino afe733ced5 orangepi 5: Fix patch for 6.10 and convert from patch to .dts file
This simplifies the process updating to newer kernel versions and makes
it easier to see and edit the actual dts file being used.
2024-06-12 16:20:42 +00:00
ColorfulRhino de8d91b45f rk3588: edge: Fix dtb overlay compilation and installation
"general-add-overlay-compilation-support.patch" became obsolete in
Linux 6.9 (see AR-2352 [1]). Fix this problem:

- Rename *.dts sources in overlay directory to *.dtso
- Change "target +=" line to "dts-y +=" in overlay Makefile
- Remove "always +=" line in overlay Makefile
- Add .scr compilation support in kernel scripts/Makefile.lib
- Patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
  directory

For the last two points, see
general-add-overlay-compilation-support.patch

Credits for this fix go to @paolosabatino

[1] https://armbian.atlassian.net/browse/AR-2352
2024-06-12 16:20:42 +00:00
ColorfulRhino 40ae7ac877 rk3588: edge: Bump kernel from 6.8 to 6.10
- Bump mainline kernel from 6.10-rc1 to 6.10-rc2
- Remove patches which are now mainlined
- Re-number "fix-initial-PERST-GPIO-value" patch as per number
  ordering seen in 0000.patching_config.yaml
- Rewrite kernel config
2024-06-12 16:20:42 +00:00
Igor Pecovnik f9940caee4 Odroid XU4: Remove deprecated patches 2024-06-12 16:03:35 +02:00
Viacheslav Bocharov 3dd2e5c3ec meson64-6.9 kernel: Add jethub j200 2024-06-11 20:08:10 +02:00
Igor Pecovnik 0cae55f377 Adjust Rockchip overlay to match changes introduced in 6.9.y 2024-06-11 20:07:50 +02:00
lanmarc77 8eb8cc5302
NanoPi Neo3 spidev support (#6689)
* added spi device support for Nano Pi Neo3 with different address
* adjusted Makefile for compilation for Nano Pi Neo3 spi-spidev
2024-06-11 11:50:01 +02:00
Ricardo Pardini 05ffbe7f7b s5p6818-legacy: drop un-needed symlink to archive/s5p818-4.14
- `common_defaults_for_mainline` already sets KERNELPATCHDIR='archive/s5p6818-4.14' thus this symlink is not necessary
- 1 step closer to a clean `patch/kernel` dir, when we could finally get rid of `archive/`
2024-06-10 20:36:46 +02:00
Ricardo Pardini b33c41d76f s5p6818-legacy: rewrite patches, no changes 2024-06-10 20:36:46 +02:00
ColorfulRhino 96e58d34d9 rockchip64: Move some leftovers from 6.8 to 6.9 patch folder
- Convert patches that add a completely new board to dts file, automatically applied in the dt folder
2024-06-09 18:38:43 +00:00
Alban Browaeys cbaf67f007 Sync helios64 to its updated 6.9 dts
Also move most node in the same order as upstream to lower the work
required to sync.
2024-06-09 18:29:29 +02:00
kernelzru 9b16fad915 move ugoos x3 dt to 6.9 folder 2024-06-06 13:32:32 +02:00
kernelzru ea8a6efa4f update meson patches for 6.9 kernel 2024-06-06 13:32:13 +02:00
Igor f5575f64ac
Bump meson and meson64 EDGE kernel to 6.9.y (#6669)
* Bump meson and meson64 EDGE kernel to 6.9.y
* Rename patch folders
* Adjust broken patches, one remaining
* Add overlay support
* meson64: rename overlays to dtso, update makefile
* Update meson-gx-socinfo-sm driver patchset for meson64-6.9:
* add SoC ID patches for S905L, A113X
* fix memory double free in driver
* update dt bindings
---------
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
Co-authored-by: Viacheslav Bocharov <adeep@lexina.in>
2024-06-05 22:20:35 +02:00
Paolo Sabatino d3ff61144c rockchip: generalize dtb installation makefile 2024-06-05 22:18:51 +02:00
Paolo Sabatino af5a766940 fix dtb overlay compilation and installation
* rename .dts sources in overlay directory as *.dtso
 * change "target +=" line in "dts-y +=" in overlay Makefile
 * remove "always +=" line in overlay Makefile
 * add .scr compilation support in kernel scripts/Makefile.lib
 * patch kernel scripts/Makefile.dtbinst to avoid flattening overlay
   directory

for the last two points, see
general-add-overlay-compilation-support.patch
2024-06-05 22:18:51 +02:00
Paolo Sabatino 724573bf7a bump rockchip family edge kernel to 6.9 2024-06-05 22:18:51 +02:00
Paolo Sabatino 4d46d0c682 rockchip64: generalize dtb installation makefile 2024-06-05 22:18:24 +02:00
Paolo Sabatino 69ca249262 rockchip64: bump edge kernel to 6.9 2024-06-05 22:18:24 +02:00
stephengraf 99815c0a88
Sound Allwinner H616 H618 SOCs (#6694)
* Add files via upload

* Update series.armbian

* Update series.conf

* Add files via upload

* Update series.armbian

* Update series.conf

* Update linux-sunxi64-edge.config

* Update linux-sunxi64-current.config
2024-06-05 11:06:46 +02:00
Lemon1151 8f64f05082 Adding support for the fine3399 board 2024-06-03 12:32:02 +02:00
Igor Pecovnik dfc7cf4a8a Revert Odin2 branch change as new one is changing daily and breaks 2024-06-02 13:50:57 +02:00
Igor Pecovnik d17abdf233 Cleaning kernel patch folder and run kernel rewrite config 2024-06-02 11:54:17 +02:00
Igor Pecovnik e42979d669 Rewrite RPi 4 kernel config and fix wrong patch folder name 2024-06-02 11:53:58 +02:00
Igor Pecovnik acb528d457 Bananapi R2 - adjust patch folder, apply config rewrite 2024-06-02 11:53:37 +02:00
Igor Pecovnik f17391b59a Odroid XU4 - adjust patch folder, apply config rewrite 2024-06-02 11:53:18 +02:00
nullname cc300423e1
Fix issue #6528 opi-zero2w, ethernet PHY not powered (#6617) 2024-06-02 10:23:18 +02:00
Igor Pecovnik e9ecf4b79c
Cleanup UEFI patches, remove deprecated, rename folders 2024-06-01 22:46:45 +02:00
stephengraf 6b512abfa3
Pinctr dummy regulators (#6676)
* Add files via upload

* Update series.armbian

* Update series.conf

* Update arm-dts-orangepi-one-pinctr-dummy-regulators.patch
2024-06-01 10:01:54 +02:00
Lemon 10ce0c9e5f
重命名dd-new-borad-tinker-edge-r.patch -> patch/u-boot/u-boot-rockchip64/add-new-board-tinker-edge-r.patch;添加了对xiaobao-nas的支持 (#6662) 2024-05-29 13:31:51 +02:00
kernelzru 19821548d6 fixed emmc init 2024-05-26 22:20:57 +02:00
kernelzru 1f9f8a5a97 add ugoos x3 support 2024-05-26 22:20:57 +02:00
ARCW 2aa3409b9e
fixed Tinker-edge-r gpu bug (#6615) 2024-05-21 20:33:56 +02:00
The-going bcd50b8ecc sunxi-6.6: rework patches for current v6.6.31 2024-05-21 20:26:19 +02:00
amazingfate 88c749c46f rockchip-rk3588: edge: fix hantro vpu 2024-05-20 16:01:49 +02:00
Julian Sikorski 8ae760c474 Update odroidxu4-current to 6.6.31 2024-05-20 16:01:00 +02:00
chainsx 5fe762e0a3 Optimize the kernel device tree patch for rk3399-firefly. 2024-05-19 19:41:24 +02:00
Igor Pecovnik e5be2d489d Rockchip64: adjust patch as it doesn't align anymore 2024-05-18 09:47:35 +01:00
chainsx 7e574bd484 firefly-rk3399: fix patch 2024-05-18 09:47:04 +01:00
chainsx aa6ed7ce32 firefly-rk3399: move to rockchip64 family 2024-05-17 14:33:21 +01:00
Igor Pecovnik c72a158876 Remove deprecated patch + updating kernel config with rewrite-kernel-config
Fix media current and edge which hasn't been addressed in https://github.com/armbian/build/pull/6605
2024-05-15 09:15:32 +01:00
chainsx e27975b8ce station-m2: move to rk35xx family 2024-05-15 07:24:20 +01:00
Muhammed Efe Cetin 3ad7c43bfc rockchip-rk3588-edge: add Hantro G1 VDPU and RGA2 2024-05-13 21:17:29 +02:00
Muhammed Efe Cetin 6ad9fa557b nanopir6: enable GPU on edge kernel 2024-05-13 17:06:25 +01:00
Lane Jennison a099dfc9c9 RK3588: add generic pwm overlays from vendor kernel 2024-05-12 16:07:23 +01:00
Muhammed Efe Cetin 8827b0db51 rockchip-rk3588-edge: opi5-plus: update edge patches 2024-05-11 21:27:03 +01:00
kernelzru 96bed4e609
Update meson edge to 6.8 kernel (#6575)
* Meson8b update kernel to 6.8
* Fix error in clean tools 6.8 kernel
2024-05-11 16:09:44 +02:00
ssp97 c56aa2d34d rockchip-rk3308-current: sakura pi rk3308b adds kernel 6.6 and 6.8 support 2024-05-09 16:44:47 +01:00
Igor Pecovnik 75845cab4e Odroid: remove deprecated patches 2024-05-07 11:34:21 +01:00
Paolo Sabatino 45dd07d4c5 rockchip64: rework drm hunk due to mainlined patch 2024-05-07 00:37:03 +01:00
Julian Sikorski c9cde1e49a Update odroidxu4-current to 6.6.30 2024-05-06 15:50:41 +01:00
Julian Sikorski c6b77cba61 Adapt the GPIO names patches to upstream commit 724ba67 2024-05-06 15:50:41 +01:00
Julian Sikorski f7bacd7590 Drop changes already added in odroid commit a633520 from the upstream patch 2024-05-06 15:50:41 +01:00
Julian Sikorski 44180c6a10 Drop add-con11-gpiomem.patch as there is nothing to patch 2024-05-06 15:50:41 +01:00
Julian Sikorski e08e0e294a Switch odroidxu4-current kernel to 6.6 2024-05-06 15:50:41 +01:00
Paolo Sabatino 253331a7cd rockchip64: add some HDMI clock and timing fixes 2024-05-06 15:50:23 +01:00
Paolo Sabatino 3c8bb09e8b rockchip64: remove rk3318-box patch hunk 2024-05-06 15:50:14 +01:00
Paolo Sabatino 8e1c6a83bb rockchip64: add kernel reset props for rk3318-box 2024-05-06 15:50:14 +01:00
Paolo Sabatino e5ccdf4cb1 rockchip: remove unwanted patch 2024-05-06 15:50:14 +01:00
Paolo Sabatino a81ddf97e5 rockchip: add usb reset props in kernel for rk322x 2024-05-06 15:50:14 +01:00
Igor Pecovnik aa073ea563 Remove deprecated rk3588-edge patches 2024-05-02 23:43:37 +01:00
yangchaohong b1f648ee75 Fix PCIe for RK35xx+Fix ROCK5A PCIe device tree 2024-05-01 08:30:43 +01:00
amazingfate a1ae7139c0 Add rock5c support 2024-04-28 02:14:16 +08:00
amazingfate 33b3aabbd9 armsom-sige7: sync edge devicetree with mainline 2024-04-28 02:11:41 +08:00
hongruichen 8733093045 Squashed commit of the following:
commit 3c141f345220f5f2018adc208c2cd1d815dde91f
Merge: 41f554c56 4df3bddd6
Author: chr <chraac@gmail.com>
Date:   Thu Apr 18 20:42:26 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 41f554c56393b100aaf27a7d0704ed5da8c10cc2
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 15 21:24:26 2024 +0800

    split uboot patch into separated files

commit 5fa75455b77c8b76a750683fcd30160e7e344bf0
Author: chraac <chraac@gmail.com>
Date:   Thu Apr 11 10:18:35 2024 +0800

    wip

commit 266fe2e5546c98c20de7a6b3773cc7fcbdbbb781
Merge: ed22ba9ab 27a07d918
Author: chr <chraac@gmail.com>
Date:   Sun Apr 14 23:41:23 2024 +0800

    Merge branch 'main' into dev-zero2w

commit ed22ba9ab27e883bf8bd760b228b2f041497fea7
Author: chraac <chraac@gmail.com>
Date:   Wed Apr 10 23:26:25 2024 +0800

    move the u-boot patch to common parent folder

commit 80c3b23897b9723f732f4509b2dd0987bc142585
Merge: e23673e08 aee4c495a
Author: chr <chraac@gmail.com>
Date:   Wed Apr 10 13:12:15 2024 +0800

    Merge branch 'main' into dev-zero2w

commit e23673e084d03d375f09eb625cd83af852779b51
Author: chraac <chraac@gmail.com>
Date:   Tue Apr 9 23:44:16 2024 +0800

    rename old i2c overlays

commit 50e895c2aaec3b36611f7968f970d7a4c09253c5
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 8 21:10:22 2024 +0800

    add overlay to enable gpu

commit 88a2a780af0ff2c53456e4c110958b0a4fae2538
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 8 10:21:04 2024 +0800

    rename overlay and add pin binding

commit c4cf96be5f7bac4c563f7f162a075833faa49eee
Author: chraac <chraac@gmail.com>
Date:   Sun Apr 7 22:09:48 2024 +0800

    change overlay prefix back to 'sun50i-h616'

commit 72d6bf25531d870b90648d1853525820ed42d24e
Author: chraac <chraac@gmail.com>
Date:   Sat Apr 6 22:36:28 2024 +0800

    bump uboot version

commit 346d27611e0c493353e608e15eaad4f59b4ec9bd
Author: chraac <chraac@gmail.com>
Date:   Fri Apr 5 12:38:38 2024 +0800

    add dto overlay with h618 prefix

commit 62a6d90574c91def7b7bbcfaf00f8c49a3210ef8
Merge: 85c909511 e83d1a0ea
Author: chr <chraac@gmail.com>
Date:   Thu Apr 4 22:24:19 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 85c909511d12cf04a0354211766269a510e964c4
Author: chraac <chraac@gmail.com>
Date:   Wed Apr 3 12:36:25 2024 +0800

    remove driver skip

commit 498e177c8981b7c9038abb3a0cb4c0d6a2dcf6bc
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 1 23:35:18 2024 +0800

    update board maintainer

commit acccdf70a2690475511f28132a350ecb7707b424
Merge: 8cc50e576 6ced5cc02
Author: chraac <chraac@gmail.com>
Date:   Mon Apr 1 15:29:47 2024 +0800

    Merge branch 'main' into dev-zero2w

commit 8cc50e5762be9ed9a085278ad1ce1b79cf83a937
Author: chraac <chraac@gmail.com>
Date:   Sun Mar 31 23:58:48 2024 +0800

    add sun50i-h618-cpu-dvfs.dtsi

commit 7e9f7a8757a811918ba0cf406994fb17b33a30d9
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 30 15:28:00 2024 +0800

    format zero2w dts

commit b32369dd18cf93b65b83ee6360a6fdcb79434f18
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 30 11:09:00 2024 +0800

    wip -> csc

commit 12b76decdfe6bfd7e7a9110f8c2607a1db4b7ef4
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 18:41:49 2024 +0800

    enable hdmi

commit bad08f83d1f19f430593ae9794238d2001a97114
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 16:59:42 2024 +0800

    compact the u-boot patch

commit 4ab2fb50ae3b865f3423e5134ac8fad3fa11e6a1
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 12:07:08 2024 +0800

    add skip driver and add patch for kernel 6.7

commit 8747eb35b3fee796ea33a3e1b027b158dd6f6e10
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 29 10:57:35 2024 +0800

    remove unused patch of u-boot

commit 3afa2cd61f31dfbd5a41d054331125dc2052bb16
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 28 21:57:20 2024 +0800

    use single patch for u-boot

commit bb83471dc5413e498d0bd0191ee28a7e9f667fbc
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 28 20:45:38 2024 +0800

    update u-boot tag

commit d26508f299225471fb143515ab5f83dc6e3246a6
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 23:26:39 2024 +0800

    revert unused changes

commit 9292534923f1d8071ba8f4023925a38c46c5d810
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 23:20:02 2024 +0800

    fix temp too high on boot, and do not override the BOOTPATCHDIR!!!

commit 4e6f5b36d121ddb6436214784084c059701cd371
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 27 11:16:33 2024 +0800

    wip

commit ce8cf00ddf8f3c9f77013a53f23d63a111184db7
Author: chraac <chraac@gmail.com>
Date:   Fri Mar 22 10:53:25 2024 +0800

    fix overheat issue by increasing the critical temp

commit bce1034a48b02bd8184126009bdb10ab2a13d062
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 21:16:22 2024 +0800

    remove unused changes

commit 6c356a8aa8de75b0a3dcd4eb9ee5b1c4b86cf5cb
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 10:34:57 2024 +0800

    fix diff

commit dfe5cce8b5ce7717df4705adcbe1d0505350e640
Merge: ae1a5f22e 2cd46aceb
Author: chraac <chraac@gmail.com>
Date:   Thu Mar 21 10:13:59 2024 +0800

    Merge tag 'v24.2.1' into dev-zero2w

commit ae1a5f22eaddf52ccb6e1f11052a8d3b6df439e6
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 20 23:23:45 2024 +0800

    simpilfy dts

commit abec25c16e89cda29ae8f39a34c5e29eebe51319
Author: chraac <chraac@gmail.com>
Date:   Wed Mar 20 18:54:43 2024 +0800

    fix gpu therminal error

commit fe377d22db11163fd22a25e348f0872f235f3634
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 23:24:41 2024 +0800

    use patch for uboot

commit 639c9998a95114ea8bf094b9892a824f117119fd
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 20:40:53 2024 +0800

    fix cpu freq

commit b8f661dad97739aa6c19cb608aebc5b0b652f140
Author: chraac <chraac@gmail.com>
Date:   Mon Mar 18 19:04:53 2024 +0800

    change dts according to orangepi offical repo

commit b6d8c78c667b5e969889e743073f216528542e3a
Author: chraac <chraac@gmail.com>
Date:   Sat Mar 16 12:03:43 2024 +0800

    booted!

commit 09cd4af6e5
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 19:03:07 2024 +0100

    Updated broken commit ids for Raspberry-pi kernel

commit 0e6911f30b
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 17:49:27 2024 +0100

    Create output/info early in host prepare for storing JSON files

commit 2630001fbd
Author: Gunjan Gupta <viraniac@gmail.com>
Date:   Mon Feb 12 21:44:40 2024 +0530

    Freeze git sources for v24.02 release

commit 20491dcb2e
Author: Gunjan Gupta <viraniac@gmail.com>
Date:   Mon Feb 12 21:43:49 2024 +0530

    Add ability to freeze git resources

commit 5084cd6eff
Merge: c72537f21 25b0a833f
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Thu Feb 29 17:09:57 2024 +0100

    Merge branch 'main' into v24.02

commit c72537f21f
Merge: 080d23446 fa3c79675
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Tue Feb 13 22:15:50 2024 +0100

    Merge branch 'main' into v24.02

commit 080d234467
Author: Igor Pecovnik <igor.pecovnik@gmail.com>
Date:   Sun Feb 11 00:13:37 2024 +0100

    Set version
2024-04-26 20:53:33 +08:00
Igor Pecovnik f20c4b6de5 Fixing broken DT for h96 tvbox 3566 2024-04-26 15:20:45 +08:00
Nicolas Pereira d75bc9f94e HDMI sound & audio fix
Fixed dmesg sound error - shifting to jammy gnome
2024-04-25 20:27:49 -04:00
TheSnowfield b5e6e4837e rockchip-rk3308-current: add support for sakura pi rk3308b 2024-04-23 16:12:04 +08:00
Nicolas Pereira 702b5e592e board rk3566-h96-tvbox wifi fix, Led and IR enable
kernel 6.6 and 6.1
2024-04-22 15:19:41 -04:00
Pete 4b53634475
Add UDOO USB patch for newer kernels (#6505) 2024-04-22 16:00:47 +02:00
FantasyGmm 3f928f799c Update sm8250: kernel add legacy and edge branch 2024-04-22 18:11:07 +08:00
ColorfulRhino a4aa9972d8 rockchip: Remove old edge kernel patch folder 6.7 2024-04-20 23:36:35 +08:00
amazingfate 5b867a1cbd add pcie support to orangepi rk3399 2024-04-20 23:36:06 +08:00
Nicolas Pereira f3f76904ca board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira 2110f728a0 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira 265394e6a5 board rk3566-h96-tvbox bring up 2024-04-16 19:59:36 -04:00
Nicolas Pereira fe55d11946 add-board-h96-tvbox-3566 2024-04-16 19:59:36 -04:00
Nicolas Pereira ce10170cbf h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira e5adbd3ced h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Nicolas Pereira 3963188d0f h96-TVbox-rk3566 Board Bring Up 2024-04-16 19:59:36 -04:00
Igor Pecovnik 96abb9e944 Update failing patch 2024-04-17 02:28:24 +08:00
Muhammed Efe Cetin 27a07d918e rockchip-rk3588-edge: opi5b: add support for pcie wifi 2024-04-12 18:19:00 +02:00
brentr 04a5ff3be0
Corrected documentation error in Rockchip overlays (#6490)
The overlay enabling operation @1.3ghz for the RK3308-b silicon
is rk3308-b@1.3ghz -- not rk3308-bs@1.3ghz
2024-04-12 18:18:32 +02:00
ColorfulRhino f0c27bd69b kernel 6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.
2024-04-11 08:31:26 -04:00
ColorfulRhino 573d84a3e2 meson64-6.6: swiotlb: Reduce the default size if no ZONE_DMA bouncing needed
With CONFIG_DMA_BOUNCE_UNALIGNED_KMALLOC enabled, the arm64 kernel still
allocates the default SWIOTLB buffer (64MB) even if ZONE_DMA is disabled
or all the RAM fits into this zone. However, this potentially wastes a
non-negligible amount of memory on platforms with little RAM.

Reduce the SWIOTLB size to 1MB per 1GB of RAM if only needed for
kmalloc() buffer bouncing.

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-04-11 08:31:26 -04:00
Muhammed Efe Cetin 6cf0d5cf7d rockchip-rk3588-edge: opi5: fix typec and add support for GPU 2024-04-11 14:07:59 +02:00
ColorfulRhino aee4c495a1 board: cm3588-nas: Device tree fixes & improvements
- Add &spi0, &i2c4, &i2c5 for the pin-conections (all disabled)
- Remove &spi1 since it's not available on the board
- vcc_3v3_sd_s0: remove unevaluated property flasgs"enable-active-low", it's unneeded since the default assumed is Active low (linux/Documentation/devicetree/bindings/regulator/fixed-regulator.yaml)
- analog-sound: remove unevaluated property "simple-audio-card,hp-pin-name"
- &sdhci: remove "max-frequency = <200000000>;" since this value already defined as default in rk3588s.dtsi
- Rename node "button@1" to "button-user"
- Move "status" property to bottom, even if disabled
- Improve comments
2024-04-08 17:53:37 +00:00
ColorfulRhino 5a70a8a42b board: cm3588-nas: Add detailed GPIO labels
Reference was the official CM3588 NAS schematic revision 2309. Some GPIOs like USB, sdmmc or SPI-NOR are not listed.
2024-04-08 17:53:37 +00:00
aiamadeus aca32104dc rockchip: update dts patches for orangepi r1-plus 2024-04-07 13:23:44 +02:00
amazingfate 01508f7c78 add new board bananapim7 2024-04-06 01:27:54 +02:00
ColorfulRhino 69e7cffe0f board: cm3588-nas: Add support for mainline kernel 🦜🎉
- Add dts file (based on and improved upon the NanoPC-T6 dts, originally authored by Thomas McKahan)
- Both Edge and Collabora kernels are supported
2024-04-06 00:39:57 +02:00
ColorfulRhino 42c87ef5d0 rk3588-edge: Fix PCIe bifurification issues
One patch also fixes Combo PHY.

Many thanks goes to the geniuses Sebastian Reichel and Michal Tomek. Without their brainpower, PCIe bifurification on the RK3588, like the mode used by the CM3588, would still be broken.
2024-04-06 00:39:57 +02:00
ColorfulRhino 8dddccb0e5 rk3588-edge: Introduce patch numbering logic
Sorting the patches to group them by category:
000* for general patches
00** for SoC related patches
01** for GPU/HDMI related patches
08** for wireless patches
1*** for board patches
101* for Rock-5B, 1012* for Rock-5A and so on
2024-04-06 00:39:57 +02:00
ColorfulRhino 21dedb068a rk3588-edge: Rewrite kernel patches against 6.8.3 2024-04-06 00:39:57 +02:00
ColorfulRhino 38ceb096a1 rk3588-collabora: Bump to 6.9
The default collabora kernel branch is a rolling branch and will be rebased.
2024-04-06 00:39:57 +02:00
aiamadeus d193307e16 rockchip: rewrite dts for rock3c 2024-04-02 15:34:17 +02:00
Patrick Yavitz 0b7af65340 BananaPi CM4/M2S: FIXUPS
BPI-CM4
No change in functionality. Fixup adjustments.

BPI-M2S
The fan on the unit is constantly running. So lets set thermal
trip points and add the ability to control when we want it to
kick on. By default it is set to power on at 60*C.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-04-01 20:46:38 +02:00
SteeManMI d4093bd18e
Bump meson64 edge from 6.7 to 6.8 (#6454)
* Bump meson64 edge from 6.7 to 6.8

 Changes to be committed:
	modified:   config/sources/families/include/meson64_common.inc
	renamed:    patch/kernel/archive/meson64-6.7 -> patch/kernel/archive/meson64-6.8
	modified:   patch/kernel/archive/meson64-6.8/board-bananapi-cm4-cm4io-fixes.patch
	modified:   patch/kernel/archive/meson64-6.8/general-input-touchscreen-Add-D-WAV-Multitouch.patch
	new file:   patch/kernel/archive/meson64-6.8/kernel-6.8-tools-cgroup-makefile.patch

* updates from rewrite-kernel-patches

* updates from rewrite-kernel-config
2024-04-01 07:43:40 -04:00
Julian Sikorski 44d8ac4651 Update odroidxu4-current to 6.1.83 2024-03-29 13:12:01 +01:00
amazingfate 4887035522 rk3588-edge: rock-5a: fix poweroff and enable m.2 E slot 2024-03-28 14:07:22 +01:00
amazingfate 7d94527a8d enable gpu node for sige7, h88k and rock5a 2024-03-28 14:07:22 +01:00
Igor Pecovnik 86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +01:00
amazingfate 459e62e087 armsom-sige7: add ap6275p wifi support 2024-03-27 08:39:11 +01:00
Muhammed Efe Cetin a3bb1d06e0 rockchip-rk3588-edge: khadas-edge2: add automatic fan control 2024-03-26 23:26:50 +01:00
Muhammed Efe Cetin a97aee685d rockchip-rk3588-edge: refresh cpufreq patches 2024-03-26 23:26:50 +01:00
Paolo Sabatino a1aab845c0 rockchip64: update patching YAML file 2024-03-26 13:46:35 +01:00
Paolo Sabatino e4d413b916 rockchip64: bump edge kernel to 6.8 2024-03-26 13:46:35 +01:00
Muhammed Efe Cetin 8b41236462 rockchip-rk3588-edge: khadas-edge2: add support for GPU and improve display modes 2024-03-26 07:28:43 +01:00
amazingfate 1bece8c428 armsom-sige7: add missing vop node 2024-03-25 20:47:51 +01:00
Paolo Sabatino 47d2e8287e rockchip: bump edge kernel to 6.8 2024-03-25 19:38:38 +01:00
jack f99b2a8f3b add rockchip-rk3588-edge devicetree for armsom-sige7 2024-03-25 17:59:25 +01:00
amazingfate 0284261d76 fix wrong gpu node patch 2024-03-24 22:37:29 +08:00
amazingfate 58bc8d9658 rockchip-rk3588: edge: improve display modes support 2024-03-24 08:55:09 +08:00
amazingfate 741ebab0cb hinlink-h88k: edge: update mainline devicetree
add gmac0 ethernet support

add poweroff support

fix typo in dts
2024-03-22 09:41:56 +08:00
amazingfate 6aff5cfbc1 rockchip-rk3588: edge: add panthor support 2024-03-22 09:41:39 +08:00
amazingfate a763c08e05 rockchip-rk3588-edge: use hdmi patches from collabora 2024-03-21 10:13:31 +08:00
c0rnelius 9473ff596d
BananaPi M4 Zero: `add gpu and uart nodes` (#6404)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-19 06:15:44 -04:00
Paolo Sabatino 7723cbc343 remove rockpis-legacy kernel patch symlink 2024-03-18 08:38:46 +01:00
Paolo Sabatino a2fd19da52 rockchip64: merge rockpi-s into rockchip64 family 2024-03-18 08:38:46 +01:00
ColorfulRhino 16e2c6a8fc uefi: kernel: Add patch to fix 6.8 building 2024-03-17 18:57:28 +00:00
ColorfulRhino 8d6842c726 uefi-arm64: Rewrite kernel patches against 6.8
- Using ./compile.sh rewrite-kernel-patches
2024-03-17 18:57:28 +00:00
ColorfulRhino 55d9513c24 uefi: edge kernel: Bump from 6.7 to 6.8
- Kernel configs updated via ./compile.sh rewrite-kernel-config
2024-03-17 18:57:28 +00:00
ColorfulRhino 5c09371611 rk35xx-vendor: Add kernel patching config 2024-03-10 17:48:42 +01:00
amazingfate 817a0d6678 xiaomi-elish: use pd patch from lujianhua to fix typec otg 2024-03-10 17:47:11 +01:00
Martin Schmiedel d10e4b498d MBa8MPxL: add basic files for TQ MBa8MPxL boards
- add imx8m familie
- add MBa8MPxL and MBa8MPxL-RAS314 Boards (based on imx8m)

Signed-off-by: Martin Schmiedel <Martin.Schmiedel@tq-group.com>
2024-03-09 20:04:04 +01:00
Julian Sikorski 6466b8f101 Update odroidxu4-current to 6.1.81 2024-03-08 15:54:15 +01:00
Muhammed Efe Cetin 5e4393d185 rockchip-rk3588-edge: khadas-edge2: add MCU fan control 2024-03-06 17:51:08 +01:00
c0rnelius 64649a76e6
patches: BananaPi M4 Zero: fixups (#6364)
U-Boot:
Update DRAM parameters and enable USB.
Backport sunxi reorganize mctl_mem_matches_* functions
Backport restore modified memory
Add delay to steady dram detection
Alphabetize dts

Linux:
Add spi1_cs1_pin to h616 dtsi
Add node to m4-zero dts
Alphabetize dts

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-06 11:50:04 -05:00
Julian Sikorski edd866b8cf Update odroidxu4-current to 6.1.80 2024-03-05 23:03:14 +01:00
Paolo Sabatino 55836c6074 rockchip: add patches to fix peripheral mode
rk322x has peripheral mode that is not working
really well, add various non-upstream patches
and timing adjustments that makes things a bit
more usable (mass storage and ethernet works,
uac isn't)
2024-03-05 20:08:38 +01:00
brentr 58cf4e8fc8
Added 1.3ghz overlay for B variant RK3308 (#6348)
Updated and improved RK3308 overlay README doc
Moved rock-s0.wip to .conf
2024-03-03 22:39:07 -08:00
Ricardo Pardini 92d79917ac rockchip-rk3588-edge: rewrite kernel patches against v6.8-rc6, no changes 2024-03-03 16:58:34 +01:00
Ricardo Pardini 069c49b5f2 rockchip-rk3588-edge: rewrite kernel patches against v6.8-rc1, no changes
- in preparation for bump to v6.8-rc6/7 later
2024-03-03 16:58:34 +01:00
hzyitc e8cbdf6682
meson-6.7: Copy patches from 6.6 (#6341)
* meson-6.7: Copy patches from 6.6

Commit f852beca0a ("Switch meson64, bcm2711, sunxi, imx6, mvebu current to 6.6, edge to 6.7 and leave 6.1 for legecy") bump to linux 6.7 but forget to copy patches.

* meson-6.7: Refresh patches
2024-03-03 16:08:58 +01:00
c0rnelius d5133b6a43
Add board BananaPi M4 Zero (#6315)
* Add board BananaPi M4 Zero

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* HACK: wrong DRAM size: add extra barrier in mctl_mem_matches

People report that this is fixed by adding another "dsb();" at
the beginning of the mctl_mem_matches() function.

https://lore.kernel.org/all/ZWMv816r8YxPwsJO@BOB1/T/#mec26415158efa10e6f78c5c1a651bb834f8599c4
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* v2 add barrier and udelay to mctl_mem_matches function

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-03-03 09:42:07 -05:00
Muhammed Efe Cetin 97bd18b4dd rockchip-rk3588-edge: opi5-plus: fix USB3 Host 2024-03-03 15:10:51 +01:00
FantasyGmm 52889b1079
Add ayn odin2 config (#6305) 2024-03-03 07:59:56 +08:00
Muhammed Efe Cetin 3f5f8fe378 rockchip-rk3588-edge: add patches for ap6275p support 2024-03-02 22:00:20 +01:00
yangchaohong 87209d6620
Add config and device-trees for rock3c (#6301)
* Create rock-3c.csc

* Add files via upload

* Add files via upload

* Update rock-3c.csc
2024-02-28 15:38:51 +01:00
Muhammed Efe Cetin 3b224e48a1 rockchip-rk3588-edge: update USB3 patches from Collabora tree 2024-02-28 15:36:28 +01:00
Muhammed Efe Cetin a3152125a4 rockchip-rk3588-edge: add more nodes to Khadas Edge 2 devicetree 2024-02-28 15:36:28 +01:00
Gunjan Gupta 1337b67a55 BigTreeTech-CB1: legacy: bring kernel up to 6.1.79 version 2024-02-26 13:50:38 +01:00
Julian Sikorski cb165a2b3c Update odroidxu4-current to 6.1.79 2024-02-26 13:50:03 +01:00
Viacheslav Bocharov e3d2990e24 Enable Amlogic socinfo-sm for all main soc. 2024-02-26 15:49:19 +03:00
Viacheslav Bocharov a61c54491f Enable meson-socinfo-sm driver for JetHub D1/D1+/H1 devices.
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-02-26 15:49:19 +03:00
Viacheslav Bocharov 40f4f35715 Add meson-socinfo-sm driver patchset from
https://lore.kernel.org/linux-kernel/20231122125643.1717160-1-adeep@lexina.in/

Driver not enabled for all meson soc (to enable rename general-socinfo-sm-4 patch)

Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-02-26 15:49:19 +03:00
Igor Pecovnik 173954269f Revert "rockchip: workaround stmmac ethernet lock contemption"
This reverts commit 7c062f7dae.
2024-02-23 22:44:29 +01:00
Gunjan Gupta 455580abf4 BigTreeTech CB1: fix mmc probe failure due to regulator not being available 2024-02-20 12:45:26 +05:30
Igor cb664a36ed
Disable broken patch on current media kernel (#6281) 2024-02-17 09:27:25 +01:00
Marco Schirrmeister f9c3b6ce3d
Fix OPi5plus hym8563 pinctrls and poweroff support (#6276)
- Fix hym8563 interrupt pinctrls
- Support poweroff
- Correct gpio_pwrctrl1 typo
2024-02-14 17:30:56 +03:00
brentr d10951de7c
Initial support for Radxa Rock S0 board (#6261)
* Initial support for Radxa Rock S0 board
* Lets start this board as a WIP target
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-02-12 09:06:04 +01:00
Paolo Sabatino 7c062f7dae rockchip: workaround stmmac ethernet lock contemption 2024-02-10 15:32:07 +01:00
Igor Pecovnik ddcb86c90a Odroid XU4: Remove deprecated patch 2024-02-09 16:04:19 +01:00
Gunjan Gupta cf392c1787 H616: Add i2c and uart overlays 2024-02-04 16:48:30 +05:30
Gunjan Gupta d8123f0aee H616: Add dma 2024-02-04 16:48:30 +05:30
Julian Sikorski 495dc62996 Update odroidxu4-current to 6.1.76 2024-02-04 11:25:44 +01:00
amazingfate c0d5616dca rk35xx-legacy: 0000.patching_config.yaml with incremental: true for rk 5.10 vendor kernel
- allows users to put .dts files bare in `userpatches/kernel/rk35xx-legacy/dt`
- important: everyone is still invited to send the DTs to https://github.com/armbian/linux-rockchip directly
  - where yes, they'll have to patch the Makefile there as normal
2024-02-04 11:24:31 +01:00
Gunjan Gupta cba5ad5dcd meson-s4t7: Sync overlays with fenix v1.6.4 release 2024-02-04 11:22:27 +01:00
amazingfate 557393844d xiaomi-umi: rewrite patches 2024-02-02 00:00:04 +08:00
amazingfate 8060fc6837 xiaomi-umi: use dts file instead of patch 2024-02-02 00:00:04 +08:00
FantasyGmm 582d0e96b9 Add Xiaomi Mi10(umi) support 2024-02-02 00:00:04 +08:00
c0rnelius 8eab8fd19b
meson64: bananapicm4io/m2s: u-boot: v2024.01 and WS dts fixup (#6233)
BananaPi CM4/M2S:

Update to u-boot v2024.01
Fixup meson-g12b-waveshare-cm4-io-base-b.dts

Removed from 'fanctrl' node
address-cells = <1>;
size-cells = <0>;

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-02-01 08:06:28 -05:00
Igor Pecovnik 833e1c20c6 XU4: remove deprecated patches 2024-01-30 11:57:05 +01:00
Julian Sikorski 2478c078b2
Update odroidxu4-current to 6.1.75 (#6213)
* Update odroidxu4-current to 6.1.75
* Revert odroid kernel commit fa6baad as an equivalent fix is part of vanilla 6.1.75
2024-01-29 15:48:14 +01:00
Paolo Sabatino 56319d5c44 rockchip64: fix ssv6051 driver 2024-01-27 19:16:42 +01:00
Gunjan Gupta a9759b2c3c meson-s4t7: kernel: Disable git hook modification in kernel Makefile 2024-01-27 01:55:55 +01:00
Gunjan Gupta c47c9372bf
Khadas VIM1S & VIM4 - 5.15 kernel bump (#6201)
* meson-s4t7: bump u-boot to khadas-vims-u-boot-2019.01-v1.6-release
* Use khadas default bootargs as much as possible
* Add new hook to allow copying code into kernel
* meson-s4t7: legacy: Switch to 5.15 kernel
* meson-s4t7: add kernel-config for 5.15 kernel
* device tree overlays for 5.15 kernel for vim1s and vim4
* restructure packaging of bsp files for vim1s/vim4
* silence vblank warning on boot
* Remove display workaround as it doesn't work with 5.15 kernel
* Remove 5.4 kernel patches
2024-01-26 08:40:11 +01:00
amazingfate 3d205bc59f rockchip-rk3588-edge: bump to v6.8-rc1 2024-01-24 17:43:27 +01:00
lanefu 1bad889bb7
add salvas UHS overlay and enable Rockpro64 and Pinebook-pro (#6134)
* add salvas UHS overlay and enable on 2 known devices known to have voltage regulator needed to leverage UHS
* remove increased UHS from pinebook-pro default due to justification in kernel commit history
* remove enabling YOLO UHS overlay from default board config
2024-01-22 21:19:43 +01:00
Paolo Sabatino 1c54806da5 rockchip64: import RFC patch for rockchip TRNG 2024-01-22 21:18:31 +01:00
Lane Jennison fda3813284 rock-5b: enable spi flash patch 2024-01-22 21:16:54 +01:00
ARCW 9c4c0409a6
Add new borad "ASUS Tinker-Edge-R" (#6153)
* rockchip64: Add board "ASUS Tinker-Edge-R"

* rockchip64: Add board "ASUS Tinker-Edge-R": hammer for 6.6 current & 6.7 edge

- cleanup
- squash dtsi and dt into a single thing, rename to dashes
- change dtb reference in board file
- drop the 6.1 patch that has junk in it

---------

Co-authored-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-21 14:56:20 -05:00
jokubasver 1023f9d420
sun50i-h618-orangepi-zero3: Change gpu node status to okay (#6187)
* sun50i-h618-orangepi-zero3: Change gpu node status to okay

* sun50i-h618-orangepi-zero3: Change gpu node status to okay
2024-01-21 16:41:16 +02:00
lanefu 84e9ab7895
rockchip64-edge: update rk35xx crypto patch (#6183) 2024-01-20 23:06:38 -05:00
c0rnelius e73c0b6514
meson64: overlays: `additions and modifications` (#6175)
PWM controllable fan (G12A/B/SM1)

Commit provides two new overlays. One for the BananaPi CM4IO
Baseboard "GPIOH_5" and another for general use "GPIOX_5".

CM4IO HEADER PINS: 5V "4"; GND "6"; PWM "7"

On other units the location of the PWM HEADER PIN may vary,
so users will need to either review the wiki or schematic
of said unit.

Fan used in testing:
https://a.co/d/hasnLtj

Modifications: M2S/M5 RTL8822CS
Modded the overlays to be specific to the unit they were made
to be used on.

Tested-on: BananaPi BPI-CM4IO Baseboard with BPI-CM4 Module

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2024-01-18 14:31:43 -05:00
Julian Sikorski 11b8b9afc2
Update odroidxu4-current to 6.1.73 (#6174)
* Update odroidxu4-current to 6.1.73
* Re-add kernel patchdir
---------
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2024-01-17 22:50:43 +01:00
Ricardo Pardini c23caad016 meson64: 6.7 edge: fix SPI-NOR patch for 6.7.y
- general-spi-nor-add-support-for-XT25F128B.patch: fixed same as Paolo did for rockchip64-6.7
2024-01-14 19:39:09 +01:00
Ricardo Pardini 29085a7f73 meson64: 6.7 edge: rebase patches to 6.7
- general-rc-drivers-should-produce-alternate-pulse-and-space-timing-events.patch: dropped
- added `-spidev` DT's for a few boards (gives access to SPI Flash in exchange for slower eMMC)
- cleanup 0000.patching_config.yaml for meson64-6.7
2024-01-14 19:39:09 +01:00
Ricardo Pardini 61d875bae7 meson64: 6.7 edge: copy patches from 6.6 2024-01-14 19:39:09 +01:00
Ricardo Pardini 9b9011eb5d meson64: 6.6 current: added `-spidev` DT's for a few boards & cleanup 0000.patching_config.yaml
- gives access to SPI Flash in exchange for slower eMMC
- cleanup 0000.patching_config.yaml for meson64-6.6
2024-01-14 19:39:09 +01:00
Paolo Sabatino 97fd32d109 rockchip64: add missing header to patch 2024-01-14 14:14:50 +01:00
Paolo Sabatino 93330d3c3c rockchip64: fix for spi-nor macro 2024-01-14 14:14:50 +01:00
Paolo Sabatino f691a1d50e rockchip64: cosmetic fix 2024-01-14 14:14:50 +01:00
Paolo Sabatino 1f4df4c41f rockchip64: bump edge to 6.7, current to 6.6 2024-01-14 14:14:50 +01:00
Lane Jennison 6c5ea26897 RK3588-edge: add SATA1 overlay for rock5b 2024-01-12 19:34:37 +01:00
Paolo Sabatino 66ad1a88f1 rockchip: rework rk3228/rk3328 dfi driver for kernel 6.7 2024-01-12 19:23:51 +01:00
Paolo Sabatino 1405f0f8fd rockchip: fix esp8089, ssv6051 wifi drivers for kernel 6.7 2024-01-12 19:23:51 +01:00
Paolo Sabatino af16481a88 rockchip: move current to 6.6 and edge to 6.7 2024-01-12 19:23:51 +01:00
amazingfate 4df72bb3d8 xiaomi-elish: rebase kernel patches for 6.7 2024-01-12 09:51:06 +08:00
amazingfate 084ea0caa7 xiaomi-elish: rewrite patches 2024-01-09 19:28:16 +08:00
Igor Pecovnik f852beca0a Switch meson64, bcm2711, sunxi, imx6, mvebu current to 6.6, edge to 6.7 and leave 6.1 for legecy
- detach sunxi from fixed vesions
- imx6 remove symlinks
- move to archive & cleanup
2024-01-07 18:58:36 +01:00
Ricardo Pardini 8e94b012fd rockchip (32-bit): move version locking to shared hook in mainline-kernel.conf.sh 2024-01-07 18:58:36 +01:00
Ricardo Pardini 6a1b52cad1 sunxi/sunxi64: move version locking to shared hook in mainline-kernel.conf.sh 2024-01-07 18:58:36 +01:00
Ricardo Pardini 8b60fb750d meson (32-bit): family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks 2024-01-07 18:58:36 +01:00
Ricardo Pardini cb4893ddbe rockchip64: family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks
- rockchip64_common is used by BOARDFAMILY's with their own LINUXFAMILY, so we can't be very generic here
2024-01-07 18:58:36 +01:00
Ricardo Pardini b9766185fb meson64: family common: drop KERNELBRANCH, rely on KERNEL_MAJOR_MINOR only, no more symlinks 2024-01-07 18:58:36 +01:00
amazingfate 02ef17a3a0 rock-5b edge: fix emmc, temp sensor and power off
We need to slow down to HS200 for stable emmc.
Add tsadc node for temp sensor.
Add power off fix from mail list.
2024-01-05 10:41:32 +08:00
amazingfate 6015ba52f9 add rockchip-rk3588-edge devicetree for hinlink-h88k 2024-01-05 10:40:34 +08:00
Lane Jennison 5b1c1c2897 mvebu-edge: move to 6.6.y 2024-01-04 00:06:37 +05:30
Ricardo Pardini a5524afbbf mixtile-blade3 / rockchip-rk3588-edge 6.7: enable tsadc for thermal sensors
- thanks AmazingFate
2024-01-04 00:04:02 +05:30
Ricardo Pardini 8d90992192 mixtile-blade3 / rockchip-rk3588 edge 6.7: slow down eMMC from hs400 to hs200 2024-01-04 00:04:02 +05:30
Ricardo Pardini 33941f1741 mixtile-blade3 / rockchip-rk3588 edge 6.7: pci3x4 for Mixtile Blade3 (rpardini's bad take)
- arm64: dts: rockchip: pci3x4 for Mixtile Blade3
- pinctrl for `1 RK_PB2` pull_up
- regulator `vcc3v3_pcie30` always-on and boot-on
  - there is probably a much better fix than this, but I couldn't find it

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-04 00:04:02 +05:30
Ricardo Pardini 1817b39d59 mixtile-blade3 / rockchip-rk3588 edge 6.7: cleanups for Mixtile Blade3
- arm64: dts: rockchip: cleanups for Mixtile Blade3
- drop `hym8563` pinctrl (don't think the blade3 has an RTC)
- `i2c5` is exposed on the 30-pin, add comment
- fix tab in `pcie30phy`

Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
2024-01-04 00:04:02 +05:30
Ricardo Pardini 6873cb2a8e mixtile-blade3 / rockchip-rk3588 edge 6.7: add DT (original from Joshua Riek)
- base for https://github.com/Joshua-Riek/linux/pull/1
2024-01-04 00:04:02 +05:30
Paolo Sabatino cba4c033b0 rockchip: implement governor attribute sysfs for rk322x-dmc 2024-01-03 23:58:57 +05:30
pixdrift 1c3306c130
Enable CPU frequency configuration for Orange Pi Zero 3 (#6127)
* Enable CPU frequency configuration for Orange Pi Zero 3

* Revert "Enable CPU frequency configuration for Orange Pi Zero 3"

This reverts commit 7af1ee1116.

* Enable CPU frequency configuration for Orange Pi Zero 3

---------

Co-authored-by: Gunjan Gupta <viraniac@gmail.com>
2024-01-03 18:18:43 +05:30
brentr d48977e38d
fixes failing 10Mbit built-in Ethernet -- https://armbian.atlassian.net/browse/AR-1904 (#6117) 2023-12-31 18:27:48 +01:00
Gunjan Gupta 52523d1f4d delete patch as it should no longer be required 2023-12-31 01:13:50 +05:30
Gunjan Gupta 512ddcb3cc disable patch to fix display on H616/H618 display 2023-12-31 01:13:50 +05:30
Gunjan Gupta 290d866448 sun50iw9: Add HDMI support for H616/H618 2023-12-31 01:13:50 +05:30
Gunjan Gupta 6abd384e6f Port few zero2 patches to cover zero3 as well 2023-12-31 01:13:50 +05:30
Ricardo Pardini f590d86a91 [cleanup] remove old rk35xx-4.19 archive patch folder that is unused 2023-12-28 13:52:19 +01:00
Ricardo Pardini 0daaccab8f [cleanup] rockchip64 legacy: remove long dead 4.4 patches (family/common didn't define legacy branch for a while) 2023-12-28 13:52:19 +01:00
Ricardo Pardini c609299ca2 [cleanup] rk3399: remove defunct patches & dangling symlinks for rk3399-legacy and rk35xx-legacy 2023-12-28 13:52:19 +01:00
Julian Sikorski e612895fed Update odroidxu4-current to 6.1.69 2023-12-27 13:59:43 +01:00
Ricardo Pardini 7436eba79c rockchip-rk3588 edge 6.7: add overlay support; add rockchip-rk3588-sata2 overlay 2023-12-27 13:30:23 +01:00
Ricardo Pardini 3351056c54 rockchip-rk3588 edge 6.7: bump to 6.4-rc7; rebase patches 2023-12-27 13:30:23 +01:00
Ricardo Pardini 78b8ad184d rockchip-rk3588 edge 6.7-rc4: rewrite/rebase patches
- in the process, `MAINTAINERS` file patches are dropped
2023-12-27 13:30:23 +01:00
Ricardo Pardini 8825be3e16 uefi: arm64: current: 6.6: rebase patches onto 6.6.8 2023-12-27 13:29:37 +01:00
Ricardo Pardini 7cdad141fa uefi: arm64: edge: 6.7: rebase patches onto 6.7-rc7 2023-12-27 13:29:37 +01:00
Ricardo Pardini 8d10a84839 uefi: arm64: drop obsolete patch archives for 6.2, 6.3, 6.4, 6.5 2023-12-27 13:29:37 +01:00
Ricardo Pardini 9cb365aad2 uefi: all: edge: bump to 6.7-rc7; arm64: fix Phytium stmmac patch (by Igor)
Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2023-12-27 13:29:37 +01:00
Ricardo Pardini 7258246bfd uefi-arm64 6.7: copy patches from 6.6 2023-12-27 13:29:37 +01:00
Ricardo Pardini ef995dafc2 uefi: common: stop using symlinks, instead point directly to KERNEL_MAJOR_MINOR
- uefi: common: drop kernel symlinks
- remove duplicate decls
- simplify
- some comments
2023-12-27 13:29:37 +01:00
Paolo Sabatino f71a96b799 remove rk322x and rockchip non-LTS kernel patch archives 2023-12-26 16:45:30 +01:00
Paolo Sabatino 24ce44421b remove unsuitable patch 2023-12-26 16:45:30 +01:00
Paolo Sabatino 562d96128b consolidate rk322x and rockchip 32 bit families
* merge patches from rockchip and rk322x families for current and edge
   kernels
 * adjust patches for tinkerboard to remove some cruft and overclocking
 * rework kernel configs
 * fix rk322x dmc to avoid lockup on rk3288
 * migrate rockchip-6.6 into patch series, rename all patches with
   more understandable names
 * add gen-series.sh script in tools directory (it is a naive tool to
   create patch series when you don't want to rebase everything)
2023-12-26 16:45:30 +01:00
Gunjan Gupta 7595b0a3cb Fix dtb compilation failure because of upstreamed sid node for sun50i-h616
While at it, also fixed the following warning

arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi:189.40-191.6: Warning (unit_address_format): /soc/efuse@3006000/cpu-speed-grade@00: unit name should not have leading 0s
2023-12-24 09:13:08 +01:00
Gunjan Gupta 10f4e8e6fb Remove old leftover kernel patches 2023-12-24 09:13:08 +01:00
Gunjan Gupta 61b23605f9 Bump allwinner kernels legacy, current and edge kernels 2023-12-24 09:13:08 +01:00
Gunjan Gupta a269c9a1c5 Refreshed patches using rewrite-kernel-patches command 2023-12-24 09:13:08 +01:00
Gunjan Gupta 30ef1a3e14 Allwinner: Add kernel patches for 6.7 kernel 2023-12-24 09:13:08 +01:00
Alban Browaeys 9bc637f738 Helios64: the chip temperature sensor is really a National lm75 2023-12-24 08:08:11 +01:00
Andrey Safonov 861cd6620f update NanoPI R2C dts for edge kernel 2023-12-17 10:31:57 +01:00
Andrey Safonov 764ec29f32
Rockchip64 PCIE PHY reset on probe (#6057)
* rk3399 PCIE PHY reset on probe
2023-12-17 10:30:51 +01:00
Paolo Sabatino fbfa2aa9ad rockchip64: fixes for v4l2, add rkvdec hevc decoder 2023-12-16 11:06:06 +01:00
Gunjan Gupta 1db3008302 Add missing dts nodes for wifi support 2023-12-16 01:25:34 +05:30
Igor c7397e62d0
Move forgotten overlays from Odroid M1 (#6021)
- add Device Odroid M1 device tree to dt subfolder
- fix permission for panther x2
- move and rename overlays
- integrate hardkernel fixup to rockchip fixup script
- detach nanopi r5 from nonexisting odroid kernel family to rockchip64
- Remove patches for 6.5
- Use correct overlay namings
- Align Board name with others from the vendor
2023-12-14 10:36:06 +01:00
Muhammed Efe Cetin 3623035568 opi5: fix analog sound on edge kernel & add dt for opi5b 2023-12-14 10:34:17 +01:00
Igor Pecovnik e677bb656c Remove deprecated bits in patches that prevent compilation 2023-12-14 09:44:35 +01:00
Igor Pecovnik 88f14d1625 Cleanup deprecated Odroid XU4 kernel patches, cleanup old unused folders 2023-12-12 08:31:52 +01:00
Julian Sikorski 4d85023729 Update odroidxu4-current to 6.1.67 2023-12-11 17:58:53 +01:00
Paolo Sabatino 2b342b2366 rockchip64: move uwe5622 adjust patch to misc 2023-12-08 18:25:10 +01:00
Igor fae4f66439
Merge Odroid M1 into rockchip64 family (#6015) 2023-12-07 09:22:42 +01:00
Jens J d2c928cbf0
add dts for mini-m8s-pro tvbox (#6014) 2023-12-07 00:41:12 +01:00
LiX e43d5ae4d2 Added NanoPi R5C support, based on the works done by lanefu for NanoPi R5S, with ethernet interface name updated and corresponding LED status support. 2023-12-06 18:19:26 +01:00
Julian Sikorski e4d51f340b
Update odroidxu4-current to 6.1.65 (#6010) 2023-12-05 12:48:12 +01:00
Igor Pecovnik 89bb6c4cfe Fix rk322x broken patches 2023-12-03 23:53:11 +01:00
Muhammed Efe Cetin 7f8a905ff9 rk3588: edge: add vop2, hdmi support to rock5 series and fix hdmi0 reset gpio on opi5 2023-12-03 18:49:35 +01:00
Gunjan Gupta 7c90deff63 Fix patch application failure due to upstreamed code 2023-11-28 20:53:51 +01:00
雷耀 11379ef9b7
rockchip-rk3566:add new board JP-TVbox-3566 (#5904) 2023-11-27 13:02:06 +01:00
Ricardo Pardini 204d2e79b9 WSL2 "boards" `wsl2-x86`/`wsl2-arm64` with current (6.1.y) and edge (6.6.y) kernels with Microsoft patches
> tl,dr: add 4 small-ish UEFI-like kernels, with Microsoft patches & fixes, for use with Microsoft WSL2 on x86/arm64 and 6.1.y/6.6.y

- the boards are UEFI derivatives, using a common `microsoft` vendor include to modify
  - `KERNELPATCHDIR`/`LINUXFAMILY` (for now, we don't want those patches in regular UEFI builds / .debs)
  - disable `EXTRAWIFI` (kernel is for a VM, will never have wifi so doesn't need any drivers)
  - `LINUXCONFIG`, so we can use Microsoft's own monolithic kernel, required for WSL2 (their initrd is a mistery)
- really, what we're mostly interested right now are the kernels (in the future we might have an "Armbian" WSL2 app in the Microsoft Store)
  - `current` `6.1.y`:
    - rebased from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y onto real 6.1.y
    - using Microsoft's `.config` exactly (monolithic, there are no `=m`'s)
  - `edge` `6.6.y`:
    - also from https://github.com/microsoft/WSL2-Linux-Kernel/tree/linux-msft-wsl-6.1.y but rebased onto 6.6.y
    - using updated Microsoft's `.config` (monolithic, there are no `=m`'s)
    - dropped 2 of 6.1.y's patches that were actually upstreamed in the meantime:
      - `mm-page_reporting-Add-checks-for-page_reporting_order-param` - mainlined in https://lore.kernel.org/all/1664517699-1085-2-git-send-email-shradhagupta@linux.microsoft.com/
      - `hv_balloon-Add-support-for-configurable-order-free-page-reporting` - mainlined in https://lore.kernel.org/all/1664517699-1085-3-git-send-email-shradhagupta@linux.microsoft.com/
    - drop the `arm64: hyperv: Enable Hyper-V synthetic clocks/timers` patch, since it causes asm breakage on 6.6.y
      - a shame, but I tried and can't fix it myself - @kelleymh ?
    - add my own patch to fix:
      - `1709-drivers-hv-dxgkrnl-restore-uuid_le_cmp-removed-from-upstream-in-f5b3c341a.patch` due to https://lore.kernel.org/all/20230202145412.87569-1-andriy.shevchenko@linux.intel.com/ landing in 6.6
      - `1710-drivers-hv-dxgkrnl-adapt-dxg_remove_vmbus-to-96ec29396-s-reality-void-return.patch` to adapt to
        https://lore.kernel.org/all/TYCP286MB2323A93C55526E4DF239D3ACCAFA9@TYCP286MB2323.JPNP286.PROD.OUTLOOK.COM/
2023-11-27 11:14:01 +01:00
amazingfate e6ee3e7de0 xiaomi-elish: add typec pd support 2023-11-27 10:01:12 +01:00
amazingfate 66bc89b3a3 xiaomi-elish: bump to kernel 6.7-rc2 2023-11-26 23:20:57 +01:00
Julian Sikorski cbb77faca7 Update odroidxu4-current to 6.1.63 2023-11-25 08:27:58 +01:00
Igor 23b94a05aa
Fix Rockchip current and edge kernel from compile breaking (#5950)
* Fix rockchip current and edge kernel from compile breaking
* Fix media and rockchip64 kernel patches
* Fix remaining rockchip kernel patches
2023-11-21 20:43:50 +01:00
Gunjan Gupta fdf1a7af7f Allwinner: bump legacy, current and edge kernels
legacy - 5.15.137 -> 5.15.139
current - 6.1.62 -> 6.1.63
edge - 6.6.1 -> 6.6.2

Updated patches to fix patch application failure. Also rebased the config files
2023-11-21 11:21:03 +05:30
Muhammed Efe Cetin a406e8323a Update VOP2 & HDMI QP patches from Andy's kernel tree 2023-11-20 16:31:58 +01:00
Igor 8caf51243e
Bump rpi and ebin edge kernels to 6.6.y (#5925)
* Bump rpi and ebin edge kernels to 6.6.y
* Move rpi patches from archive, remove deprecated patch folder
2023-11-19 22:34:54 +01:00
M. Efe Çetin af3b4fafec
Update rk3588-edge to 6.7-rc.1 and add support for VOP2, Crypto, HW RNG (#5928)
* Update rk3588-edge to 6.7-rc1 kernel
* Update patches for rk3588-edge and add support for crypto, trng, hdmi tx, vop2
2023-11-19 22:30:26 +01:00
hzy dcf4360b53 meson: edge: refresh patches 2023-11-19 22:27:54 +01:00
hzy d6ede78016 meson: edge: Bump v6.6 2023-11-19 22:27:54 +01:00
Kevin Schmidt 72922908c5 Refresh jetson-nano board config. 2023-11-19 22:27:28 +01:00
Tony 9f4260501d
collabora: update to newer tags (#5915) 2023-11-15 13:27:15 +01:00
Gunjan Gupta e4ad867e47
kernel: sunxi: disable patch that prevents host mode on otg port (#5913)
Co-authored-by: Igor <igor@armbian.com>
2023-11-15 00:32:39 +01:00
chainsx 21091b29f4 media: fix firefly-rk3399 mini-pcie slot 2023-11-14 12:05:25 +01:00
Tony 02f80a255b
more archive cleaning (#5907)
* Meson64 clear abandoned kernels

* Rockchip: Clear out EOL kernels
2023-11-13 16:13:47 -05:00
Tony 9f350d74bb
Rockchip64: Clean up archive of all EOL kernels (#5903)
* Delete patch/kernel/archive/rockchip64-6.4 directory

EOL kernel replaced by 6.5->6.6

* Delete patch/kernel/archive/rockchip64-6.3 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-6.0 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.19 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.18 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.17 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.14 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.13 directory

EOL kernel

* Delete patch/kernel/archive/rockchip64-5.12 directory

EOL kernel
2023-11-13 07:41:04 -05:00
Viacheslav Bocharov 217a5b3ea3 JetHome: Add dts kernel patch for support onboard eeprom in JetHub D1+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2023-11-08 14:06:32 +01:00
Igor Pecovnik cc02b91478 Remove deprecated patches 2023-11-08 11:19:19 +01:00
amazingfate f55a87d469 add v4l2 patches to rockchip64 for chromium 2023-11-05 10:05:18 +01:00
Jianfeng Liu 409cd45e50
xiaomi-elish: update config for 6.6, and fix one bluetooth pairing issue (#5885)
* xiaomi-elish: update .config, enable BINFMT_MISC and UHID
* xiaomi-elish: fix some bluetooth LE devices not pairing
2023-11-05 10:04:12 +01:00
amazingfate c66bfb3e38 bump xiaomi-elish to kernel 6.6 2023-11-03 08:12:29 +01:00
Julian Sikorski 26fed3cbda Update odroidxu4-current to 6.1.60 2023-10-31 08:14:43 +01:00
Ricardo Pardini 0488392964 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6.y; rebase patches to v6.6(.0) 2023-10-31 08:14:01 +01:00
Paolo f08dcd4867
rockchip,rk322x: bump edge kernel to 6.6 (#5875)
* rockchip,rk322x: bump edge kernel to 6.6
* rk322x: update patching_config.yaml
2023-10-31 08:13:23 +01:00
Gunjan Gupta b8ab4f5e30 sunxi: bump edge kernel to 6.6 2023-10-30 22:58:11 +05:30
Gunjan Gupta a55ae4ec93 kernel: sunxi: remove 6.4 kernel patches 2023-10-30 22:58:11 +05:30
Gunjan Gupta d1186b8a0e kernel: sunxi: Add patches for 6.6 kernel
I have changed the way the patches are generated a bit. Instead of using orange-pi branch from megous tree for 6.6 kernel, I have used the following kernel branches

	a83t-suspend, af8133j, anx, audio,
	axp, cam, drm, err, fixes, mbus,
	modem, opi3, pb, pinetab, pp, ppkb,
	samuel, speed, tbs-a711, ths

These branches were carefully chosen to include only allwinner related patches and remove importing of the rockchip related patches into the allwinner kernel.

Following patches are modified to fix patch application failure
- patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-reg_usb1_vbus-status-ok.patch
- patches.armbian/arm64-dts-sun50i-h616-orangepi-zero2-Enable-GPU-mali.patch
- patches.armbian/arm64-dts-allwinner-h616-Add-efuse_xlate-cpu-frequency-scaling-v1_6_2.patch
- patches.armbian/arm64-dts-allwinner-h616-LED-green_power_on-red_status_heartbeat.patch
- patches.armbian/arm64-dts-allwinner-overlay-Add-Overlays-for-sunxi64.patch
- patches.armbian/arm64-dts-sun50i-h616-bigtreetech-cb1.patch

Following patches are modified because of kernel api change to fix compilation failure
- patches.armbian/drv-gpu-drm-sun4i-Add-HDMI-audio-sun4i-hdmi-encoder.patch
- patches.armbian/drv-of-Device-Tree-Overlay-ConfigFS-interface.patch
2023-10-30 22:58:11 +05:30
amazingfate 4232299a3b sm8250: make nt36523 touchscreen start faster 2023-10-26 21:17:01 +08:00
Ricardo Pardini bf6b4b3cce sm8250 edge 6.5: rewrite patches, no changes
- done with `./compile.sh BOARD=xiaomi-elish BRANCH=sm8250 rewrite-kernel-patches`
2023-10-26 21:17:01 +08:00
amazingfate 46a46dc14e add new device xiaomi-elish 2023-10-26 21:17:01 +08:00
Ricardo Pardini 98c0ab47f5 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6-rc7; rebase/rewrite patches for 6.6-rc7 2023-10-26 14:30:48 +02:00
c0rnelius 95229ffdef
general: extra: meson64 overlays: `radxa zero` (#5860)
* general: extra: meson64 overlays: `radxa zero`

Radxa Zero: Add overlays for serial i2c and spi.
BPI-M2S/M5: Add RTL8822CS overlays for each unit.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

* v2: general: extra: meson64 overlays: `radxa zero`

compatible = "armbian,spi-dev";

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>

---------

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-25 08:01:01 -04:00
c0rnelius f10935160b
Radxa Zero: `set aliases for serial i2c and spi` (#5859)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 15:51:11 -04:00
c0rnelius 73a409df2b
Waveshare CM4-IO-BASE-B with BPI-CM4 Module (#5857)
Set fan max speed to kick in at 65*C. This keeps the unit roughly
at 70*C or lower, when pusing all cores for an extended period of
time.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 13:44:54 -04:00
Tony 43ba5437f0
update compatible string for Odroid C2 Spidev (#5852) 2023-10-22 13:13:02 -04:00
Ricardo Pardini dd6f788a0a rockchip64 / edge 6.6: add overlay rockchip-rk3566-sata2.dts
- this would also apply to 3568
2023-10-22 11:43:50 +00:00
Ricardo Pardini f60ef3aa31 rockchip64 / edge 6.6: add rk3566-orangepi-3b-sata DTB 2023-10-22 11:43:50 +00:00
Ricardo Pardini 3ed795e4cb rockchip64 edge 6.6: bump to `6.6-rc6`; rebase patches 2023-10-21 14:00:08 +02:00
Ricardo Pardini b89858d4d2 uefi edge 6.6: bump to `6.6-rc6`; rebase patches
- also bump `qemu-uboot` variant's uboot from 23.10-rc4 to final 23.10
2023-10-21 13:59:32 +02:00
Ricardo Pardini 6731b003e2 meson64 edge 6.6: bump to `6.6-rc6`; rebase patches 2023-10-21 13:57:12 +02:00
Ricardo Pardini c94f6fb855 rockchip64 / edge 6.6: bump to 6.6-rc5; rebase patches 2023-10-14 22:02:27 +02:00
Paolo Sabatino 022183eb6e rk322x: fix NEC/NECX/NEC32 protocol handling for rockchip-ir driver 2023-10-13 17:36:14 +02:00
Paolo Sabatino c2b148add7 rk322x: add IR driver for remote controller wakeup 2023-10-13 17:36:14 +02:00
Patrick Yavitz 595e1fdf62 v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Added wakeup-source to fanctrl node so emc2305 module loads at boot.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz 67af958258 hwmon: emc2305: fixups for driver
BPI-CM4 fan control

hwmon: emc2305: fixups for driver
The driver had a number of issues, checkpatch warnings/errors,
and other limitations, so fix these up to make it usable.
hwmon: emc2305: Change OF properties pwm-min & pwm-max to u8
hwmon: emc2305: Add calls to initialize cooling maps
233096b8a9/drivers/hwmon/emc2305.c

Tested-on: CM4-IO-BASE-B: https://www.waveshare.com/wiki/CM4-IO-BASE-B
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz f1cf0cd51f v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Julian Sikorski ebdea95608 Update odroidxu4-current to 6.1.56 2023-10-07 09:59:15 +02:00
Gunjan Gupta b7d944a652 Khadas Vim1s: Fix monitor not detected after its turned off and on again 2023-10-06 19:47:06 +02:00
Ricardo Pardini 6200855d5f
`rockchip64` + `rk3568-odroid` / `edge` 6.6: update montjoie's rk crypto v2 patches to crypto-rk3588-03-10-2023 (#5794) 2023-10-06 19:39:18 +02:00
Tony 9f9506c1f8
Remove FA vendor patch (#5792)
This patch does nothing useful and could cause issues in the future with the strange "driver", delete it.
2023-10-06 11:31:09 +02:00
Tony f3fc9cb0de
rockchip64 edge overlay cleanup (#5793)
Addresses the RK3399-only overlays by adding -rk3399 to them.

Sort the Makefile to have some order to the chaos.
2023-10-06 01:35:43 -04:00
hzyitc 7312a910ef
meson: fix: Fail to register VCC_CORE regulator (#5784) 2023-10-04 12:59:33 +02:00
Ricardo Pardini fd4b3a7392 `rk322x`/`edge` 6.5: enable Makefile Autopatcher, remove Makefile patches
- remove add-board-makefile Patch
- remove `overlay-y` Makefile patch
- add note to the 6.1 version: Makefile autopatcher can't be enabled for 6.1, since the armhf move to subdirs only landed in 6.5-rc1
2023-10-03 14:12:18 +02:00
Ricardo Pardini 51815d9812 `rk3568-odroid`/`edge` 6.6.y: add montjoie's rk3588/68/66 rk2 crypto patches (v1) 2023-10-03 14:10:14 +02:00
Ricardo Pardini bfb69c0534 `rk3568-odroid`/`edge`: bump to `6.6-rc4`; initial copy from 6.5
- this is getting long in tooth, should merge with rockchip64 "soon"
2023-10-03 14:10:14 +02:00
Ricardo Pardini 9917d8be8f `rockchip64`/`edge` 6.6.y: add montjoie's rk3588/68/66 rk2 crypto patches (v1) 2023-10-03 13:54:03 +02:00
Ricardo Pardini 80a0bf14fa `rockchip64`/`edge` 6.6.y: update overlay configfs patch from rpi
- from b128f09592.patch
  - found via https://github.com/raspberrypi/linux/commits/rpi-6.6.y/drivers/of/configfs.c
2023-10-03 13:54:03 +02:00
Ricardo Pardini 850a6c0da5 `rockchip64`/`edge` 6.6.y: fix TB2's regulator patch after probe/probe_new dance
- rpardini: hammered .probe and probe_type = PROBE_PREFER_ASYNCHRONOUS to
  work on 6.6.y, after https://lore.kernel.org/all/20230505220218.1239542-1-u.kleine-koenig@pengutronix.de/
2023-10-03 13:54:03 +02:00
Ricardo Pardini b51a4537da `rockchip64`/`edge` 6.6.y: manually fix 2 patches 2023-10-03 13:54:03 +02:00
Ricardo Pardini 21ff27f9f1 `rockchip64`/`edge`: bump to `6.6-rc4`; rebase patches 2023-10-03 13:54:03 +02:00
Ricardo Pardini 41ade999f0 `rockchip64`/`edge`: bump to `6.6-rc4`; initial copy patches from 6.5 2023-10-03 13:54:03 +02:00
Ricardo Pardini c0c7f91053 `meson64`/`edge` 6.6.y: bump to 6.6-rc4 - fix patches
- board-bananapi-cm4-switch-to-enable-gpios.patch: landed upstream
- driver-power-meson64-reset.patch: fix manually, nearby driver POWER_RESET_OXNAS was dropped from upstream
  - let's light a candle for OXNAS
2023-10-03 13:53:40 +02:00
Ricardo Pardini bfe5f0ffc1 `meson64`/`edge` 6.6.y: bump to 6.6-rc4 - rebase patches 2023-10-03 13:53:40 +02:00
Ricardo Pardini 3811f36a99 `meson64`/`edge`: bump to `6.6-rc4`; initial copy from 6.5 2023-10-03 13:53:40 +02:00
Ricardo Pardini 55feeb39c5
`uefi-arm64`/`edge`: bump to 6.6-rc4 (#5777)
* `uefi-arm64`/`edge`: bump to 6.6-rc4 - initial copy from 6.5

* `uefi-arm64`/`edge` 6.6.y: bump to 6.6-rc4 - fix phytium stmmac acpi patch for 6.6

* `uefi-arm64`/`edge` 6.6.y: futher fix for phytium stmmac acpi glue
2023-10-03 13:53:22 +02:00
Paolo Sabatino 916c4f881b rk322x: remove rk322x-fixup.scr file from overlays 2023-10-02 09:30:20 +02:00
Paolo Sabatino 1a73a2fdd6 rk322x: convert device trees to dirs
* converted dtb/dtbo patches to directories instead of patches
 * add led-conf8 for h20_221_v1.71 board
2023-10-02 09:30:20 +02:00
Paolo Sabatino 3c860a576f fix u-boot dtbo bug 2023-10-02 09:30:20 +02:00
Paolo Sabatino 0ffbe2d60c rk322x: better support for R29_MXQ and R2B_MXQ boards 2023-10-02 09:30:20 +02:00
Igor 6f5112cdc8
Odroid xu4 - remove deprecated patches and update kernel config (#5760) 2023-09-30 18:31:25 +02:00
Ricardo Pardini 2bf18123cd `sunxi`/`sunxi64` `edge` 6.5.y: fix lost accreditation/description and date formats of a few patches
Fixes: bb78fac2fa
2023-09-30 14:38:44 +02:00
Ricardo Pardini cac9030aab `rockchip64`/`edge` 6.5.y: rebase patches against v6.5.5; archeology 2023-09-29 14:24:47 +02:00
amazingfate bbed510677 orangepi3b: add bluetooth support 2023-09-29 08:49:22 +02:00
Ricardo Pardini 46931ff642 `meson64`/`edge` 6.5.y: rebase patches against v6.5.5 2023-09-29 08:48:22 +02:00
Ricardo Pardini 97c8138e16 `meson64`/`edge` 6.5.y: move `meson-g12b-waveshare-cm4-io-base-b.dts` out of null patch, avoid patching Makefile 2023-09-29 08:48:11 +02:00
Ricardo Pardini bb78fac2fa `sunxi`/`sunxi64` `edge` 6.5.y: rebase/rewrite all patches for v6.5.5; fix UTF-8 "From:" encoding 2023-09-29 08:46:52 +02:00
Julian Sikorski 161d58cca1
Switch odroidxu4-current kernel to 6.1 (#5716)
* Switch odroidxu4-current kernel to 6.1

* Update odroidxu4-current to 6.1.53

* Fix kutf_suite.c compile error

* Drop missing watterott driver

* Do not fetch 8821cu driver separately

* Fix modpost error

* Update odroidxu4-current to 6.1.54

* Drop upstreamed patches
2023-09-26 23:36:49 +02:00
Ricardo Pardini ab203c7ac8 `orangepi3b`: `rockchip64`/`edge` 6.5: enable i2c3 (m0) on 40 pin 27/sda and 28/scl 2023-09-26 09:34:09 +02:00