Commit Graph

37 Commits

Author SHA1 Message Date
Sergey Ko
66b1e8fad7
meson64 kernels HDMI patch is obsolete (#7579)
* HDMI codec patch must nott be used as it is already applied to linux sources
2024-12-15 15:43:25 +01:00
Sergey Ko
fb63c78e7f
add Radxa Zero GPIO names to support libgpiod (#7563) 2024-12-11 14:06:34 -06:00
Chen Jiali
55adb93544 fix: radxa-zero: slow down sdio for all kernel branch 2024-12-05 00:22:43 +01:00
Chen Jiali
9614a2014c fix: add some patch to repair eMMC startup issues 2024-12-05 00:22:43 +01:00
Patrick Yavitz
db3fdc7411 BananaPi BPI-CM4: Enable i2c2 via overlay
Discussion:
https://forum.armbian.com/topic/47842-how-do-i-enable-i2c2-on-armbian-24111-bookworm-minimal/

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-12-04 17:08:37 -05:00
jomadeto
abe77c314a Add TV Box Magicsee C400 Plus Linux support 2024-11-14 07:35:26 +01:00
Viacheslav Bocharov
f1c43e0468 JetHome: JetHub D2 (j200) add current kernel dts
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-11-11 09:28:10 +03:00
Igor Pecovnik
a53be7e622 Adjust patches due to kernel bump 2024-10-01 14:17:50 +02:00
Patrick Yavitz
552281489a Move serial0 = &uart_AO; to meson-axg-amper-gateway-gz80x.dtsi
Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
Patrick Yavitz
b2fc2c6f9d Gateway GZ80x: add dtsi and power off support via pwr button
There are three revs: AM-GZ80x, AM-GZ80x-US and SC-GZ80x

Add a DSTI in case one should drop out of the sky and we
need a DTS for it. This also removes its dependency on
meson-axg-jethome-jethub-j1xx.dtsi.

Can now power down via power button on the back of the
unit and power back on via reset button on the side.

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-17 07:01:05 -04:00
Patrick Yavitz
72ba1de41e BananaPi CM4: improve SDIO WiFi speeds
Improve overall WiFi experience
Default freq now set to 100MHz (optional overlay to 200MHz)
Resolved incompatibility with the github driver: https://github.com/jethome-ru/rtl88x2cs

If the github driver is preferred blacklist RTW88

/etc/modprobe.d/blacklist-rtw88.conf
blacklist rtw88_8822c
blacklist rtw88_8822cs

EXTRA: Waveshare DTS fixup

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
2024-09-09 07:06:31 -04:00
c0rnelius
433f1241fa
Gateway AM-GZ80x: Re-brand as Amper & update u-boot to v2024.04 (#7113)
* Gateway AM-GZ80x: Re-brand as Amper & update u-boot to v2024.04

During a search I noticed other companies are using the same
unit. Lets re-brand to Amper as technically that is the product
brand name.

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

* Delete old patch set: `patch: u-boot: v2023.10: board_gateway-gz80x`

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

* Update test target

---------

Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Patrick Yavitz <pyavitz@armbian.com>
Co-authored-by: Igor <igor@armbian.com>
2024-08-21 14:00:43 +02:00
Alessandro Lannocca
1ffdab4fe4 meson64: current: refresh drv-spi-spidev-remove-warnings.patch
rework to apply cleanly on 6.6.46
2024-08-14 17:39:38 -04:00
Patrick Yavitz
aff22ad7d5 Add board Alfred Smart Gateway GZ80X Linux support
Signed-off-by: Patrick Yavitz <pyavitz@armbian.com>
2024-08-13 14:40:48 -04:00
Viacheslav Bocharov
654d208053 JetHome: Update JetHub family
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2024-07-03 11:26:07 +02:00
kernelzru
19821548d6 fixed emmc init 2024-05-26 22:20:57 +02:00
kernelzru
1f9f8a5a97 add ugoos x3 support 2024-05-26 22:20:57 +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
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
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
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
Ricardo Pardini
9b9011eb5d meson64: 6.6 current: added -spidev DT's for a few boards & cleanup 0000.patching_config.yaml
- gives access to SPI Flash in exchange for slower eMMC
- cleanup 0000.patching_config.yaml for meson64-6.6
2024-01-14 19:39:09 +01:00
Jens J
d2c928cbf0
add dts for mini-m8s-pro tvbox (#6014) 2023-12-07 00:41:12 +01:00
Viacheslav Bocharov
217a5b3ea3 JetHome: Add dts kernel patch for support onboard eeprom in JetHub D1+
Signed-off-by: Viacheslav Bocharov <adeep@lexina.in>
2023-11-08 14:06:32 +01:00
Ricardo Pardini
98c0ab47f5 meson64 / rockchip64 / uefi / rk3568-odroid: edge 6.6: bump to 6.6-rc7; rebase/rewrite patches for 6.6-rc7 2023-10-26 14:30:48 +02:00
c0rnelius
95229ffdef
general: extra: meson64 overlays: radxa zero (#5860)
* general: extra: meson64 overlays: `radxa zero`

Radxa Zero: Add overlays for serial i2c and spi.
BPI-M2S/M5: Add RTL8822CS overlays for each unit.

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

* v2: general: extra: meson64 overlays: `radxa zero`

compatible = "armbian,spi-dev";

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-10-25 08:01:01 -04:00
c0rnelius
f10935160b
Radxa Zero: set aliases for serial i2c and spi (#5859)
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 15:51:11 -04:00
c0rnelius
73a409df2b
Waveshare CM4-IO-BASE-B with BPI-CM4 Module (#5857)
Set fan max speed to kick in at 65*C. This keeps the unit roughly
at 70*C or lower, when pusing all cores for an extended period of
time.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
Co-authored-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-24 13:44:54 -04:00
Tony
43ba5437f0
update compatible string for Odroid C2 Spidev (#5852) 2023-10-22 13:13:02 -04:00
Ricardo Pardini
6731b003e2 meson64 edge 6.6: bump to 6.6-rc6; rebase patches 2023-10-21 13:57:12 +02:00
Patrick Yavitz
595e1fdf62 v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Added wakeup-source to fanctrl node so emc2305 module loads at boot.

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz
67af958258 hwmon: emc2305: fixups for driver
BPI-CM4 fan control

hwmon: emc2305: fixups for driver
The driver had a number of issues, checkpatch warnings/errors,
and other limitations, so fix these up to make it usable.
hwmon: emc2305: Change OF properties pwm-min & pwm-max to u8
hwmon: emc2305: Add calls to initialize cooling maps
233096b8a9/drivers/hwmon/emc2305.c

Tested-on: CM4-IO-BASE-B: https://www.waveshare.com/wiki/CM4-IO-BASE-B
Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Patrick Yavitz
f1cf0cd51f v2: arch: arm64: dts: amlogic: meson-g12b-waveshare-cm4-io-base-b
https://www.waveshare.com/wiki/CM4-IO-BASE-B

Fan, RTC and USB support
RTC requires rtc pcf85063 driver
Fan requires hwmon emc2305 driver

Signed-off-by: Patrick Yavitz <pyavitz@xxxxx.com>
2023-10-12 14:56:20 +02:00
Ricardo Pardini
c0c7f91053 meson64/edge 6.6.y: bump to 6.6-rc4 - fix patches
- board-bananapi-cm4-switch-to-enable-gpios.patch: landed upstream
- driver-power-meson64-reset.patch: fix manually, nearby driver POWER_RESET_OXNAS was dropped from upstream
  - let's light a candle for OXNAS
2023-10-03 13:53:40 +02:00
Ricardo Pardini
bfe5f0ffc1 meson64/edge 6.6.y: bump to 6.6-rc4 - rebase patches 2023-10-03 13:53:40 +02:00
Ricardo Pardini
3811f36a99 meson64/edge: bump to 6.6-rc4; initial copy from 6.5 2023-10-03 13:53:40 +02:00