Re: TI Deserializer DT node configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stuvart,
Thank you for mentioning me.

Hi Team , Barinov,
Sorry for the late response. Updating the progress of our work.
PFB the current status and also the customized devicetree.

root@Alpha:~i2cdetect -y -r 6
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- 0c 0d 0e 0f
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: UU -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: UU UU UU UU -- -- -- -- -- -- -- -- -- -- -- --


 DTS file Modification:

&i2c6 {

pinctrl-0 = <&i2c6_pins>;

pinctrl-names = "default";

status = "okay";

clock-frequency = <400000>;


//TI-DESER

ov106xx@0 {
compatible = "ovti,ov106xx";
reg = <0x60>;
port@0 {
ov106xx_in0: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&vin0ep0>;
};
};
port@1 {

ov106xx_ti964_des0ep0: endpoint@1 {
remote-endpoint = <&ti964_des0ep0>;
};

};
};
ov106xx@1 {
compatible = "ovti,ov106xx";
reg = <0x61>;
port@0 {
ov106xx_in1: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&vin1ep0>;
};
};
port@1 {

ov106xx_ti964_des0ep1: endpoint@1 {
remote-endpoint = <&ti964_des0ep1>;
};

};
};
ov106xx@2 {
compatible = "ovti,ov106xx";
reg = <0x62>;
port@0 {
ov106xx_in2: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&vin2ep0>;
};
};
port@1 {

ov106xx_ti964_des0ep2: endpoint@1 {
remote-endpoint = <&ti964_des0ep2>;
};
};
};
ov106xx@3 {
compatible = "ovti,ov106xx";
reg = <0x63>;
port@0 {
ov106xx_in3: endpoint {
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&vin3ep0>;
};
};
port@1 {

ov106xx_ti964_des0ep3: endpoint@1 {
remote-endpoint = <&ti964_des0ep3>;
};
};
};
/* DS90UB964 @ 0x30 */
ti9x4:ti9x4@30 {

compatible = "ti,ti9x4";
reg = <0x30>;
ti,sensor_delay = <350>;
ti,links = <1>;
ti,lanes = <1>;
ti,forwarding-mode = "round-robin";
ti,stp = <0>;
ti,dvp_bus=<10>;
ti,hsync=<0>;
ti,vsync=<1>;
ti,ser_id=<0x58>;
ti,poc-delay=<50>;

port@0 {
ti964_des0ep0: endpoint@0 {
ti9x3-addr = <0x0c>;
dvp-order = <0>;
remote-endpoint = <&ov106xx_in0>;
};
ti964_des0ep1: endpoint@1 {
ti9x3-addr = <0x0d>;
dvp-order = <0>;
remote-endpoint = <&ov106xx_in1>;
};
ti964_des0ep2: endpoint@2 {
ti9x3-addr = <0x0e>;
dvp-order = <0>;
remote-endpoint = <&ov106xx_in2>;
};
ti964_des0ep3: endpoint@3 {
ti9x3-addr = <0x0f>;
dvp-order = <0>;
remote-endpoint = <&ov106xx_in3>;
};
};
port@1 {
ti964_csi0ep0: endpoint {
csi-rate = <800>;
remote-endpoint = <&csi40_ep>;
};
};
};

};


Any suggestion is much more appreciated

Regards,
Anjali S S






From: Stuvart S <lovelinuxdeeply@xxxxxxxxx>

Sent: Friday, January 10, 2020 10:53 AM

To: kieran.bingham@xxxxxxxxxxxxxxxx <kieran.bingham@xxxxxxxxxxxxxxxx>; linux-media@xxxxxxxxxxxxxxx <linux-media@xxxxxxxxxxxxxxx>

Cc: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>; Vladimir Barinov <vladimir.barinov@xxxxxxxxxxxxxxxxxx>; Anjali S S <anjali.ss@xxxxxxxxxxxxxxx>

Subject: Re: TI Deserializer DT node configuration






**This is an external email. Please check the sender’s full email address (not just the sender name) and exercise caution before
 you respond or click any embedded link/attachment.**



Hello team,




Sorry for the long delay happend.Actually I am in the work bench for the last few weeks.We have made some progress on this.Now,Deserializer,serializer,Cameras all are detected



We are following Barinov's approach who is CC ed here with.Also since I am little busy with some other task,I have included my colleague Anjali in this mail chain.She can share the latest log and update the progress.



Thank you guys in advance.




On Tue, 26 Nov, 2019, 11:24 PM Stuvart S, <lovelinuxdeeply@xxxxxxxxx> wrote:



Hi kieran,

> Do you need assistance on this topic in the shorter term to get a functional system?



yea I need and will be in touch with you for the further assistance



Regards



On Tue, 26 Nov 2019 at 22:22, Kieran Bingham

<kieran.bingham@xxxxxxxxxxxxxxxx> wrote:

>

> Hi Stuvart,

>

> On 26/11/2019 15:55, Stuvart S wrote:

> > Hello team,

> >

> > I am integrating DS90UB964 deserializer into my custom board based on

> > Rcar H3 Salvator XS. Deserializer is connected in i2c6.Also I have my

> > four serializers as DS90UB913 and cameras OV10635.

>

> This sounds like an interesting project.

>

> Our team maintains the RCar H3 multimedia drivers on behalf of Renesas,

> and we have an equivalent system based upon the GMSL (Maxim)

> (de-)serialisers which we have been developing for Renesas.

>

> Can you expand on your use case at all?

>

> Are you creating a product for automotive use cases?

> Or is this something more specific?

>

> Have you selected existing camera modules, or are they also custom designed?

>

> > Can any one please help with the following?

> >

> > How Deserializer connects to Serializer in DT node?I came accross

> > about the terms remote i2c, i2c-mux,i2c-atr.but I dont understand.I am

> > not using any i2c switches.

>

> The serializer and deserializer usually use I2C as the means of

> programming their registers.

>

> You mention that your deserializer is connected on i2c6, this will allow

> communication with the cameras through the deserializer, and serializer

> on a reverse-channel path over I2C. (The cameras are the "remote i2c"

> devices)

>

> With multiple cameras connected to a single interface chip, which

> bridges the I2C channel, means that in effect, the deserializer acts as

> an i2c-mux.

>

> The term i2c-atr is in regards to needing address translation, as each

> camera will be available with identical addressing, whilst logically

> connected to the same bus.

>

>

> > Any DT example is helpful for me

>

> This topic requires support in linux-media/V4L2 which is not currently

> upstreamed.

>

> Any example is dependant upon the code you are basing your development

> on. Have you taken any development branch as an example starting point?

> Or are you using the BSP from Renesas?

>

> Myself, and the rest of our team have been developing support for

> multiplexed streams over CSI2, and working towards getting an upstream

> compatible solution, though it will take some time to get a result

> integrated into the upstream linux tree.

>

> Do you need assistance on this topic in the shorter term to get a

> functional system? If so I believe we could be of some help with our

> specific experience and expertise in this topic.

>

> --

> Regards

> --

> Kieran







--

                        --- Come    Let's enjoy the world of Open Source  ---





Best regards,

Stuvart



________________________________
 Disclaimer: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient of this message , or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. Email transmission cannot be guaranteed to be secure or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender, therefore, does not accept liability for any errors, omissions or contaminations in the contents of this message which might have occurred as a result of email transmission. If verification is required, please request for a hard-copy version.
________________________________




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux