Commit graph

1280650 commits

Author SHA1 Message Date
0a7635804a Trying to make the RX audio coming through 2026-01-23 15:50:09 +00:00
Mecid
3bfbb94a2a
drm/panthor: Flush shmem writes before mapping buffers CPU-uncached (#422) 2026-01-16 12:40:29 +01:00
Ricardo Pardini
b908c7339f arm64: dts: rockchip: add Mekotronics R58X 4x4
- from vendor / balbes, which never got merged into a real branch
- renamed files a bit, still a mess
- fixes:
  - don't force panthor, remove duplicate gpu nodes all around
  - disable sata node, there's no SATA, avoid deferred probe
  - rename led to what it really is
  - try to fix indentation with tabs, eat trailing whitespace
  - remove `#if 1`'s
2025-12-24 11:54:39 +01:00
Jianfeng Liu
8f4852b6e8 arch: arm64: dts: armsom-sige5: remove non-removable property from sdmmc to enable sd card hotplug 2025-12-23 10:23:26 +08:00
Jana Rettig
41da3e69e1 arm64: dts: rockchip: add FriendlyELEC NanoPi Zero2 2025-12-16 23:48:13 +01:00
Ricardo Pardini
9434d86da1 arm64: dts: rockchip: add Radxa E24C
- Apparently there's versions with either eMMC or SPI NOR and they share a pin
- From https://github.com/radxa/kernel/blob/linux-6.1-stan-rkr5.1/arch/arm64/boot/dts/rockchip/rk3528-radxa-e24c.dts @8582469f117fdfd5d1ab88fa7e4e15c3b714bf24
- From https://github.com/radxa/kernel/blob/linux-6.1-stan-rkr5.1/arch/arm64/boot/dts/rockchip/rk3528-radxa-e24c-spi.dts @8582469f117fdfd5d1ab88fa7e4e15c3b714bf24
2025-12-08 20:38:52 +01:00
Gleb Shleikel
1bbe4f2966
This patch enables the Firefly Station M2 board dts build and fixes hardware issues: (#434)
1. Fixes GMAC1 clock hierarchy and adds phy-supply for stable networking.
2. Corrects RGMII delays (tx=0x4f, rx=0x24) to fix packet loss/CRC errors.
3. Assigns VOP2 ESMART0 layer to the cursor to fix rendering issues.

Signed-off-by: Gleb Shleikel <gl.schleikel@gmail.com>
2025-12-01 09:58:34 +01:00
ghhccghk
78db2e0a6e Fix: Compilation failed due to changes in header file locations. 2025-11-30 16:22:24 +08:00
SuperKali
0282e54a74 arm64: dts: rockchip: Add Youyeetoo YY3588 board support
Add device tree for Youyeetoo YY3588 SBC based on Rockchip RK3588.

Hardware features:
- RK806 PMIC via SPI2
- Dual Gigabit Ethernet:
  - GMAC1 with RTL8211F PHY (rgmii-rxid mode, tx_delay=0x43)
  - RTL8125 2.5GbE via PCIe 2.0 x1
- Display outputs:
  - HDMI 2.1 via hdmi0
  - DisplayPort 1.4 via dp0
  - HDMI input via hdmirx
- Storage:
  - eMMC via sdhci
  - SD card via sdmmc
  - SPI NOR flash via sfc (should be soldered)
  - SATA via combphy
- USB:
  - USB 2.0 host ports (ehci/ohci)
  - USB 3.0 via usbdrd3_0 and usbdrd3_1
  - Type-C with DP alt mode via usbdp_phy
- PCIe:
  - PCIe 3.0 x4 slot
  - PCIe 2.0 x1 for RTL8125
- Audio:
  - ES8388 codec (uses ES8323 driver)
  - SPDIF TX
  - I2S interfaces (i2s0, i2s5, i2s7)
- Serial: UART1, UART6, UART7
- I2C: i2c0, i2c1, i2c6, i2c7
- PWM, SARADC, TSADC
- ADC buttons and GPIO LEDs
- NPU, GPU, VPU (encode/decode), RGA
2025-11-26 15:22:34 +01:00
SuperKali
59912a6e5c cpufreq: rockchip: handle -EPROBE_DEFER for late PMIC initialization
On boards like Youyeetoo YY3588 where the RK806 PMIC initializes late,
the cpufreq driver would fail to get the CPU regulator and abort probe.
This caused CPU frequency scaling to be unavailable.

Handle -EPROBE_DEFER from regulator_get_optional() to allow the driver
to retry when the PMIC becomes available.
2025-11-26 12:51:07 +01:00
Mecid
f6a897ba2e
Rock-5B-Plus: Update device tree makefile 2025-11-25 14:05:16 +01:00
Mecid
d080e346e8
Rock-5B-Plus: Use upstream identifier (#431) 2025-11-25 13:31:53 +01:00
Mecid
95c7ac2340
Overlay: For rock-5b-plus add radxa display 8hd and cam4k (#429)
* Overlay: Add rock-5b-plus-radxa-display-8hd

* Overlay: Add rock-5b-plus-cam0-radxa-camera-4k
2025-11-21 15:02:48 +01:00
SuperKali
78c67d98f2 ASoC: hdmi-codec: disable capture for HDMI-TX to fix mono audio
HDMI-TX hardware is output-only but the driver incorrectly advertises
capture capability. This causes PulseAudio to attempt opening capture
streams, which triggers busy flag conflicts with playback streams,
resulting in mono audio output.

Solution: Disable capture support by setting channels_min/max to 0
for both I2S and SPDIF DAIs when used with HDMI-TX.

Note: Mainline kernel has the same issue. An official fix is planned
with the new HDMI Codec Framework being developed by Linaro (2025).

Fixes mono audio on: RK3576 NanoPi R76S, NanoPi M5
Tested-on: NanoPi R76S
2025-11-20 18:51:52 +01:00
SuperKali
bfb9af2594 arm64: dts: rk3576-nanopi-r76s: disable unused spdif_tx3
Disable spdif_tx3 interface as it's not used on the R76S
(no DisplayPort output on this board).
2025-11-20 18:51:52 +01:00
SuperKali
cce4bd7f7e
youyeetoo-r1: use ES8323 driver for ES8388 audio codec (#428)
The ES8388 chip works only with ES8323 driver in mainline kernel.
Rename all nodes and use only "everest,es8323" compatible string.
2025-11-18 15:28:13 +01:00
SuperKali
98eae2fbbf
youyeetoo-r1: fix CAN2/UART5 pin conflict (#426)
Change CAN2 from m0 to m1 mux to resolve GPIO conflict.
CAN2 now uses GPIO0_PD4/PD5 (pins 20,22) instead of GPIO3_PC4/PC5.
2025-11-18 11:23:37 +01:00
SuperKali
a641e32e69
youyeetoo r1: refactor DSI configuration into separate overlays (#425)
Split the monolithic DSI0/DSI1 configuration from rk3588s-yyt-lcd.dtsi
into two independent device tree overlays. This allows users to enable
either display without recompiling with different preprocessor defines.

Changes:
- Add youyeetoo-r1-display-dsi0.dts overlay with DSI0 panel, backlight
  (PWM12), touchscreen (i2c3), and VP2 video pipeline configuration
- Add youyeetoo-r1-display-dsi1.dts overlay with DSI1 panel, backlight1
  (PWM11), touchscreen (i2c5), and VP3 video pipeline configuration
- Remove rk3588s-yyt-lcd.dtsi and its inclusion from main dts
- Remove backlight/backlight1 and PWM11/PWM12 definitions from main dts
  as they are now integrated in respective overlays
- Update overlay/Makefile to build new overlay dtbo files
2025-11-18 10:57:35 +01:00
Mecid
c08a4c3772
Action: Upload arm64 artifacts too (#423)
The action used to compile the arm64 kernel then clean the output folder then build the armhf kernel only which later gets uploaded since it is the only output.

Now it builds both variants and uploads the output of both.
2025-11-09 19:04:09 +01:00
jackson
12446bd837 Add PWM configuration to rk3506b-armsom-forge1.dts
Enables CPU to be controlled via PWM.
2025-11-04 15:07:09 +01:00
Austin Lane
cf7411f23f arch: arm: dts: add Luckfox Lyra Ultra W 2025-11-03 10:50:23 +01:00
Austin Lane
dd1b791c33 arch: arm: dts: Luckfox Pico Pro/Max (RV1106) 2025-11-02 21:52:30 +01:00
Hsun Lai
23312daf36 rockchip: update rk3576-100ask-dshanpi-a1 devicetree 2025-11-02 21:50:33 +01:00
Austin Lane
6d149b13bb arch: arm: dts: add Luckfox Pico Mini (RV1103) 2025-11-01 07:55:56 +01:00
Austin Lane
77650eb366 arch: arm: dts: add Luckfox Lyra Plus (RK3506g2) 2025-11-01 07:54:32 +01:00
Kamil Saigol
c9bbeb2601 arm64: dts: rockchip: add radxa-e54c 2025-11-01 07:53:46 +01:00
Jianfeng Liu
bd032d59a0 workflow: enable armhf kernel build 2025-10-16 09:30:53 +02:00
Jianfeng Liu
d31b0fe45d arch: arm: dts: fix filename of forge1 display dtsi 2025-10-16 09:30:53 +02:00
Jianfeng Liu
a0c213b301 arch: arm: dts: rename rk3506-armsom-forge1.dts to rk3506b-armsom-forge1.dts 2025-10-15 14:10:03 +08:00
Austin Lane
9fed915924 arch: arm: dts: add Luckfox Lyra Zero W (RK3506) 2025-10-14 09:57:43 +08:00
Jianfeng Liu
53aa6209c6 Add Blueberry R58 HD3 device trees 2025-10-03 11:48:39 +02:00
SuperKali
155d924426
board: NanoPi M5 add initial support (#400) 2025-09-19 08:08:28 +02:00
Łukasz Sobala
f07e92459e
Fix amdgpu failure to compile (#387)
* fix amdgpu failure to compile

* fix indentation

* fix indentation

---------

Co-authored-by: Jianfeng Liu <liujianfeng1994@gmail.com>
2025-09-17 08:59:42 +08:00
Muhammed Efe Cetin
2590770a3d arm64: dts: rockchip: add support for BananaPi M5 Pro 2025-09-15 13:59:50 +03:00
Jianfeng Liu
41c42281a4 arch: arm: dts: add armsom forge1 support 2025-09-12 23:53:09 +08:00
Jianfeng Liu
18a5e3b094 arm64: dts: rockchip: add support for Radxa CM4 IO Board 2025-09-11 15:20:40 +08:00
SuperKali
b038d04435 dts: nanopi-r76s: fix CPUFreq issue and split DTS for upcoming M5 support (#396) 2025-09-09 08:44:29 +02:00
SuperKali
e616b735ce
dts: arm64: nanopi r76s fixing bluetooth issue causing reset of entire module (#395) 2025-09-07 22:38:15 +02:00
SuperKali
af2a5e7041
arm64: dts: rockchip: add support for NanoPi R76S (#394)
Introduce initial device tree support for the FriendlyELEC NanoPi R76S
board, based on the Rockchip RK3576 SoC.
2025-09-07 18:50:19 +02:00
jack@armsom.org
9bf5251735 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts: leds fix 2025-09-02 09:24:56 +02:00
Mecid
a7bb236096
Add Board: Radxa Rock-4D (#391)
* Add Board: Radxa Rock-4D

* Add Rock-4D SPI variant

* Fix Rock4D Makefile typo

* RK3576: Rock-4D delete bootargs in devicetree
2025-09-01 19:12:42 +02:00
Igor
c5fe17efa3
Update Armbian logo in README 2025-08-28 05:58:19 +02:00
Boris Brezillon
c35fb8e694 drm/panthor: Fix the panthor_gpu_coherency_init() error path
The panthor_gpu_coherency_init() call has been moved around, but the
error path hasn't been adjusted accordingly. Make sure we undo what
has been done before this call in case of failure.

Fixes: 7d5a3b22f5b5 ("drm/panthor: Call panthor_gpu_coherency_init() after PM resume()")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/dri-devel/4da470aa-4f84-460e-aff8-dabc8cc4da15@stanley.mountain/T/#t
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20250414130120.581274-1-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Boris Brezillon
2225ea242c drm/panthor: Don't update MMU_INT_MASK in panthor_mmu_irq_handler()
Interrupts are automatically unmasked in
panthor_mmu_irq_threaded_handler() when the handler returns. Unmasking
prematurely might generate spurious interrupts if the IRQ line is
shared.

Changes in v2:
- New patch

Changes in v3:
- Add R-bs

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-6-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Boris Brezillon
00bcc23a03 drm/panthor: Let IRQ handlers clear the interrupts themselves
MMU handler needs to be in control of the job interrupt clears because
clearing the interrupt also unblocks the writer/reader that triggered
the fault, and we don't want it to be unblocked until we've had a chance
to process the IRQ.

Since clearing the clearing is just one line, let's make it explicit
instead of doing it in the generic code path.

Note that this commit changes the existing behavior in that the MMU
COMPLETED irqs are no longer cleared, which is fine because they are
masked, so we're not risking an interrupt flood.

Changes in v3:
- Mention the fact we no longer clear MMU COMPLETED irqs
- Add Liviu's R-b

Changes in v2:
- Move the MMU_INT_CLEAR around

Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-5-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Boris Brezillon
f765259e94 drm/panthor: Update panthor_mmu::irq::mask when needed
When we clear the faulty bits in the AS mask, we also need to update
the panthor_mmu::irq::mask field otherwise our IRQ handler won't get
called again until the GPU is reset.

Changes in v2:
- Add Liviu's R-b

Changes in v3:
- Add Steve's R-b

Fixes: 647810ec2476 ("drm/panthor: Add the MMU/VM logical block")
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-4-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Boris Brezillon
4b30325e8b drm/panthor: Call panthor_gpu_coherency_init() after PM resume()
When the device is coherent, panthor_gpu_coherency_init() will read
GPU_COHERENCY_FEATURES to make sure the GPU supports the ACE-Lite
coherency protocol, which will fail if the clocks/power-domains are
not enabled when the read is done. Move the
panthor_gpu_coherency_init() call after the device has been resumed
to prevent that.

Changes in v2:
- Add Liviu's R-b

Changes in v3:
- Add Steve's R-b

Fixes: dd7db8d911a1 ("drm/panthor: Explicitly set the coherency mode")
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-3-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Boris Brezillon
76b0019a6b drm/panthor: Fix GPU_COHERENCY_ACE[_LITE] definitions
GPU_COHERENCY_ACE and GPU_COHERENCY_ACE_LITE definitions have been
swapped.

Changes in v2:
- New patch

Changes in v3:
- Add Steve's R-b

Reported-by: Liviu Dudau <liviu.dudau@arm.com>
Fixes: 546b366600ef ("drm/panthor: Add GPU register definitions")
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://lore.kernel.org/r/20250404080933.2912674-2-boris.brezillon@collabora.com
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
2025-08-28 05:46:56 +02:00
Dmitry Osipenko
34b67fc3e9 drm/gem: Change locked/unlocked postfix of drm_gem_v/unmap() function names
Make drm/gem API function names consistent by having locked function
use the _locked postfix in the name, while the unlocked variants don't
use the _unlocked postfix. Rename drm_gem_v/unmap() function names to
make them consistent with the rest of the API functions.

Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Suggested-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.d>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250322212608.40511-2-dmitry.osipenko@collabora.com
2025-08-28 05:46:56 +02:00
SuperKali
f343dbf754
ARM: dts: nanopc-t6: fix RT5616 headphone jack DAPM pin mismatch (#388)
The simple-audio-card hp-pin-name was referencing "Headphone Jack"
but the actual widget is defined as "Headphones", causing ALSA
to report "ASoC: DAPM unknown pin Headphone Jack" error.
2025-08-26 17:21:04 +02:00