Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8286281ybi; Thu, 6 Jun 2019 09:36:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzUfml077D+zmi6oc81jHz94ggFCbBJAIa5xWosOelFYDPtk/SgjhnZ9quGi/wlaEywRKg3 X-Received: by 2002:a65:41c5:: with SMTP id b5mr4264141pgq.128.1559839014952; Thu, 06 Jun 2019 09:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559839014; cv=none; d=google.com; s=arc-20160816; b=bFWD0KyaJu+5JJ0AM50YbEhMrXYrMDOqfHA/fjiLNNwOBCUHOwDFvDTQvpUSEe4x07 yMal3RMJZDwrx+W1AWoUTgvKcdpClkWKVy5KzRVuCity03ikIW3G2tZeMBtv13noCvrv nCf8hgN5h5iwPoiB79nGREQmtaim7Peu5bABRy871bYEy4nGlxWZDPHQyXSPUZBu9iBw ZJq6+qE6Wz/NhgnvPU6J8tDwg7RU3YyY0PPa8TDYwYbZ1nT7/a56QAeXo0/cBmUgpFEd 5OtDHQUMbGyc6eUQN9gKlhom5CVWbJUVjyVgQR9CvE9tVH4F4NO5BZ9tgKk4SQZRq7CT nB0w== ARC-Message-Signature: i=1; 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=PeyhXymArBVhn9yOZ9BdY0SCC3sFt0O/m7nOcPL7l7s=; b=iPIfV7WFzYSCEHOzPunbRqGQj7xDul9TeH9pet45/kKNc26z+Big+kjhhZcWAO+7Jc nTKle+skBDCI4EkjxcEQ0XetK//QEQ/aXffHGSAQkSmPHlSCWPdSi52CvQOhjjsL8oZc b6Dyv+9ILi+jpFspXqvbPqhHLhrMgcO4uq4XmQzPo6no7MrXHfzw3tNNsT09cCJaDAKX G4ZXX/bOwCmbFVm4Wjccxyk1N8AMdURYmNHSouwEZuaXVBqSMg6dkLuRY+OZ6s837AP7 lP4O/Ol67p7Lcc4E2ST5XM+8W9PJep+6f15NuEQJzpymhVdOKSLM/RAf9REclpnXIo/r e3Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-onmicrosoft-com header.b=sxtF1Dpx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d191si2300000pgc.460.2019.06.06.09.36.39; Thu, 06 Jun 2019 09:36:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-onmicrosoft-com header.b=sxtF1Dpx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728066AbfFFMXP (ORCPT + 99 others); Thu, 6 Jun 2019 08:23:15 -0400 Received: from mail-eopbgr760070.outbound.protection.outlook.com ([40.107.76.70]:4288 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726876AbfFFMXO (ORCPT ); Thu, 6 Jun 2019 08:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PeyhXymArBVhn9yOZ9BdY0SCC3sFt0O/m7nOcPL7l7s=; b=sxtF1DpxHoBZn8Di1JiQx3JDa1vuncl78Ce2IlOHCkXk0qwExNIY3N13wUrEC/ZXPp3MTEof0sjvacYxAJw49a2BLRaVc+oq0EebjI7umNZerugvUgCHbbttUONySOFAXyyeQNMNHxYvbPQ6iZ8qPduq5Ov32y70RGuN7ULBKJA= Received: from CH2PR02MB6088.namprd02.prod.outlook.com (52.132.228.94) by SN4SPR01MB010.namprd02.prod.outlook.com (10.167.133.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.14; Thu, 6 Jun 2019 12:23:08 +0000 Received: from CH2PR02MB6088.namprd02.prod.outlook.com ([fe80::3cca:e795:ebe2:b366]) by CH2PR02MB6088.namprd02.prod.outlook.com ([fe80::3cca:e795:ebe2:b366%6]) with mapi id 15.20.1943.018; Thu, 6 Jun 2019 12:23:08 +0000 From: Vishal Sagar To: Sakari Ailus CC: Vishal Sagar , Hyun Kwon , "laurent.pinchart@ideasonboard.com" , "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 Subject: RE: [PATCH v8 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem Thread-Topic: [PATCH v8 1/2] media: dt-bindings: media: xilinx: Add Xilinx MIPI CSI-2 Rx Subsystem Thread-Index: AQHVGfMZOW4cFen74Uu6bLLV7F3ehaaL4iYAgAKizUCAAAlqAIAAAJyg Date: Thu, 6 Jun 2019 12:23:08 +0000 Message-ID: References: <1559555971-193235-1-git-send-email-vishal.sagar@xilinx.com> <1559555971-193235-2-git-send-email-vishal.sagar@xilinx.com> <20190604192344.7tycwffjd3yeizxh@paasikivi.fi.intel.com> <20190606121238.zxdvvogob3umzid4@paasikivi.fi.intel.com> In-Reply-To: <20190606121238.zxdvvogob3umzid4@paasikivi.fi.intel.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: spf=none (sender IP is ) smtp.mailfrom=vsagar@xilinx.com; x-originating-ip: [149.199.50.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2ad0c02d-06d8-486f-d75b-08d6ea79bbdf x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:SN4SPR01MB010; x-ms-traffictypediagnostic: SN4SPR01MB010: x-ms-exchange-purlcount: 1 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 00603B7EEF x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(376002)(136003)(346002)(366004)(39860400002)(396003)(13464003)(199004)(189003)(8936002)(316002)(8676002)(6506007)(53936002)(6246003)(7696005)(102836004)(478600001)(53546011)(74316002)(256004)(5660300002)(7416002)(81166006)(81156014)(76116006)(6306002)(11346002)(33656002)(446003)(4326008)(9686003)(66946007)(73956011)(2906002)(54906003)(6436002)(76176011)(66476007)(66556008)(486006)(64756008)(66446008)(476003)(55016002)(99286004)(305945005)(86362001)(71190400001)(71200400001)(26005)(229853002)(68736007)(966005)(66066001)(25786009)(6916009)(186003)(6116002)(52536014)(14444005)(3846002)(14454004)(7736002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN4SPR01MB010;H:CH2PR02MB6088.namprd02.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: xilinx.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: X934sQJ2E3AupcKSUifWu3jj4Lke4xcvqeP6GVi4LUf8dctuu0RhdZtEsPpT8uImGzkAax2E99yIIBtBO0tohTGAZ7hpXz6eLyKIeHswLAxnMYR/+oAy+ZkKlKiowlNOZpYvnq4E8tWR8QMHPP17AvKizMp+eVYKwnBCtxMQgeBTKn6rgzXOcPjNP2iO8r15J18Dp0YDqiNtrQ5VXbIIr2Z3x0J1fK4dzHLM8ioXlOmBcr2BvOClMzSDs1CHZOL3yb9S/ufbRcVwR1uwO7ftsk9Dv7SPa5rEgezVzmeNDHyptcWB0UcgulpRb+12gEUxvvuoBF8YeTU76Ycb4EFTH4I9ICfhPhTpWKlBCeis+hv5tT/tzaUVWBzl7WqAy1s82YsAfrUV+v4QgVVXvp3bucaxBVGPdW4iVeO4IDtXsgw= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ad0c02d-06d8-486f-d75b-08d6ea79bbdf X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2019 12:23:08.2036 (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: vsagar@xilinx.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4SPR01MB010 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sakari, > -----Original Message----- > From: Sakari Ailus [mailto:sakari.ailus@linux.intel.com] > Sent: Thursday, June 06, 2019 5:43 PM > To: Vishal Sagar > Cc: Vishal Sagar ; Hyun Kwon ; > laurent.pinchart@ideasonboard.com; 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 > Subject: Re: [PATCH v8 1/2] media: dt-bindings: media: xilinx: Add Xilinx= MIPI > CSI-2 Rx Subsystem >=20 > Hi Vishal, >=20 > On Thu, Jun 06, 2019 at 11:54:19AM +0000, Vishal Sagar wrote: > > Hi Sakari, > > > > > -----Original Message----- > > > From: Sakari Ailus [mailto:sakari.ailus@linux.intel.com] > > > Sent: Wednesday, June 05, 2019 12:54 AM > > > To: Vishal Sagar > > > Cc: Hyun Kwon ; laurent.pinchart@ideasonboard.com; > > > 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 Kuma= r > > > ; Sandip Kothari ; Luca Ceres= oli > > > ; Jacopo Mondi > > > Subject: Re: [PATCH v8 1/2] media: dt-bindings: media: xilinx: Add Xi= linx > MIPI > > > CSI-2 Rx Subsystem > > > > > > EXTERNAL EMAIL > > > > > > Hi Vishal, > > > > > > On Mon, Jun 03, 2019 at 03:29:30PM +0530, Vishal Sagar wrote: > > > > > > > +Optional properties: > > > > +-------------------- > > > > +- . > > > > + Without this property the driver won't be loaded as IP won't be = able to > > > generate > > > > + media bus format compliant stream output. > > > > > > I think we previously concluded that the format will be just differen= t in > > > this case. So the description appears incorrect. > > > > > > > Referring to your email https://lkml.org/lkml/2019/3/22/1823 in respons= e to > v6 patches, > > if the video format bridge is not enabled, then the way in which pixels= are > transported on > > the bus don't correspond to the existing media bus formats in Linux. > > > > If not loading the driver is incorrect way, is it ok for the driver to = allow same > media bus format > > for packed and unpacked data type on the sink pad? > > > > Or is it ok for the driver to not validate the media bus format set on = the sink > pad? >=20 > Taking a fresh look at the issue --- usually such unpacking is done by th= e > DMA engine, or the same device contains both the CSI-2 RX and DMA. But he= re > it actually affects the input of that DMA engine. You're right in saying = we > don't have format definitions from which you could tell which case it is, > and we also don't have other pre-existing means to tell them apart. >=20 > Feel free to keep the check in the driver, but we can't refer to the driv= er > loading in DT binding documentation: this is really not supposed to be > related to that driver, or even Linux at all. >=20 Ok got it. The description here shouldn't be specific to driver. I will keep the check in driver. > How about changing this to: >=20 > xlnx,vfb: Present when Video Format Bridge is enabled in IP configuration= . >=20 > That'd be aligned with the other properties and would more accurately > convey what this means. Agree this is a good way to define the property. I will update it the descr= iption as mentioned here. >=20 > -- > Kind regards, >=20 > Sakari Ailus > sakari.ailus@linux.intel.com Regards Vishal Sagar