Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
7c90deff63 Fix patch application failure due to upstreamed code 2023-11-28 20:53:51 +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
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
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