Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp822140ybm; Wed, 27 May 2020 08:49:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiLHPwxeyLSsMFRVMHwqCW7N4loHxPrGbepbuX3jw/8SJyJqkuYDoPYmc/+56SD2b1Ml8J X-Received: by 2002:a17:906:b859:: with SMTP id ga25mr7085960ejb.523.1590594588286; Wed, 27 May 2020 08:49:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1590594588; cv=pass; d=google.com; s=arc-20160816; b=swRGHRfluXphnmx34yD7e47v539uOT3svxLngRG7tptDPlfELtti4aBajWTMLTBddp cr3rGeEBsHuBH8hkLnQWu9e6wJ/ard9pomMYyp+htjRrWYJvDHIk/5NAfD+oYo5LF6ND n8TajZaOWeUpYGhp8DEOax17m8at1S4maET7hNR4EMoh2EKPoCu2jN0Fp/q+prW2QePF FqiVltJX1lI5Q++bvsi/p/XvH298KctrgQCR67s/aMl+L3EowQPhqlflp7rb7I79iYt7 6iU30ClEQW7caDdyFYVY35X9wlgVOR5EsBoVCVHnGXUihWT7dPfWOKEqu/ylxatH5R0G NOoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=N3ltENmdkfmsAuhUNrrbl/VzTKY2cRxu55rczO0DHLk=; b=ZvIBqMsCN39aFD8A4o9XnhcvkKxr/5UfCyIuEMjLs22p6yLY3U/TtzPtrcdnRA1kDt luvAKzO8uUksKSVm3t8RFH9p+9Irip1FHAPpeyQ/9xnxqeJSOLGuYFsmnDBrAxABlyJJ XBvBdXR//HrEDC+0jSxn0Ll7kA4f4YMBKJhjPQ3uTia4hUdZHSg2kNvuWPXOEgX4VKFo tO1lQikWni/tvwG9TKE7dVHT1d7ShKWcvN9LoL13xXC9FPqRHeSmrtDHKV3INOTKY4rh AeAeDhe4TCyZW6cJGJqs9OjNrcELighPsqogI61y7Vk55LELY6PcvNJ1/PncLTgodxmG VcAA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=lpOQgoLY; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 63si1893382edn.276.2020.05.27.08.49.23; Wed, 27 May 2020 08:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=lpOQgoLY; arc=pass (i=1 spf=pass spfdomain=xilinx.com dkim=pass dkdomain=xilinx.com dmarc=pass fromdomain=xilinx.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725819AbgE0MEf (ORCPT + 99 others); Wed, 27 May 2020 08:04:35 -0400 Received: from mail-bn8nam12on2086.outbound.protection.outlook.com ([40.107.237.86]:6199 "EHLO NAM12-BN8-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725801AbgE0ME1 (ORCPT ); Wed, 27 May 2020 08:04:27 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C5bEo/1Y6a+MFwJB7DcarBxZd/I7oXORNQFK+EZCI0uj3fIh+HTgYKHLJGftivac0qyrUuJ50ZVGcPLA481FWvicc3YkKG5XtroEi4iPo3vnshoLIYtcimvwWYpibM+vxbqtm2/QFZhntWB83q0m8Vl+J9IkrSrVJhCE1Kym/lKAnmObqSSCMP9Sn/slrkiXF3Agzr20zzo60QwvDfz8HViLzmIZjffQ4Qf2WEe3tRYQcoHZCDEqlGX63ld98daYMLFJe8+wLh9ot8FWPA0oh++oiKGpztNagwgdRGf8yVRf8jxl0iuJsAoNmzSN9aEQD8ejQ9XXbqHHcMEitKc6tQ== 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=N3ltENmdkfmsAuhUNrrbl/VzTKY2cRxu55rczO0DHLk=; b=SagotewYOANNaDWKObGGCRsz0eDnTML7fYOZTww6tTpksGRUd4X8Hs/nrRdFUT8sCdBX6bHHgdkBlznneTpeJSsXaqND/nG9B4YkXe+INosSvyiQUisTlYEeqh+LVX5wDHOsH5B9+lUPbPLkP75VL94wSVB6pPbFnsBYJe6emQwMPaWagdPj1EIZ9btg8TntqnCAywfFDpXIQIl8aEjLEMStHTzggpHP7OHfB+o0iBnWqhst1CAN9udKJGy4yp1tUd28Vjjzj98nOo//ca1uv2qX+8bBW/IhkR7iFu1x4eTB7MNbj57+8b4TZOLnEYmtnwqLTRvNaWAC21LCFDevAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N3ltENmdkfmsAuhUNrrbl/VzTKY2cRxu55rczO0DHLk=; b=lpOQgoLYTbslDzWiq5HAU5wuZcBQUKy0UN4paDxsnluqi8q4xER0AdcCgOKUjkbKi2TihN3At6uq5ve/c+aT+9cAQjq25V2MUHIUV+5DjSR2InAlOSxh8SeY/5FV0/Kn3m5axzjEpzO9S+UDD0vZ9ogSn3/9fRYBX/mRyJ2jycY= Received: from DM6PR02MB6876.namprd02.prod.outlook.com (2603:10b6:5:22c::11) by DM6PR02MB5658.namprd02.prod.outlook.com (2603:10b6:5:79::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Wed, 27 May 2020 12:03:35 +0000 Received: from DM6PR02MB6876.namprd02.prod.outlook.com ([fe80::ad68:d392:e519:f671]) by DM6PR02MB6876.namprd02.prod.outlook.com ([fe80::ad68:d392:e519:f671%9]) with mapi id 15.20.3021.029; Wed, 27 May 2020 12:03:35 +0000 From: Vishal Sagar To: Laurent Pinchart CC: Hyun Kwon , "mchehab@kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , Michal Simek , "linux-media@vger.kernel.org" , "devicetree@vger.kernel.org" , "hans.verkuil@cisco.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Dinesh Kumar , Sandip Kothari , Luca Ceresoli , Jacopo Mondi , Hyun Kwon Subject: RE: [PATCH v13 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver Thread-Topic: [PATCH v13 2/2] media: v4l: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem driver Thread-Index: AQHWKHDtmNA7/cHPMEikRWeI+eR8g6i2lNMAgAVVECA= Date: Wed, 27 May 2020 12:03:35 +0000 Message-ID: References: <20200512151947.120348-1-vishal.sagar@xilinx.com> <20200512151947.120348-3-vishal.sagar@xilinx.com> <20200524022722.GC6026@pendragon.ideasonboard.com> In-Reply-To: <20200524022722.GC6026@pendragon.ideasonboard.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-TNEF-Correlator: authentication-results: ideasonboard.com; dkim=none (message not signed) header.d=none;ideasonboard.com; dmarc=none action=none header.from=xilinx.com; x-originating-ip: [149.199.50.130] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 35b2409c-5210-44a0-d787-08d80235fbd1 x-ms-traffictypediagnostic: DM6PR02MB5658: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:288; x-forefront-prvs: 04163EF38A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Fj2xEQ8D7aPMrm/QZJzAUN2PssaVCJe2kHbo8ixUKINs6HYv1FPSrZ+jXdiQu6VyOIEJP0D6HiCnjE5J2xZWJwZl7gNorQh2DyBe5uF561GAOY99LoD24swjeGd9CTtQ+YomvwXWgfB0y42cwOC0gqM3G2yokxKwEarfOIUCTBQgrAOgQu7yid5e0XFG9jodhWbQbb/s1IApBccbb8oVPPTSi86t3OreiyONREIIzzZDpHEsvRQo2LGcRebqu0R8Gv0Ja9m7LJ8yUx0bewfJOvGehQWRWj0MM8teNJwM7P5dgP4ppn3FEycYbTc0Zx98 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR02MB6876.namprd02.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(366004)(39860400002)(346002)(136003)(396003)(26005)(66946007)(76116006)(6916009)(71200400001)(66446008)(64756008)(66556008)(66476007)(55016002)(7416002)(8936002)(186003)(5660300002)(7696005)(4326008)(83380400001)(8676002)(30864003)(2906002)(316002)(53546011)(6506007)(86362001)(52536014)(478600001)(9686003)(33656002)(107886003)(54906003)(559001)(579004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: MD4nO+0Ntx/jdnwzy0f0RKeDRWIv2UmyDximhtRHuFqdLhrFHd5EhF71xjIJJLYVVPZzerUl708nU0QstTf8RcndHbJQW/s6bLhpY2hFnjK+vRHc0i1AmdgH+1ojk6lR0868lyBHwX+dMHIRGSH75dn3rQlyUuKVsOcC2b/U9ZWqwylCB8L9xx313olrIN8/0zSerS8X6LvkDigrLvCUN0QPiv4HYTXDdmd2QrHIaXsCyxgBkC/CmBXIp7HV6wFK9MQXML8zL+0Xf1dCJ8sNc9CRIsWtuq2rLYrCbwIsF16YL4PhhbTGX+lpdjBbWZ8Y7lSmW2IWSmjy2Wpkwq6DqB53381ZG5vwhaO1vaniEp6R69CsUzlxpMe6sJgetWrLoFKE/lsBDq0C+AcbB21QzCWiXb+qml/LvWEI+06BYTbLsTpqZ9PobOT+HVHmisclplYTHhqWDPYNkmOt2Vwn4UlU+0JcvuKDBilvcCdzSrt0M03LGlyBb1kMTcLdP5Fc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 35b2409c-5210-44a0-d787-08d80235fbd1 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2020 12:03:35.2329 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: vTw5kImGI1I2/OiiuEGsyegcU+biUYoEhWGdG3FZOw6KIavOq+ChfOCrC2vKDLhCKL25U/BVz2YyX/PcGtUD4w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB5658 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTGF1cmVudCwNCg0KVGhhbmtzIGZvciByZXZpZXdpbmcgdGhpcyBwYXRjaC4NCg0KPiAtLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBMYXVyZW50IFBpbmNoYXJ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