From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2007CC33CB1 for ; Wed, 15 Jan 2020 08:49:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCCCF207E0 for ; Wed, 15 Jan 2020 08:49:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=tataelxsi.co.in header.i=@tataelxsi.co.in header.b="VQ+s3dqr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728986AbgAOItY (ORCPT ); Wed, 15 Jan 2020 03:49:24 -0500 Received: from mail-eopbgr1310120.outbound.protection.outlook.com ([40.107.131.120]:18466 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726472AbgAOItY (ORCPT ); Wed, 15 Jan 2020 03:49:24 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lV2SwOC2sFE7EJp9LYFH3E6pgqEjaw1iDoOqUA4pkxgAqniyqff0tGEwstabAvNRwbDAQk/MLYFc7ktb9EDaFnybstmlTFzp15gz9hJn3zc3iPH/amms4HQ6OW458e7IOYI2M/FDl83qhnmQInaQErkxgOis4W4FbNQ4HOjtaVDRJLvBK0L21LrUBF0Qlzjk4pPwZd5GE8C5fbWNEIxp2Qiyujkcrt2DtAn/L8yq6MvBYHlE9gdnrCIsUdBoO7qF3G1/NPtft1ZAvGldw3Ygk96fPkvsF2CtB9FuLmV0hfGkVOfYHb6neOlPDEk4ZT/xCOQ7kQgwin7bH5UHFA9qxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O98HRAI8i8RzaYpGn5xVKH09lOmjq5t+nwkdrX/RBxQ=; b=DKIqepZxPwUq+Kw970BiHySe3tuNs0og/AKhWczm74LI9cPhhVI7HXiw7yH4M7+U+GLSP95ygsnMpjoN1InWWVGHQj+slLQSEb5twV2HtCxv8sP90cjblWbLNyPZOAkJPsBdwuzPlgvqqtAZB4hdXkD9g7QlDLLmxkafYX2NAFhJsyk6mlCSFM21qHaYnO3P+A9sg1sCQoEdZKv7zmnzDHUJl5WSYfWJdh1ke3jykO8YJ32BVrhJ1nE3wOT56zLy3FXdPruvzqMlWtFclM8xHHQ9wCRHKVgcE8nVEpfPvMALNdyrSC4RAJx+UGJ1VfBfVxlT5LlakZ/mmgU+mObFKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=tataelxsi.co.in; dmarc=pass action=none header.from=tataelxsi.co.in; dkim=pass header.d=tataelxsi.co.in; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tataelxsi.co.in; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=O98HRAI8i8RzaYpGn5xVKH09lOmjq5t+nwkdrX/RBxQ=; b=VQ+s3dqr1eod3R9UGIEKpc5aDeQYO0s8RNTf8LWFogajlEz2nfd1Rs4IgaURSSiWZGMGFZrkE+33hlNaDriFpjn5Xqzjvruc0/MEQ7TFSHG5oLND1ZikNOnyCRyaWQq4Qn0gaT4ADLpgU/4Lg6StUax9jRZjaXPaNtJZc8LD8PE= Received: from SG2PR04MB3221.apcprd04.prod.outlook.com (20.177.90.144) by SG2PR04MB3627.apcprd04.prod.outlook.com (20.178.157.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Wed, 15 Jan 2020 08:49:14 +0000 Received: from SG2PR04MB3221.apcprd04.prod.outlook.com ([fe80::5cb3:6ecd:4f54:8e1e]) by SG2PR04MB3221.apcprd04.prod.outlook.com ([fe80::5cb3:6ecd:4f54:8e1e%7]) with mapi id 15.20.2623.017; Wed, 15 Jan 2020 08:49:14 +0000 From: Anjali S S To: Stuvart S , "kieran.bingham@ideasonboard.com" , "linux-media@vger.kernel.org" , Laurent Pinchart , Vladimir Barinov Subject: Re: TI Deserializer DT node configuration Thread-Topic: TI Deserializer DT node configuration Thread-Index: AQHVx3YY/koiNSMo20q3GEPjGbTF+6frcZok Date: Wed, 15 Jan 2020 08:49:14 +0000 Message-ID: References: <42a4508d-c199-4ab0-0c62-7387be3b8d55@ideasonboard.com> , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anjali.ss@tataelxsi.co.in; x-originating-ip: [121.244.192.66] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d9fc62a2-b70e-460a-503a-08d79997cc96 x-ms-traffictypediagnostic: SG2PR04MB3627: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 02830F0362 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(346002)(39850400004)(136003)(376002)(396003)(366004)(199004)(189003)(186003)(5660300002)(86362001)(52536014)(81156014)(9686003)(110136005)(8676002)(81166006)(2906002)(316002)(8936002)(478600001)(66946007)(7696005)(66476007)(53546011)(71200400001)(66556008)(66446008)(64756008)(6506007)(26005)(91956017)(33656002)(55016002)(76116006);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2PR04MB3627;H:SG2PR04MB3221.apcprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:0;MX:1; received-spf: None (protection.outlook.com: tataelxsi.co.in does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XUf1EEIts2YOGbmDcCIPkTKOkiTW3it93gYu6uql7WNYXjKg7N6fvWgoMWPgG9YqZ7aJkt21h49OuIPxHnAJMcm9ZHozIXFF/hAMeKRE69s1otHSyOU1f/LE4mYBoHp+IYaaYaDXJClQupgGEe45WCfbLBT+pJ8m/SWkCZNEYPS5A15Y2N8L5B2n8HBlrj407LJRzVcZcvcn0OvT1sTRDF1SgGRxZdFz2gWMWTJNvZrcnTb6gtgQD6wtNKxVQqo89eUTzlqvIpJKru3Qlj24yqQZNKalZKP917tVABF5QpglrjTJKoAOPQLmDAdzWVcnzizhPwlI21J2IGdmWx1NIa+cjBXlzBvf20Vh64WYnwNHME494FEnCrFoYyxTmoiJyASMeEPoryO0IqeOH+kVlqmYCIN/AiwYSTm8gehGMtRG7gJIm6LgRFYBduQskfm4 x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: tataelxsi.co.in X-MS-Exchange-CrossTenant-Network-Message-Id: d9fc62a2-b70e-460a-503a-08d79997cc96 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jan 2020 08:49:14.6839 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: ad6a39dd-96b6-4368-82da-f2ec4d92e26a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VhRWKY/NPJ01l0nikKpn/gY+lX8aK/wUkH3exUudoM63/tB+XUfQvfZxJEydWNYl/0XBWgKAiWA1PsGSu4h7WG8IfCwmvEQ/t9WSkk7z0zM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR04MB3627 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 =3D <&i2c6_pins>; pinctrl-names =3D "default"; status =3D "okay"; clock-frequency =3D <400000>; //TI-DESER ov106xx@0 { compatible =3D "ovti,ov106xx"; reg =3D <0x60>; port@0 { ov106xx_in0: endpoint { clock-lanes =3D <0>; data-lanes =3D <1 2 3 4>; remote-endpoint =3D <&vin0ep0>; }; }; port@1 { ov106xx_ti964_des0ep0: endpoint@1 { remote-endpoint =3D <&ti964_des0ep0>; }; }; }; ov106xx@1 { compatible =3D "ovti,ov106xx"; reg =3D <0x61>; port@0 { ov106xx_in1: endpoint { clock-lanes =3D <0>; data-lanes =3D <1 2 3 4>; remote-endpoint =3D <&vin1ep0>; }; }; port@1 { ov106xx_ti964_des0ep1: endpoint@1 { remote-endpoint =3D <&ti964_des0ep1>; }; }; }; ov106xx@2 { compatible =3D "ovti,ov106xx"; reg =3D <0x62>; port@0 { ov106xx_in2: endpoint { clock-lanes =3D <0>; data-lanes =3D <1 2 3 4>; remote-endpoint =3D <&vin2ep0>; }; }; port@1 { ov106xx_ti964_des0ep2: endpoint@1 { remote-endpoint =3D <&ti964_des0ep2>; }; }; }; ov106xx@3 { compatible =3D "ovti,ov106xx"; reg =3D <0x63>; port@0 { ov106xx_in3: endpoint { clock-lanes =3D <0>; data-lanes =3D <1 2 3 4>; remote-endpoint =3D <&vin3ep0>; }; }; port@1 { ov106xx_ti964_des0ep3: endpoint@1 { remote-endpoint =3D <&ti964_des0ep3>; }; }; }; /* DS90UB964 @ 0x30 */ ti9x4:ti9x4@30 { compatible =3D "ti,ti9x4"; reg =3D <0x30>; ti,sensor_delay =3D <350>; ti,links =3D <1>; ti,lanes =3D <1>; ti,forwarding-mode =3D "round-robin"; ti,stp =3D <0>; ti,dvp_bus=3D<10>; ti,hsync=3D<0>; ti,vsync=3D<1>; ti,ser_id=3D<0x58>; ti,poc-delay=3D<50>; port@0 { ti964_des0ep0: endpoint@0 { ti9x3-addr =3D <0x0c>; dvp-order =3D <0>; remote-endpoint =3D <&ov106xx_in0>; }; ti964_des0ep1: endpoint@1 { ti9x3-addr =3D <0x0d>; dvp-order =3D <0>; remote-endpoint =3D <&ov106xx_in1>; }; ti964_des0ep2: endpoint@2 { ti9x3-addr =3D <0x0e>; dvp-order =3D <0>; remote-endpoint =3D <&ov106xx_in2>; }; ti964_des0ep3: endpoint@3 { ti9x3-addr =3D <0x0f>; dvp-order =3D <0>; remote-endpoint =3D <&ov106xx_in3>; }; }; port@1 { ti964_csi0ep0: endpoint { csi-rate =3D <800>; remote-endpoint =3D <&csi40_ep>; }; }; }; }; Any suggestion is much more appreciated Regards, Anjali S S From: Stuvart S Sent: Friday, January 10, 2020 10:53 AM To: kieran.bingham@ideasonboard.com ; linu= x-media@vger.kernel.org Cc: Laurent Pinchart ; Vladimir Barinov = ; Anjali S S Subject: Re: TI Deserializer DT node configuration **This is an external email. Please check the sender=92s 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 la= st 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 thi= s 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, wrote= : Hi kieran, > Do you need assistance on this topic in the shorter term to get a functio= nal 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 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 design= ed? > > > 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 ar= e 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 t= he 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 o= r error-free, as information could be intercepted, corrupted, lost, destroy= ed, arrive late or incomplete, or contain viruses. The sender, therefore, d= oes not accept liability for any errors, omissions or contaminations in the= contents of this message which might have occurred as a result of email tr= ansmission. If verification is required, please request for a hard-copy ver= sion. ________________________________