LT6911 UXC dtsi support

Hi everyone,

i`m trying to compile dtsi file for LT6911UXC CSI-2 mipi bridge.
i based my dtsi file on example from: Lontium_lt6911uxc/lt6911uxc.txt at main · InES-HPMM/Lontium_lt6911uxc · GitHub

but when compiling (dtc) the dtsi file i got error on: “&tegra_main_gpio” dont found.
even when i include the following:

#include <dt-bindings/platform/t210/t210.h>
#include <dt-bindings/gpio/tegra-gpio.h>
#include <dt-bindings/pinctrl/pinctrl-tegra.h>

i would like to get instruction how can i solve this issue, and will be very glad if someone have already LT6911UXC dtsi file and can share.

many thanks,
Roee.

hello znroee,

because there’s no tegra_main_gpio for Nano series,
you may refer to tegra-gpio.h for GPIO definitions, please also check Nano’s reference driver as see-also,
for example, $public_sources/kernel_src/hardware/nvidia/platform/t210/porg/kernel-dts/porg-platforms/tegra210-porg-camera-rbpcv2-imx219.dtsi

Hi Jerry,

Thank you for your replay.
Due to fact the Nvidia put Enable LT6911 flag on the Jetson Nano kernel configuration (.config)
i believe there is also dts (device tree) file for it to.
How can i get this file, or example for this file ?

we trying to assmeble this product line in our company multimedia device (more then 10k product for a year)
and this subject (insert HDMI signals for the Jetson) is show stopper for us.

many thanks,
Roee.

hello znroee,

please access Jetson Linux Archive page for checking L4T packages of your release.
for example,
if you’re using JetPack 4.6.3/L4T 32.7.3, you may go through the page and download [Driver Package (BSP) Sources] for its public release sources package; whereas device trees were within kernel_src.tbz2 package.
however, it looks only driver sources but not device tree.
i.e. $public_sources/kernel_src/kernel/nvidia/drivers/media/i2c/lt6911uxc.c

1 Like

Hi Jerry,

i already knew that.

i will ask my question again: Where can i get support for LT6911UXC device tree ?
as you knew from your last replay, its part of the kernel build so how it is logic that you dont include his device tree file ?

its ok from my side that you will replay something like "Nvidia dont have dts file for LT6911UXC device, you can build you own" but please dont answer about what im not asking.

btw, device tree for TC358840 are exist in your kernel source.

Thanks a lot,
Roee.

there’s NO LT6911UXC device tree available.

Ok,

we had some progress regarding this, we build the following dts file for Nano B0 DevKit board.

LT6911UXC_Nano.txt (7.7 KB)

However we got the following issue (via dmesg):

dmesg |grep lt6911
[ 1.282111] lt6911uxc 3-0056: probing lt6911uxc v4l2 sensor at addr 0x56
[ 1.289118] lt6911uxc 3-0056: unable to get clock clk_out_3
[ 1.294775] lt6911uxc 3-0056: unable to power get
[ 1.299497] lt6911uxc 3-0056: tegra camera driver registration failed
[ 1.306079] lt6911uxc: probe of 3-0056 failed with error -14

Please assist us or give us a clue on what is wrong on our dts to fix this issue.

many thanks,
Roee.

hello znroee,

that show an error to parse clock. you may review your device tree to check the configuration is correct.

JerryChang, do you have some more precise hints ?

hello znroee,

the maximum frequency for extperiph1 is 24 MHz. it looks you should use an external clock source.
you may refer to Sensor Software Driver Programming for details,
thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.