Commit Graph

3668 Commits

Author SHA1 Message Date
Gunjan Gupta
97983d0749 kernel: sunxi: current: drop g_parm support patch as it causes kernel oops 2023-08-20 23:54:25 +05:30
Patrick Yavitz
40530ee344 Improve Meson64 Support: ODROID
Backport DTS/DTSI changes from linux-6.4.y to 6.1.y
Add meson64-reboot driver to all boards
Add board: ODROID N2L
Add uart_A uart_AO_B uart_B uart_C where appropriate
U-Boot v2023.07.02: ODROID N2/N2L/N2Plus/C4

Meson64-reboot driver: (source: tobetter)
While the current meson64-reboot driver is cleaner and doesn't
depend on modding other kernel sources, its functionality leaves
much to be desired. One example can be found in the ODROID C4.
Using the current driver, the board will not properly power off,
leaving the POWER LED still on. The new driver powers off the unit
completely.

Fan control: (ODROID N2L/N2PLus)
Added service and script for controlling the trip point.
fanctrl: arguments: 65 55 45 35 25 menu run

                              ┌──┤ Fan Control ├──┐
                              │                   │
                              │    6) 65°C        │
                              │    5) 55°C        │
                              │    4) 45°C        │
                              │    3) 35°C        │
                              │    2) 25°C        │
                              │    E) Exit ..     │
                              │                   │
                              │                   │
                              │      <Ok>         │
                              │                   │
                              └───────────────────┘

NOTES: (N2L/HC4): I do not own the units so I can't run tests.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-20 19:20:06 +02:00
Patrick Yavitz
b4c379e391 general: extra: meson64 overlays
meson-sm1-bananapi-rtl8822cs.dtbo

Although the exp board target is for the M5 it also works
on the BananaPi M2S. Tested on the BPI-M2S.

Add support for the RTL8822CS expansion board.
https://wiki.banana-pi.org/Banana_Pi_BPI-M5#Wifi_.26_BT_support_via_expansion_board

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-18 17:46:49 +02:00
Tony
5a19f70f9d
RK OC overlays for 6.4 update (#5602) 2023-08-17 14:43:32 -04:00
Gunjan Gupta
02051676b0 meson-s4t7: Enable dtbo support
The support is implemented by using dtbo files supplied by Khadas directly
in the linux-dtb package. The files are not compiled just copied.
2023-08-15 16:03:24 +02:00
Igor Pecovnik
b26efad047 Remove deprecated patches 2023-08-14 09:03:23 +02:00
Julian Sikorski
f0b8102718 Update odroidxu4-current to 5.4.253 2023-08-12 10:04:46 +02:00
Muhammed Efe Cetin
c6ba2283a7 rk3588: edge: update kernel to 6.5-rc5 and fix its timeout issue 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
c268d2f916 opi5-plus: add initial support for edge kernel 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
607ae37caa rk3588: edge: update patches according to kernel mailing and collabora 2023-08-12 10:04:30 +02:00
Muhammed Efe Cetin
bc073ff3a5 opi5: edge: update some nodes on devicetree 2023-08-12 10:04:30 +02:00
Ricardo Pardini
eb9dc7ea5c khadas-vim4/khadas-vim1s: some fixes; VIM4/VIM4N now boots; workaround eMMC/oowow partition trouble for now
- vim1s/vim4: remove uEnv.txt and default extlinux args, use simple arguments instead
- meson-s4t7.conf: hack: rereadpt (re-read partition table) in initrd local-top (for eMMC boot of oowow'ed image)
- meson-s4t7.conf: include both `u-boot.bin.sd.bin.signed` and `u-boot.bin.signed` in uboot package
- meson-s4t7: patch kernel for different dt "model" across VIM4 and "New VIM4"
- meson-s4t7.conf: set `EXTLINUX_SPECIFIC_FDT=no`, so u-boot auto-determines which DTB to use
    - don't specify DTB; this way both the "original VIM4" and the "new VIM4" can boot with the same image
2023-08-09 11:20:28 +02:00
Paolo Sabatino
1219f8decc rk3399: adjust opi4lts thermal trip points 2023-08-05 11:43:48 +02:00
c0rnelius
3261469268
arm64: dts: amlogic: meson-sm1-bananapi-m2-pro: add uart_A (#5558)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-04 12:23:31 +02:00
Paolo
c27739943d
rockchip64: bump rockchip64-edge kernel to 6.4 (#5552)
undefined
2023-08-04 10:39:13 +02:00
Igor
1febbc6c90 Adjust patch in order to compile succesfully 2023-08-04 10:37:49 +02:00
Paolo Sabatino
1e0f6d960b rk322x: add bcm43342 chip identifier 2023-08-03 23:12:21 +02:00
c0rnelius
9b04e0faf6
Improve bananapi-sm1 support (#5553)
Linux 6.1 (current) / 6.4 (edge)

Add "current" to: config/boards/bananapim2pro.csc
Add uart_AO_B and uart_B to: meson-sm1-bananapi.dtsi
Add related pins to: meson-g12-common.dtsi
add wif/bt support to: meson-sm1-bananapi-m5.dts (BT = uart_A)
Add the ability to enable via overlays

NOTE: The overlay to enable the wifi on the BPI-M5 will be added
at a later date.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-08-03 14:01:15 -04:00
Thomas McKahan
f9efecf6cd meson64: fix usb on odroid c2
Thanks to NicoD giving me a kick, identified/implemented fix present in 6.2+ builds to keep the hub from going to suspend.
2023-08-02 08:26:52 +02:00
Tony
3cfef5b07f
bugfix: dts: rk3328 and rk3399 oc overlays (#5542)
Mainline updated the opp table handles to match the schema, this broke the overlays.
Overlays updated with correct handle names.

reported-by: @neofeo
2023-08-01 13:39:25 -04:00
c0rnelius
0e2a7f1daf
general: extra: meson64 overlays (#5532)
* general: extra: meson64 overlays

Linux 6.1.y (current)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

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

* general: extra: meson64 overlays

Linux 6.4.y (edge)

meson-g12a-radxa-zero-gpio-10-led.dtbo (rev 1.51 enable led)
meson-g12a-radxa-zero-gpio-8-led.dtbo (rev 1.4 enable led)
meson-g12b-odroid-n2-spi.dtbo (SPI-NOR enable via overlay)

As suggested by: @efectn

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

* meson64-6.4: overlay: Makefile: `maintenance`

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-08-01 06:43:28 -04:00
Julian Sikorski
3ff14bdf14 Update odroidxu4-current to 5.4.251 2023-07-29 15:47:24 +02:00
c0rnelius
46666e1ecb
arm64: dts: amlogic: add missing cache properties (#5523)
As all level 2 and level 3 caches are unified, add required
cache-unified properties to fix warnings like:

meson-a1-ad401.dtb: l2-cache0: 'cache-unified' is a required property

https://lore.kernel.org/lkml/20230421223211.115612-1-krzysztof.kozlowski@linaro.org/T/

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-27 12:26:06 -04:00
Tony
6accbcf281
rk3588 collabora: dts: update nanoPC-T6 (#5518)
* rk3588 collabora: dts: update nanoPC-T6

* rk3588 collabora: dts: add gpio nanoPC-T6
2023-07-27 09:46:25 -04:00
Gunjan Gupta
1dfdff3e31 kernel:sunxi: Add tve encoder for H5 boards as well
Also as the patch was missing in edge kernel, added the same
2023-07-26 19:46:21 +02:00
Gunjan Gupta
8195919d44 Kernel: Allwinner: Bump legacy, current and edge kernel
Legacy: 5.15.120 -> 5.15.121
Current: 6.1.39 -> 6.1.40
Edge: 6.4.4 -> 6.4.5
2023-07-24 17:03:30 +05:30
Patrick Yavitz
e22fa3aa35 board: bananapim2s: git format-patch remove builder warnings
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Patrick Yavitz
effbb4c900 Board: Bananapi M2S additional support
Removed WIP status
Added CONFIG_R8169=m to defconfig(s) (eth support)
Modified and added additional patches (linux 6.1 / 6.4)
U-Boot v2023.07.2 (dropped v2022.10)
Upstream BT FW (rtl8822cs) is now shared between CM4IO and M2s

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-07-23 14:40:52 +02:00
Tony
400da79efd
NanoPC-T6 Collabora: add PCIe 3 (#5497) 2023-07-21 16:33:06 -04:00
Gunjan Gupta
173bacd0ac kernel: sunxi: Fix patch failures for 6.1.39 and 6.4.4 kernel
Disabled broken patches that are upstream or not needed due to
upstream changes. Modified thermal-sun8i-Be-loud-when-probe-fails.patch
to fix patch application
2023-07-20 16:49:29 +02:00
Gunjan Gupta
8a13dae89d kernel: sun50i: h5: current: add missing gpu trips section 2023-07-19 23:15:37 +02:00
Gunjan Gupta
cb4944929b kernel: sunxi: Add resume, reboot support by pressing power button on orangepi prime 2023-07-19 23:15:37 +02:00
Muhammed Efe Cetin
9a0908f9ba update rk3588-edge to v6.5-rc1 2023-07-15 00:00:07 +02:00
Muhammed Efe Cetin
f7c410de2f Grab several patches from collabora and upstream 2023-07-15 00:00:07 +02:00
Igor Pecovnik
89a6750d78 Bump UEFI edge to 6.4.y 2023-07-11 11:15:00 +02:00
tdleiyao
66b9f60e70 Panther X2: Modify usb mode and enable GPU 2023-07-11 11:14:26 +02:00
Gunjan Gupta
ea50e971ae patch: kernel: sunxi: h3: fix OPP not supported by regulators on boards with gpio-regulator 2023-07-11 11:13:57 +02:00
Gunjan Gupta
60fd20a720 kernel: sunxi: make use of patches from driver harness 2023-07-10 08:56:18 +02:00
Paolo Sabatino
2335ef091b revert to pre-6.4 dw-hdmi patch to restore hdmi functionality 2023-07-09 11:24:10 +02:00
Paolo Sabatino
4605bcab83 bump rockchip edge kernel to 6.4 2023-07-09 11:24:10 +02:00
Paolo Sabatino
803cfe41f2 reform patches to revert to pre-6.4 working behaviour 2023-07-09 11:23:30 +02:00
Paolo Sabatino
5153821ac0 bump rk322x-edge to 6.4 2023-07-09 11:23:30 +02:00
John Williams
9ed43bdce8 Apply previous fix to rockchip64-edge and rk322x 2023-07-06 23:02:22 +02:00
John Williams
38c3d109a6 Do not set incorrect mac80211 flags 2023-07-06 23:02:22 +02:00
Thomas McKahan
bfc8271519 NanoPC-T6-collabora: dts: add pcie2 and eth 2023-07-05 21:22:58 +02:00
Thomas McKahan
23d8ce7c5c nanopc-t6-collabora: dts: enable USB2 2023-07-05 21:22:58 +02:00
hzy
c923112d72 meson: edge: refresh patches 2023-07-05 10:55:32 +02:00
hzy
12ab63f0a2 meson: edge: Bump v6.4 2023-07-05 10:55:32 +02:00
hzy
8659f4a345 meson: edge: Create meson-6.3 patches from meson-6.1 2023-07-05 10:55:32 +02:00
Thomas McKahan
1289a81543 NanoPC-T6-Collabora: add dvfs regs 2023-07-05 10:55:14 +02:00
Tony
1a84aceb65
NanoPC T6 fix PWM pinctrl, add Collabora kernel (#5431) 2023-07-04 13:04:48 -04:00
Gunjan Gupta
317ee9d4cb allwinner: patch series files cleanup 2023-07-02 23:57:13 +05:30
Gunjan Gupta
d404b7e805 allwinner: edge: Bump kernel to v6.4 2023-07-01 14:40:08 +02:00
Gunjan Gupta
35dddeab31 patch: kernel: allwinner: add patches for 6.4 kernel 2023-07-01 14:40:08 +02:00
Gunjan Gupta
2ccc26b657 kernel: sunxi: bump edge kernel to 6.3 2023-06-29 13:02:26 +02:00
Gunjan Gupta
8505c3c434 Make a copy of sunxi-6.2 patches for 6.3 kernel 2023-06-29 13:02:26 +02:00
Tony
45f6ca540c
rockchip-rk3588-edge bump to 6.4 add nanopc-t6 dts (#5407) 2023-06-29 10:51:09 +02:00
Ricardo Pardini
859ecea496 meson64 current 6.1.y: drop patch that landed upstream in 6.1.36: mmc: meson-gx: fix deferred probing 2023-06-28 21:27:19 +02:00
Ricardo Pardini
81125507f9 meson64 edge 6.4: bump from 6.4-rc5 tag to linux-6.4.y branch
- rebase one patch
2023-06-27 07:10:28 +02:00
Gunjan Gupta
d63d08f375 NanoPi Duo2: enable ethernet and powerbutton 2023-06-27 07:09:57 +02:00
Jannis
ef0598a88e
helios4: Fix pwm patch (#5392) 2023-06-26 20:52:58 +02:00
AGM1968
a2628bea9e
sunxi-6.2 Series Fixes (#5379) 2023-06-26 20:40:47 +02:00
Igor
8356063d05 Remove deprecated patches 2023-06-22 18:12:03 +02:00
Michał Dziekoński
ff15205fe8 sunxi-6.1 h616 orangepi-zero2: rename cpu scaling patch filename
(reflect kernel this patch applies to)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
b89089ee88 sunxi-6.1 h616 orangepi-zero2: port over LED changes
(see https://github.com/armbian/build/pull/5270)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
51158ffa73 sunxi-6.1 h616 orangepi-zero2: port over cpu scaling
(see https://github.com/armbian/build/pull/5247)
(original author of the patch for kernel 6.2: AGM1968)
2023-06-20 21:34:47 +02:00
Michał Dziekoński
b4adb07ced sunxi-6.2 h616 orangepi-zero2: Enable expansion board USB ports 2023-06-19 22:03:40 +02:00
Michal Dziekonski (mdz)
66ba90eade
sunxi-6.1 h616 orangepi-zero2: Enable expansion board USB ports (#5345) 2023-06-19 22:03:18 +02:00
Elias Bakken
2aec6c23e6
Add support for Recore (#5351)
* Add support for Recore

Signed-off-by: Elias Bakken <elias@iagent.no>

* Add board maintainter to boad config

Signed-off-by: Elias Bakken <elias@iagent.no>

---------

Signed-off-by: Elias Bakken <elias@iagent.no>
2023-06-19 22:02:56 +02:00
Bochun Bai
2c9dbc66c8 Add pwm-fan support to nanopi r4s 2023-06-18 11:56:34 +02:00
Igor
d5034b1f1a Fix media kernels from breaking the build 2023-06-15 12:00:17 +02:00
Igor
5835d2d7ab
Merge branch 'main' into CB1-current-pr 2023-06-14 05:47:50 +02:00
Gunjan Gupta
e7f715091c allwinner: bump current to 6.1.33 2023-06-14 05:36:26 +02:00
Ricardo Pardini
1383724e44 rockchip64 legacy: rebase+archeology all patches against ayufan's refs/tags/4.4.202-1237-rockchip-ayufan 2023-06-14 05:36:15 +02:00
Ricardo Pardini
fcddac6cab rockchip64 legacy: drop duplicated patch 2023-06-14 05:36:15 +02:00
Ricardo Pardini
19d532b13c rockchip64 edge 6.3: rename most remaining "add-board" patches to "board" (all "add-board"s are now bare .dts in dt/ folder)
- keep helios64 as a reminder that it was overwritten once and probably should be dropped, together with other helios64 patches
2023-06-13 12:33:59 +02:00
Ricardo Pardini
39fa226b95 rockchip64 edge 6.3: drop need_checking and disabled patches
- let git have the history
2023-06-13 12:33:59 +02:00
Ricardo Pardini
028281f0d6 rockchip64 edge 6.3: drop null-patched DTS files, add them bare in dt/ folder
- remove double/triple-patching of nanopi-m4v2 (everything is in the bare .dts now)
2023-06-13 12:33:59 +02:00
Ricardo Pardini
696831e945 rockchip64 edge 6.3: replace DT-symlink patches with bare .dts with #include 2023-06-13 12:33:59 +02:00
Ricardo Pardini
716d3ae221 rockchip64 edge 6.3: drop overlay patches in favor of bare overlays in specific folder 2023-06-13 12:33:59 +02:00
Ricardo Pardini
0646a15647 rockchip64 edge 6.3: rebase v6.3.6 + drop DT Makefile patches 2023-06-13 12:33:59 +02:00
Ricardo Pardini
22017357cd rockchip64 edge 6.3: add 0000.patching_config.yaml for rockchip64 2023-06-13 12:33:59 +02:00
Ricardo Pardini
a58621686e rockchip64 edge 6.3: drop add-boards-to-dts-makefile.patch 2023-06-13 12:33:59 +02:00
Ricardo Pardini
42fef1907b meson64 edge 6.4: drop null-patched DTS files, add them bare in dt/ folder
- convert `add-board-t95z.patch` to `board-t95z-add-rc-remote-keymap.patch` since that's all that's left
- `-spinor` DTS really should be overlays, but keep them as alternate .dtbs for now
2023-06-13 12:33:47 +02:00
Ricardo Pardini
c2540dc40f meson64 edge 6.4: drop overlay patches in favor of bare overlays in specific folder 2023-06-13 12:33:47 +02:00
Ricardo Pardini
21a3dbe269 meson64 edge 6.4: rework general-meson-mmc-3-arm64-dts-docs-Update-mmc-meson-gx-documentation-for.patch into YAML 2023-06-13 12:33:47 +02:00
Ricardo Pardini
69393464b0 meson64 edge 6.4: drop general-meson-gx-mmc-fix-deferred-probing.patch -- upstreamed
- https://lore.kernel.org/linux-arm-kernel/16b74882-d65b-93c9-f72b-1d53bfefa22f@omp.ru/T/#t
2023-06-13 12:33:47 +02:00
Ricardo Pardini
ef137b43c7 meson64 edge 6.4: hammer general-gpu-drm-add-new-display-resolution-2560x1440.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
e430fb090f meson64 edge 6.4: simple fix for drv-spi-spidev-remove-warnings.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
93fb615c3e meson64 edge 6.4: drop ODROID-N2+'s gpio fan patches, something similar landed upstream 2023-06-13 12:33:47 +02:00
Ricardo Pardini
ef87eb4a71 meson64 edge 6.4: rework board-bananapim5-sd-use-270-mmc-clock-phase-via-dt.patch 2023-06-13 12:33:47 +02:00
Ricardo Pardini
632b6f0740 meson64 edge 6.4: drop patches for boards that landed; change BPICM4 from add to board with pyavitz's fixes 2023-06-13 12:33:47 +02:00
Ricardo Pardini
30ea65b68e meson64 edge 6.4: rebase to 6.4-rc5; 7 are failing to apply 2023-06-13 12:33:47 +02:00
Ricardo Pardini
069324a120 meson64 edge 6.4: drop patches that landed upstream and backports 2023-06-13 12:33:47 +02:00
Ricardo Pardini
447b0b8276 meson64 edge 6.4: add 0000.patching_config.yaml for meson64 2023-06-13 12:33:47 +02:00
Ricardo Pardini
359a766056 meson64 edge: bump from 6.2 to 6.4 (family file + symlink) 2023-06-13 12:33:47 +02:00
Ricardo Pardini
38d34e5269 meson64 edge 6.4: initial copy (as-is) of 6.2 patches 2023-06-13 12:33:47 +02:00
Ricardo Pardini
1c9030c73c meson64 edge 6.2: rebase v6.2.16, drop Makefile patches, archeology, mbox'ing
- drop empty doc patch add-board-bananapi-cm4-cm4io.patch
2023-06-13 12:33:47 +02:00
Julian Sikorski
bb91ddf5ad Update odroidxu4-current to 5.4.246 2023-06-12 13:43:10 +02:00
schwar3kat
b342bb0395 AR-1774 orangepi-r1plus-lts device tree fix
Modify Orange Pi R1 Plus LTS device tree for upstream driver in kernel >= 6.3 yt8531
2023-06-07 20:35:19 +02:00