Skip to content

Commit

Permalink
Use arducam-pivariety driver
Browse files Browse the repository at this point in the history
Signed-off-by: Ravago Jones <[email protected]>
  • Loading branch information
platipus25 committed Jan 21, 2023
1 parent 0a8f137 commit d7afac0
Show file tree
Hide file tree
Showing 5 changed files with 1,602 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -509,18 +509,18 @@

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

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

port {
ucam_out1: endpoint {
remote-endpoint = <&mipi_in_ucam0>;
//remote-endpoint = <&isp0_mipi_in>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <456000000>;
};
};
};
Expand Down
11 changes: 11 additions & 0 deletions drivers/media/i2c/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ config VIDEO_AR0521
To compile this driver as a module, choose M here: the
module will be called ar0521.

config VIDEO_ARDUCAM_PIVARIETY
tristate "Arducam Pivariety sensor support"
depends on I2C && VIDEO_DEV
select VIDEO_V4L2_SUBDEV_API
help
This is a Video4Linux2 sensor driver for the Arducam
Pivariety camera series.

To compile this driver as a module, choose M here: the
module will be called arducam-pivariety.

config VIDEO_HI556
tristate "Hynix Hi-556 sensor support"
depends on I2C && VIDEO_DEV
Expand Down
1 change: 1 addition & 0 deletions drivers/media/i2c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ obj-$(CONFIG_VIDEO_AK7375) += ak7375.o
obj-$(CONFIG_VIDEO_AK881X) += ak881x.o
obj-$(CONFIG_VIDEO_APTINA_PLL) += aptina-pll.o
obj-$(CONFIG_VIDEO_AR0521) += ar0521.o
obj-$(CONFIG_VIDEO_ARDUCAM_PIVARIETY) += arducam-pivariety.o
obj-$(CONFIG_VIDEO_BT819) += bt819.o
obj-$(CONFIG_VIDEO_BT856) += bt856.o
obj-$(CONFIG_VIDEO_BT866) += bt866.o
Expand Down
Loading

0 comments on commit d7afac0

Please sign in to comment.