Commit Graph

3968 Commits

Author SHA1 Message Date
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