mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 00:41:17 +00:00
2e715fb4fc
Add support for BCM2712 (Raspberry Pi 5).
3bb5880ab3
Patches were generated from the diff between linux kernel branch linux-6.1.y
and rpi-6.1.y from raspberry pi kernel source:
- git format-patch linux-6.1.y...rpi-6.1.y
Build system: x86_64
Build-tested: bcm2708, bcm2709, bcm2710, bcm2711
Run-tested: bcm2710/RPi3B, bcm2711/RPi4B
Signed-off-by: Marty Jones <mj8263788@gmail.com>
[Remove applied and reverted patches, squash patches and config commits]
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
31 lines
919 B
Diff
31 lines
919 B
Diff
From c56b53d62116b4672962124afab02f3beada4244 Mon Sep 17 00:00:00 2001
|
|
From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
|
|
Date: Fri, 29 Sep 2023 12:57:23 +0300
|
|
Subject: [PATCH] media: rp1: csi2: Set values for enum csi2_mode
|
|
|
|
Set hardcoded values for enum csi2_mode, as the values will be
|
|
programmed to HW registers.
|
|
|
|
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
|
|
---
|
|
drivers/media/platform/raspberrypi/rp1_cfe/csi2.h | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- a/drivers/media/platform/raspberrypi/rp1_cfe/csi2.h
|
|
+++ b/drivers/media/platform/raspberrypi/rp1_cfe/csi2.h
|
|
@@ -20,10 +20,10 @@
|
|
#define DISCARDS_TABLE_NUM_VCS 4
|
|
|
|
enum csi2_mode {
|
|
- CSI2_MODE_NORMAL,
|
|
- CSI2_MODE_REMAP,
|
|
- CSI2_MODE_COMPRESSED,
|
|
- CSI2_MODE_FE_STREAMING
|
|
+ CSI2_MODE_NORMAL = 0,
|
|
+ CSI2_MODE_REMAP = 1,
|
|
+ CSI2_MODE_COMPRESSED = 2,
|
|
+ CSI2_MODE_FE_STREAMING = 3,
|
|
};
|
|
|
|
enum csi2_compression_mode {
|