Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp2367737rwj; Mon, 19 Dec 2022 03:43:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQmTqPtGgALaDl9MBWJRMCLaDY+KqktBh82DMBfdiuQiK1GIh9Uz7BOZiQFwdO7PSJYZfi X-Received: by 2002:a17:902:9f97:b0:18d:4b59:cae5 with SMTP id g23-20020a1709029f9700b0018d4b59cae5mr7861437plq.49.1671450214651; Mon, 19 Dec 2022 03:43:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671450214; cv=none; d=google.com; s=arc-20160816; b=npbebVKi5G89pBMMsmWZHYnEgxLSNcJzEBqwOF9SkN4q7IeHRdi0LB471VyXJuu0vr j7+vFo0EwkHL+1LqswMtb6D1s3caI8iN8Mvae7IMyQvhHAj4H3Q7ibKTPMG91eewhgDN 3LiYKNzi7kFC3TkBVcgYuIkmtJx3kAvxQoz/Qei/wr60Z9jyUFJE8QYU+3uxkoMRqIom kG/N/oCf79l/ySdKiFEZgVNG58QSDDdvcbVSULNh0jY7QhMGogJKra8hUrOsM6JX6hq8 9wghrRqFf9P4x+wLQ5uVqjn1CjcGSkMTfgl+WGkubD7vToW4tHeID1dsQeXW5tn5tQ5H PPdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=FY9Urmztcf+y578rN0CW+DDub1wv7JLyWlN5tLgpGbM=; b=o5BjFGLRGAqFMJw/7FA+dvIsZWHOqGbEKbbCxssVHR1VCby7gUbkVeEX3cZNnDFPee k2zkpVEAg4WJOcARDLkNzmuKjESF4MnD4G3LhIchREeHXAodXePWEWgKGoK5thx+gmKe gH9ZHuaTqkNXEEObtiwhW7McoFIoF5UIixhQIA+/do/do75vNZRipQbAansd4zScPlQZ Wu//M4pqmoQTkeKBRwm77pVOvTXarzue+I6znSypC0WKzUhQZie1tQLqOdZppyJVSoTQ 7RII7GEk8d6wDvjHdDfjIem22s1spLVI/T/4Tq8zNDKqQYK1AsRD5gz5BXKaRTgPAEnG cRNA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020a170902e80600b0018981c83ffcsi11651186plg.4.2022.12.19.03.43.25; Mon, 19 Dec 2022 03:43:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231370AbiLSLLG (ORCPT + 70 others); Mon, 19 Dec 2022 06:11:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229957AbiLSLLA (ORCPT ); Mon, 19 Dec 2022 06:11:00 -0500 Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7DB7A5F73; Mon, 19 Dec 2022 03:10:52 -0800 (PST) Received: from [192.168.4.25] (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id 65E0B2EE4C; Mon, 19 Dec 2022 12:10:50 +0100 (CET) Message-ID: Date: Mon, 19 Dec 2022 12:10:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v4 0/1] Digiteq Automotive MGB4 driver To: Pavel Machek Cc: Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Lizhi Hou , =?UTF-8?Q?Martin_T=c5=afma?= References: <20221123140431.4730-1-tumic@gpxsee.org> Content-Language: en-US From: =?UTF-8?Q?Martin_T=c5=afma?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18. 12. 22 19:58, Pavel Machek wrote: > Hi! > >> From: Martin Tůma >> >> Hi, >> This patch adds a driver for the Digiteq Automotive MGB4 grabber card. >> MGB4 is a modular frame grabber PCIe card for automotive video interfaces >> (FPD-Link and GMSL for now). It is based on a Xilinx FPGA and uses their >> XDMA IP core for DMA transfers. Additionally, Xilinx I2C and SPI IP cores >> which already have drivers in linux are used in the design. >> >> The driver is a quite standard v4l2 driver, with one exception - there are >> a lot of sysfs options that may/must be set before opening the v4l2 device >> to adapt the card on a specific signal (see mgb4.rst for details) >> as the card must be able to work with various signal sources (or displays) >> that can not be auto-detected. > > Uff, that's "interesting". What kind of platform does this run on? You > should be getting non-probeable parameters from deice tree (or APCI). > > Best regards, > Pavel > Hi, It is a PCIe card, so it runs on any platform that supports PCIe cards. We do use the HW on x86_64 and arm platforms. The parameters are in no way connected to the platform where the card is used, they are properties of the video signal that can change arbitrary as you can connect different car infotainments (the signal source) to the card (the same applies to the outputs - the car displays). Usually, there is no auto-configuration on the signal level, that's why you have to provide the various properties externally according to the infotainment that you have at the moment connected to the card. Any kind of device tree or ACPI parameters make no sense for the HW/the intended usage. M.