Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754810AbdLFFow (ORCPT ); Wed, 6 Dec 2017 00:44:52 -0500 Received: from mail-bl2nam02on0077.outbound.protection.outlook.com ([104.47.38.77]:21028 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754754AbdLFFot (ORCPT ); Wed, 6 Dec 2017 00:44:49 -0500 From: Dhaval Rajeshbhai Shah To: "'Arnd Bergmann'" CC: gregkh , Linux Kernel Mailing List , Michal Simek , "Hyun Kwon" Subject: RE: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver Thread-Topic: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver Thread-Index: AQHTbb/vvsNWt82zs0iPUUhWqjiWdqM0qvKAgAAClLCAABHvAIABC67w Date: Wed, 6 Dec 2017 05:44:44 +0000 Message-ID: References: <1512474212-12803-1-git-send-email-dshah@xilinx.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=DSHAH@xilinx.com; x-originating-ip: [149.199.62.254] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM2PR0201MB1008;6:wgRvB8FkdV7UgNfIK2kYp4TeXeRr6Ewvd4QRvW/hL1GhiV+NRqYHRYoosYIbEFto5EVcXuguT0uasXd2129QVeDFNXI5giJgRZqlWyAG9r757rgXeAlDzE2Gfp2ev0u3Nb9PXFmiP4yFgSDUYYlmlkmc2KTE2UzKBn9eBSVTN0LkSR7fx3+ZRSSu42NChLOeXtBf9oVnVpYEhsWhf0EK8MsVD9o9dKgDMlcgjLI3mfnFyh1aSkgcMYek1NqkmO89fbEvjtr+ON/cA7gFTvRKBs7P+YCclSR2FC1a+tcpkBZ1SZzqr2iLh0DanWQJZPX04qoNvXQV3jTcZSLS68inNLyY57w6/AgYTBmMhjNTJ+s=;5:HAcYJ9DPSZSkUF7JEZyyF1PsBm28QO2FEubxdwtVYbHTXO/zkU944Eaqnf0eYd3uFFfI7g4YZZDaP8Pch3DJuutE9DEO4UcIGx0aOC/7oc1nGcaAg+TjbqBkUtQDdLF+/dGAO9BbCSQP1Kc7PUFutqR33VOAxsGv7sIEjZ5esXY=;24:3/Ztci3JXG/LFuJ1UEeFPC2hI4Sumz2Mi853KI9VWdLHCFspMyMc56qlfeLr9M5od4d9dF/wdQchm8pemwOBI6FYMfpqSjqKZSBZMPg6znw=;7:CTfEmYyGGE6vBIPfN5bQYvHjdPNKo5L98OlhrQcPRovo630khutkWmEtdlxbbQDw5NY7l79SNsU8EQfk0O0E53Yq5JOplaRggnIfsVlk0ExtZpu47T3R4y/gSE7FK4vqAjXKnuJIhiCwCrYU51jeo28C80jtK9TJ6Ef/PGu7i1F7TUJXuvsSWb6UDXkm+I+FWax6kyT8oWuVnuwLQbnOR0m9Zg45dLlcDDA/fiiKMyOSR/CMHgpWa+MmUSJdyOuc x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI;SCL:-1;SFV:NSPM;SFS:(10009020)(366004)(346002)(376002)(39860400002)(13464003)(24454002)(189003)(199004)(102836003)(3846002)(9686003)(6116002)(72206003)(316002)(2900100001)(5660300001)(2950100002)(229853002)(6916009)(14454004)(101416001)(99286004)(478600001)(8936002)(53936002)(93886005)(106356001)(105586002)(25786009)(7696005)(68736007)(107886003)(33656002)(6436002)(80792005)(8676002)(81156014)(81166006)(305945005)(53546010)(66066001)(74316002)(76176011)(7736002)(86362001)(77096006)(3660700001)(4326008)(6246003)(54906003)(97736004)(55016002)(2906002)(3280700002)(6506006)(217873001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0201MB1008;H:BY2PR0201MB1879.namprd02.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; x-ms-office365-filtering-correlation-id: a0884c88-f8b1-475b-d691-08d53c6c742d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(48565401081)(2017052603286);SRVR:DM2PR0201MB1008; x-ms-traffictypediagnostic: DM2PR0201MB1008: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(9452136761055)(192813158149592); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(3231022)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(20161123562025)(20161123564025)(6072148)(201708071742011);SRVR:DM2PR0201MB1008;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:DM2PR0201MB1008; x-forefront-prvs: 05134F8B4F spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0884c88-f8b1-475b-d691-08d53c6c742d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2017 05:44:44.3432 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0201MB1008 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by nfs id vB65iuQD014360 Content-Length: 2669 Lines: 44 Hi Arnd, Replies inline. -----Original Message----- From: arndbergmann@gmail.com [mailto:arndbergmann@gmail.com] On Behalf Of Arnd Bergmann Sent: Tuesday, December 05, 2017 5:32 AM To: Dhaval Rajeshbhai Shah Cc: gregkh ; Linux Kernel Mailing List ; Michal Simek ; Hyun Kwon Subject: Re: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU logicoreIP init driver On Tue, Dec 5, 2017 at 1:38 PM, Dhaval Rajeshbhai Shah wrote: > From: arndbergmann@gmail.com [mailto:arndbergmann@gmail.com] On Behalf > Of Arnd Bergmann > Sent: Tuesday, December 05, 2017 4:19 AM > To: Dhaval Rajeshbhai Shah > Cc: gregkh ; Linux Kernel Mailing List > ; Michal Simek > ; Hyun Kwon ; Dhaval > Rajeshbhai Shah > Subject: Re: [PATCH] [linux][master][v1] misc: Add Xilinx ZYNQMP VCU > logicoreIP init driver > > On Tue, Dec 5, 2017 at 12:43 PM, Dhaval Shah wrote: >> Xilinx ZYNQMP VCU Init driver is based on the new LogiCoreIP design >> created. This driver will provide the api which can be used by the >> encoder and decoder driver to get the configured value. >> >> Signed-off-by: Dhaval Shah > > Can you explain what a "VCU" is and why there is no existing subsystem for it? > > [Dhaval] : This VCU means Video codec unit. Here, this driver is for the logicoreIP and not the VCU which is created to support the PS and PL isolation and to provide the clock related information. So this is not a VCU driver and but just a intermediate driver which supports logicoreIP. That's why no subsystem for this. What are PS and PL then? [Dhaval ] : PS is the Processing system. PL is the Programmable logic. There are few register in the logicoreIP which provides the isolation between this two in the chip. > If this is the "video codec unit", I'd suggest moving it to drivers/media/platform and sending the patch to the linux-media@vger.kernel.org list instead. > [Dhaval] : This is not the Video codec unit but the driver to provide the support the IP created for the PS and PL isolation and clock related information. That why I have placed this under the "drivers/misc/". Is the driver useful without a codec driver then? (I assume this will be answered when you explain PS and PL). If not, just put it in the same directory as the codec. [Dhaval ] : Yes. Driver is useful without a codec driver as well. No dependency on the Codec driver. Arnd