Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit d7afac0

Browse files
committed
Use arducam-pivariety driver
Signed-off-by: Ravago Jones <ravagojones@gmail.com>
1 parent 0a8f137 commit d7afac0

5 files changed

Lines changed: 1602 additions & 5 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,18 +509,18 @@
509509

510510
camera2: camera-module@36 {
511511
status = "okay";
512-
compatible = "ovti,ov5647";
513-
reg = <0x36>;
512+
compatible = "arducam,arducam-pivariety";
513+
reg = <0x0c>;
514514

515515
clocks = <&cru SCLK_CIF_OUT>;
516-
clock-names = "clk_cif_out";
517-
//pinctrl-names = "rockchip,camera_default";
516+
clock-names = "xclk";
517+
clock-frequency = <24000000>;
518518

519519
port {
520520
ucam_out1: endpoint {
521521
remote-endpoint = <&mipi_in_ucam0>;
522-
//remote-endpoint = <&isp0_mipi_in>;
523522
data-lanes = <1 2>;
523+
link-frequencies = /bits/ 64 <456000000>;
524524
};
525525
};
526526
};

drivers/media/i2c/Kconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,17 @@ config VIDEO_AR0521
4747
To compile this driver as a module, choose M here: the
4848
module will be called ar0521.
4949

50+
config VIDEO_ARDUCAM_PIVARIETY
51+
tristate "Arducam Pivariety sensor support"
52+
depends on I2C && VIDEO_DEV
53+
select VIDEO_V4L2_SUBDEV_API
54+
help
55+
This is a Video4Linux2 sensor driver for the Arducam
56+
Pivariety camera series.
57+
58+
To compile this driver as a module, choose M here: the
59+
module will be called arducam-pivariety.
60+
5061
config VIDEO_HI556
5162
tristate "Hynix Hi-556 sensor support"
5263
depends on I2C && VIDEO_DEV

drivers/media/i2c/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ obj-$(CONFIG_VIDEO_AK7375) += ak7375.o
2020
obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
2121
obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o
2222
obj-$(CONFIG_VIDEO_AR0521) += ar0521.o
23+
obj-$(CONFIG_VIDEO_ARDUCAM_PIVARIETY) += arducam-pivariety.o
2324
obj-$(CONFIG_VIDEO_BT819) += bt819.o
2425
obj-$(CONFIG_VIDEO_BT856) += bt856.o
2526
obj-$(CONFIG_VIDEO_BT866) += bt866.o

0 commit comments

Comments
 (0)