Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp864813rwd; Thu, 8 Jun 2023 08:44:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4Xm30QyH0i5Sp7yZ99Evxero++DZioVKtkB8dDobYOPnqFGDE3WVSTfK0s2M76zs7XrxvB X-Received: by 2002:a17:902:ecc6:b0:1b2:fe19:c95b with SMTP id a6-20020a170902ecc600b001b2fe19c95bmr2506538plh.63.1686239079716; Thu, 08 Jun 2023 08:44:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686239079; cv=none; d=google.com; s=arc-20160816; b=tjxX9WcFvXr+xFofau4/XhA39vJI1jD4YXo4LweEU2IBoQp/wLhOEQ5WyIODvcxXMX 6ogyP+KG06xgWDml51GeBdImpPTboRveTajXSzoangCha+8fS+SJw3XbC7OtJTtcXnnQ qBy6wX4mJ4bedVGfXvVKqp5d3bMLT+YTsv21SFctX74NxB3YTad4kRKYOHOBNt0QezWg XPFQ4LgjhthsmalWDa/Y9r0mUpSeVRMj/TtV7U0QCkSY3v75LbTrRrVURM73O6VecUaX rjQY+Ynn7nl7FE1gXwSlvAbr59ta3vPMGSe0RHAxnpQgwHFFmCQEm53xOQtvF/0KAXlB pZzw== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=67KQUF5yLbYq+5eqeUgRXPDOvIEe76cKaLPbleAosd0=; b=RroRE80gr39aWory71B4TxLHzQFD8Nj+1zw3C93gUjFu7bqArIvwv3UVyGgmW3us7p QQji8795H4und2JNz4pFknRuSCh+bJTCsuShgTbh8OXfdErMWiD/IVJkOGLioo3l6WMY 8+0ZkTHxMwVQsLK+KvzfENeDlPfV9/CMEPJB/2dfhyz0dCCrQbukShDt5YmZ4yq4udwy Vli9bskh5XT3wmx69mBtz/9dPz4rZdA/CqmjjL7CyMFboM874icxzHCYDAvWccYYMKAG SoA5gn0tb+W6Ddtuc+fbRw5gMHcTezkce3k29ECSKQrTyYq5wMaOgtmPklEJoXmS7XFi MzCw== 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 t3-20020a170902bc4300b001a6ade4c8c2si1201670plz.142.2023.06.08.08.44.25; Thu, 08 Jun 2023 08:44:39 -0700 (PDT) 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 S236555AbjFHPal (ORCPT + 99 others); Thu, 8 Jun 2023 11:30:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236372AbjFHPaj (ORCPT ); Thu, 8 Jun 2023 11:30:39 -0400 Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 43B941FE6; Thu, 8 Jun 2023 08:30:30 -0700 (PDT) Received: from [192.168.4.25] (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id 0AAB3A419; Thu, 8 Jun 2023 17:30:19 +0200 (CEST) Message-ID: Date: Thu, 8 Jun 2023 17:30:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [RESEND PATCH v6 1/1] Added Digiteq Automotive MGB4 driver Content-Language: en-US To: Hans Verkuil , Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?Q?Martin_T=c5=afma?= References: <20230524112126.2242-1-tumic@gpxsee.org> <20230524112126.2242-2-tumic@gpxsee.org> <3a7da3cd-8d03-a2c4-0534-a75565aefc13@xs4all.nl> <7072a8f3-5c9e-1170-e480-6fb57b95110f@gpxsee.org> <6b792de3-bb2c-d2b5-a652-eca6d20dad20@xs4all.nl> From: =?UTF-8?Q?Martin_T=c5=afma?= In-Reply-To: <6b792de3-bb2c-d2b5-a652-eca6d20dad20@xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_NONE,T_SCC_BODY_TEXT_LINE,T_SPF_HELO_TEMPERROR 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 08. 06. 23 12:23, Hans Verkuil wrote: > Can you make a list of which sysfs properties correspond to existing V4L2 > format or timing fields and which are 'new'? > On the left all the current mgb4 sysfs properties (see the admin-guide doc from the patch for description), on the right v4l2 structures where they could be mapped (may not be true for all of them in the patch, I will check it and update the code in v7) --- PCIE CARD --- module_type - module_version - fw_type - fw_version - serial_number - temperature hwmon --- INPUTS --- input_id - oldi_lane_width - color_mapping - link_status v4l2_input.status (V4L2_IN_ST_NO_SYNC) stream_status v4l2_input.status (V4L2_IN_ST_NO_SIGNAL) video_width v4l2_bt_timings.width video_height v4l2_bt_timings.height vsync_status v4l2_bt_timings.polarities hsync_status v4l2_bt_timings.polarities vsync_gap_length - hsync_gap_length - pclk_frequency v4l2_bt_timings.pixelclock hsync_width v4l2_bt_timings.hsync vsync_width v4l2_bt_timings.vsync hback_porch v4l2_bt_timings.hbackporch hfront_porch v4l2_bt_timings.hfrontporch vback_porch v4l2_bt_timings.vbackporch vfront_porch v4l2_bt_timings.vfrontporch frequency_range - alignment v4l2_pix_format.bytesperline fpdl3_input_width - gmsl_mode - gmsl_stream_id - gmsl_fec - --- OUTPUTS --- output_id - video_source - display_width v4l2_bt_timings.width display_height v4l2_bt_timings.height frame_rate v4l2_frmivalenum hsync_polarity v4l2_bt_timings.polarities vsync_polarity v4l2_bt_timings.polarities de_polarity - pclk_frequency v4l2_bt_timings.pixelclock hsync_width v4l2_bt_timings.hsync vsync_width v4l2_bt_timings.vsync vsync_width v4l2_bt_timings.vsync hback_porch v4l2_bt_timings.hbackporch hfront_porch v4l2_bt_timings.hfrontporch vback_porch v4l2_bt_timings.vbackporch vfront_porch v4l2_bt_timings.vfrontporch alignment v4l2_pix_format.bytesperline fpdl3_output_width - M.