1197 Commits

Author SHA1 Message Date
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
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
aiamadeus
aca32104dc rockchip: update dts patches for orangepi r1-plus 2024-04-07 13:23:44 +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
Igor Pecovnik
86df0089fc sunxi legacy v6.1: remove deprecated patch 2024-03-27 21:20:53 +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
Paolo Sabatino
47d2e8287e rockchip: bump edge kernel to 6.8 2024-03-25 19:38:38 +01: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
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
amazingfate
817a0d6678 xiaomi-elish: use pd patch from lujianhua to fix typec otg 2024-03-10 17:47:11 +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
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
hzyitc
e8cbdf6682
meson-6.7: Copy patches from 6.6 (#6341)
* meson-6.7: Copy patches from 6.6

Commit f852beca0aea ("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
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
Gunjan Gupta
1337b67a55 BigTreeTech-CB1: legacy: bring kernel up to 6.1.79 version 2024-02-26 13:50:38 +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 7c062f7daeca83e19b050b8e7ac6bf6aa6635693.
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
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
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
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
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
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
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