how to configure device tree file for ov10635 ?

how to configure device tree file for ov10635 ?

my ov10635 init code is output 422p 8bit 1280x800 30fps

i tested to connect 2 camera board on jetson tx1 referrence board(e3326 camera board(ov5693) + 0v10635 camera board)

e3326 board connected on CSI-C port
i modifyed kernel/arch/arm64/boot/dts/tegra210-platforms/tegra210-camera-e3326-a00.dtsi
tegra_sinterface = “serial_c”; -----> tegra_sinterface = “serial_a”;

ov10635 board connected on CSI-A port and mipi signal output did check after run init code.

try to run nvgstcapture application. hdmi output black and running.

nvgstcapture console log
2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10
2592 x 1944 FR=30.000000 CF=0x1009208a10 SensorModeType=4 CSIPixelBitDepth=10 DynPixelBitDepth=10

i want to change pixel_t = “bayer_bggr”; -----------> yuv422 format
i want to change output depth 10bit -----------> 8bit;

how to configure device tree file?

can i use yuv422 8bit format on jetson tx1?

how to change CSIPixelBitDepth, DynPixelBitDepth to 8bit?

i cannot find referrence device tree file.

i think jetson tx1 can support Bayer10,12,14 format. so other format not confirmed.

is it right?

if nvidia yuv422 8bit supprot then give me referrence file(dtb).

I think nvgstcapture only works with reference sensor ov5693. For custom sensor driver you need to use a V4L2 capture application.

i will record video and use h.264 ap block.

can i use v4l2 record h.264 ?

Hi walterkim,
There is a sample code of v4l2 h264 encoding in Multimedia API package. Please install it via jetpack and refer to
~/tegra_multimedia_api/samples/01_video_encode

Hi,

I want to configure device tree for max14830 driver.

below is the example.

 max148300: max14830@0 {
     compatible = "maxim,max14830";
     reg = <0>;
     clocks = <&xtal_max>;
     clock-names = "xtal";
     interrupt-parent = <&pinctrl_apalis_gpio1>;
     interrupts = <1 IRQ_TYPE_EDGE_FALLING>; // GPIO 1 de X23, FALLING EDGE
     gpio-controller;
     #gpio-cells = <2>;
     spi-max-frequency = <10000000>;
     };

for parent interrupt controller I have connected max18830 interrupt line to gpio_exp0 on tx2. can you please tell me what will be the interrupt-parent and interrupts in that case?