mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +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>
26 lines
876 B
Diff
26 lines
876 B
Diff
From 5fb3b300557d6a6902e7321f42fdabb8c09eef54 Mon Sep 17 00:00:00 2001
|
|
From: Naushir Patuck <naush@raspberrypi.com>
|
|
Date: Fri, 28 Jul 2023 12:00:40 +0100
|
|
Subject: [PATCH] drivers: media: imx296: Add standby delay during probe
|
|
|
|
Add a 2-5ms delay when coming out of standby and before reading the
|
|
sensor info register durning probe, as instructed by the datasheet. This
|
|
standby delay is already present when the sensor starts streaming.
|
|
|
|
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|
---
|
|
drivers/media/i2c/imx296.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/media/i2c/imx296.c
|
|
+++ b/drivers/media/i2c/imx296.c
|
|
@@ -1022,6 +1022,8 @@ static int imx296_identify_model(struct
|
|
return ret;
|
|
}
|
|
|
|
+ usleep_range(2000, 5000);
|
|
+
|
|
ret = imx296_read(sensor, IMX296_SENSOR_INFO);
|
|
if (ret < 0) {
|
|
dev_err(sensor->dev, "failed to read sensor information (%d)\n",
|