Commit Graph

1282278 Commits

Author SHA1 Message Date
Łukasz Sobala
7afdf6a6a7 Fix amdgpu failure to compile (#387)
* fix amdgpu failure to compile

* fix indentation

* fix indentation

---------

Co-authored-by: Jianfeng Liu <liujianfeng1994@gmail.com>
2025-10-05 23:19:02 +02:00
Muhammed Efe Cetin
10436fc94f arm64: dts: rockchip: add support for BananaPi M5 Pro 2025-10-05 23:19:02 +02:00
Jianfeng Liu
e78c11b1b8 arch: arm: dts: add armsom forge1 support 2025-10-05 23:19:02 +02:00
Jianfeng Liu
0a8b50465b arm64: dts: rockchip: add support for Radxa CM4 IO Board 2025-10-05 23:19:02 +02:00
SuperKali
9c3272aa5f dts: nanopi-r76s: fix CPUFreq issue and split DTS for upcoming M5 support (#396) 2025-10-05 23:19:02 +02:00
boogie
4cf3a9967c fixup! rk3566-lckfb-tspi: update dts name 2025-09-08 22:15:20 +02:00
boogie
037dbb4f92 fixup! arm64: dts: odroid-m1: add ODROID-M1 dt from 4.19 vendor sources 2025-09-08 21:57:09 +02:00
SuperKali
4759ce62e5 dts: arm64: nanopi r76s fixing bluetooth issue causing reset of entire module (#395) 2025-09-08 21:56:04 +02:00
SuperKali
222b345497 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-08 21:56:02 +02:00
jack@armsom.org
2d048493e5 arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts: leds fix 2025-09-08 21:55:43 +02:00
Mecid
4f2c408ebf 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-08 21:55:41 +02:00
Igor
5dadf340e1 Update Armbian logo in README 2025-09-08 21:55:40 +02:00
Boris Brezillon
ab57888f5d 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-09-08 21:55:39 +02:00
Boris Brezillon
43a28c1310 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-09-08 21:55:38 +02:00
Boris Brezillon
1c7941451d 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-09-08 21:55:36 +02:00
Boris Brezillon
f81222ed3c 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-09-08 21:55:35 +02:00
Boris Brezillon
4e5f43352b 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-09-08 21:55:34 +02:00
Boris Brezillon
8c31db3ae6 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-09-08 21:55:32 +02:00
Dmitry Osipenko
236239bca3 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-09-08 21:55:31 +02:00
SuperKali
6a40c73098 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-09-08 21:55:30 +02:00
Rafay Ahmed
d3bf7c5fbb Enable lte_em05 to be built as a module (#384) 2025-09-08 21:55:29 +02:00
Rafay Ahmed
d20b11f831 Add LTE EM05 driver 2025-09-08 21:55:28 +02:00
Mecid
05a979d947 Sync Rock5B, 5B-Plus, 5T DT's with Radxa (#381)
* Sync Rock5B, 5B-Plus, 5T DT's

From Radxa's Kernel fork: https://github.com/radxa/kernel/blob/linux-6.1-stan-rkr5.1/arch/arm64/boot/dts/rockchip/

* Keep Armbian's soc_thermal for fan speed on Rock5B
2025-09-08 21:55:26 +02:00
Alban Browaeys
7ae19c6afb Fix PCI SATA link training instability on rock-5-itx
Based on upstream initial dts definition.

Signed-off-by: Alban Browaeys <alban.browaeys@gmail.com>
2025-09-08 21:55:25 +02:00
Niklas Cassel
2e158da334 UPSTREAM: phy: rockchip-snps-pcie3: add support for rockchip,rx-common-refclk-mode
>From the RK3588 Technical Reference Manual, Part1,
section 6.19 PCIe3PHY_GRF Register Description:
"rxX_cmn_refclk_mode"
RX common reference clock mode for lane X. This mode should be enabled
only when the far-end and near-end devices are running with a common
reference clock.

The hardware reset value for this field is 0x1 (enabled).
Note that this register field is only available on RK3588, not on RK3568.

The link training either fails or is highly unstable (link state will jump
continuously between L0 and recovery) when this mode is enabled while
using an endpoint running in Separate Reference Clock with No SSC (SRNS)
mode or Separate Reference Clock with SSC (SRIS) mode.
(Which is usually the case when using a real SoC as endpoint, e.g. the
RK3588 PCIe controller can run in both Root Complex and Endpoint mode.)

Add support for the device tree property rockchip,rx-common-refclk-mode,
such that the PCIe PHY can be used in configurations where the Root
Complex and Endpoint are not using a common reference clock.

Signed-off-by: Niklas Cassel <cassel@kernel.org>
Link: https://lore.kernel.org/r/20240412125818.17052-3-cassel@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Alban Browaeys <alban.browaeys@gmail.com>
2025-09-08 21:55:24 +02:00