Skip to content

Commit be0e8f1

Browse files
omeredemenOmer Faruk Edemen
authored andcommitted
media: i2c: ov9282: Add external FSIN trigger snapshot mode
This patch adds support for external FSIN-triggered snapshot mode to the OmniVision OV9282 sensor driver. It enables frame capture synchronized with an external hardware trigger signal. Signed-off-by: omer <[email protected]>
1 parent 540bb3c commit be0e8f1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/arm/boot/dts/overlays/ov9281-overlay.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0-only
2-
// Definitions for OV9281_trig camera module on VC I2C bus
2+
// Definitions for OV9281 camera module on VC I2C bus
33
/dts-v1/;
44
/plugin/;
55

6+
#include <dt-bindings/gpio/gpio.h>
67

78
/{
89
compatible = "brcm,bcm2835";

drivers/media/i2c/ov9282.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ static int ov9282_start_streaming(struct ov9282 *ov9282)
10231023
{OV9282_REG_ANA_CORE_2, OV9282_ANA_CORE2_RAW8},
10241024
}
10251025
};
1026-
struct ov9282_reg_list *reg_list;
1026+
const struct ov9282_reg_list *reg_list;
10271027
int bitdepth_index;
10281028
int ret;
10291029

0 commit comments

Comments
 (0)