Commit Graph

44 Commits

Author SHA1 Message Date
TheSnowfield
1cd44cceb6 sunxi-6.6: add NextThing C.H.I.P (PocketChip) partial support 2024-12-29 20:18:54 +01:00
The-going
610171949e sunxi-6.6: re-export armbian patches for v6.6.65 2024-12-18 21:04:10 +01:00
JohnTheCoolingFan
3be54c32e5 Sunxi-6.6: Fix tsc2007 ghost touches on BTT CB1
Based on ab7b1fa6dd
2024-12-16 15:20:40 +03:00
Patrick Yavitz
dbdc2c3fa7 BananaPi M4: Remove -zero from overlay names
As they should also work with the other unit in the series, the
M4 Berry.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-13 10:02:42 +01:00
Patrick Yavitz
dcc3c5578a BananaPi BPI-M4-Zero: Add overlay support and pin ctrl
Also DTS/DTSI additions and fixups

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-13 10:02:42 +01:00
Ryzer58
a71b8675ae
Allwinner A10 DTS fix for ARM PMU IRQ and EMAC DMA (#7567)
* Correcting the Perf unit's interrupt source number to 66 as stated in the Allwinner A10User manual to resolve conflict with Uart 2 which actually uses interrupt source number 3

* rename to all lower case and add in sun4i-emac dma support. Note that support only exist in the driver for the rx channel

* Ensure that sun4i patches actually implemented

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Apply performance monitoring unit IRQ number patch to uboot

* Add patch for resolving the perf unit irq number to the edge kernel

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Add sun4i emac ethernet DMA support to the edge kernel

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Append missing .patch so that our patch is found and works properly

Signed-off-by: Ryan L <ryestar101@gmail.com>

* Apply EMAC DMA support and PMU fix to edge kernel

---------

Signed-off-by: Ryan L <ryestar101@gmail.com>
2024-12-13 09:45:28 +01:00
青菜萝 卜冬瓜
907c9f0531
add community support for LonganPi 3H (#7547) 2024-12-09 14:12:16 +01:00
The-going
d1c1c193dd sunxi-6.6: armbian patches: rebase to v6.6.54, fix and re-export
Added a kernel panic fix for the ARM architecture:
https://bugzilla.kernel.org/show_bug.cgi?id=219089
https://lore.kernel.org/linux-arm-kernel/20240729165036.7368-1-mikhailai@gmail.com/
2024-10-13 00:04:22 -04:00
Patrick Yavitz
fa3eadecab BananaPi BPI-M4-Zero: Add pinctrl x32clk_fanout_pin
and fixup Makefile

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
006bd4de30 BananaPi BPI-M4-Zero: partial DTS re-write
Removed gpio-keys node (NOTE: add to the M4 Berry DTS)
Add vcc1v8 and vcc3v3 regulators
Fixup MMC nodes
Add bluetooth node (NOTE: BT is still iffy in Armbian)

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-09 14:58:56 -04:00
Patrick Yavitz
7663069fb5 BananaPi BPI-M4-Zero: change overlay to sun50i-h616
Make it Armbian compatible

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
31ce3431ce BananaPi BPI-M4-Zero: disable bluetooth
Reasons unknown it will not load using Armbian. Until figured
out, disable it.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
705fca3dbc BananaPi BPI-M4-ZERO: SDIO WiFi BT overlay
sun50i-h618-bananapi-m4-sdio-wifi-bt.dtso

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
a528ec229b BananaPi BPI-M4-ZERO: linux fixups
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-05 12:26:51 +02:00
Patrick Yavitz
bc4b366a9c BananaPi BPI-M4-Zero: update DTS
Added a DTSI just in case a M4 Berry should be added at a
later date.

Removed usb1_vbus-supply = <&reg_usb_vbus>; from the &usbphy
node. In my testing this resolves the onboard WiFi over USB
issue that has been troubling the REV1.

Added REV2 related nodes: SDIO, Regulators, Etc ...

An SDIO / Bluetooth overlay will be added at a later date to
support the REV2.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-10-02 10:27:49 -04:00
sicXnull
5e54e2beb8 X96Q LPDDR3 Improvements 2024-09-18 16:31:00 +02:00
IsMrX
3124f0d845 Support CherryBa M1 board 2024-09-13 22:00:52 +02:00
JohnTheCoolingFan
e59f22ec65 Fix sun50i-h616-light device tree overlay 2024-09-10 21:59:01 +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
JohnTheCoolingFan
22e3a671a7 BigTreeTech CB1: current: Enable IR Receiver 2024-08-12 17:10:49 +02:00
JohnTheCoolingFan
b7fac21f3f Patches to enable hdmi and emac1 on BigTreeTech CB1 2024-08-11 22:09:17 +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
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
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
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
nullname
cc300423e1
Fix issue #6528 opi-zero2w, ethernet PHY not powered (#6617) 2024-06-02 10:23:18 +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
The-going
bcd50b8ecc sunxi-6.6: rework patches for current v6.6.31 2024-05-21 20:26:19 +02: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
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
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
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
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
Gunjan Gupta
455580abf4 BigTreeTech CB1: fix mmc probe failure due to regulator not being available 2024-02-20 12:45:26 +05:30
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
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
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
Gunjan Gupta
52523d1f4d delete patch as it should no longer be required 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
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
1db3008302 Add missing dts nodes for wifi support 2023-12-16 01:25:34 +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