mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-07 02:09:20 +00:00
The camera daughter board can also be connected to 8-bit ov7725 sensors, so in preparation for configurable option to choose depending on the camera's connected separate out the ov5640 nodes in a dtsi file. Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com> [geert: describe a single camera in the .dtsi, include multiple times] Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20210122113424.2833127-2-geert+renesas@glider.be
33 lines
622 B
Plaintext
33 lines
622 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* This include file ties a VIN interface with a single ov5640 sensor on
|
|
* the iWave-RZ/G1H Qseven board development platform connected with the
|
|
* camera daughter board.
|
|
*
|
|
* Copyright (C) 2020 Renesas Electronics Corp.
|
|
*/
|
|
|
|
#define CAM_ENABLED 1
|
|
|
|
&CAM_PARENT_I2C {
|
|
status = "okay";
|
|
|
|
ov5640@3c {
|
|
compatible = "ovti,ov5640";
|
|
reg = <0x3c>;
|
|
clocks = <&MCLK_CAM>;
|
|
clock-names = "xclk";
|
|
status = "okay";
|
|
|
|
port {
|
|
CAM_EP: endpoint {
|
|
bus-width = <8>;
|
|
data-shift = <2>;
|
|
bus-type = <6>;
|
|
pclk-sample = <1>;
|
|
remote-endpoint = <&VIN_EP>;
|
|
};
|
|
};
|
|
};
|
|
};
|