Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp379221lqs; Tue, 5 Mar 2024 05:05:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVI83GjJmBV9Q8FhyXLoaKZx+IMt4EcED8NEBAolzwC50UVkYmMEbAetRh/VrT6t1qkOXNoDlltJidJS2aZppL2rn2YJqBsDkv91jNmtw== X-Google-Smtp-Source: AGHT+IGSHLT0gWk67JoBzBnygSYeSqDkbjZY7+6z06hsIRzWcnFq6201s6R+6AlUJTDvFWR4Pc6t X-Received: by 2002:a17:90a:6f45:b0:29a:72b:df85 with SMTP id d63-20020a17090a6f4500b0029a072bdf85mr3214963pjk.7.1709643911027; Tue, 05 Mar 2024 05:05:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709643911; cv=pass; d=google.com; s=arc-20160816; b=zWNaMRLwpbREaix59NTW+dSk0pQiM/ELTnBZ1USbTWRPVyqcjrTS+IuN3rsqBOIHk6 3hl/cA33KsjtZkLRuH170eW6J6bYPYh82JMG8+M1fu8kGLFsA+eUaTgejTmGW6lo973H 308VzAjR2PVlZ9CcxGm1YuaNh4SWk+2JXK4f+ryHpxxyshrqsXJFcncJNdz+fQpa/+ec ibLHrPFv293S/guQt8XnuLnTdguzdTxCxdRRvrfH3xXH01LNJoxwZSZEZpwihrJEfRP/ PKaJi8vfBuTjt4Zutkas5mwcBumPJRLxbCaFxxnQYo20PBKyViOklOAbytBsa0kSWJiH U58A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=KvdtB+zTALRjrz2W+JkYtvPcQ8a7TmbrfceZmFdBrT4=; fh=lDxxb3kFrUjCmXIqhLRIk5eBCIRgGrGJbqrQU1vi73Y=; b=JZseUsrgFgsfDjcRlVUbYDAjevDmpKQKCLFA2kmJPsuCDYwVbcJBuf8ZIIdtPgaqNd kEe6INRCRa37pMmtI4wpzoAZgCSPmjDFR6RcfTs8oI5t4itQJO+ujy1U6V4OgYZjmvpx ulfEp6cJpoKVIMR1lsr6mHlWkL5DcInmN5sNxyf/PexKjspGf5ikuSfGyrPfS7Zqe1hd 85UUcedeqS9DwDvg6MqXJeJkJibset8+W/zXbQ79iKV2stoUIDIPJq5wk38vr87dj8+U whR4gAmCpK7b+nzKVypUiZQCzt1qHsv9pC2Rgp7l25NHZAwvT3BnSMyAXm4jhdtXMwhg LrqQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gpxsee.org); spf=pass (google.com: domain of linux-kernel+bounces-92405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92405-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id me9-20020a17090b17c900b0029b6c0b9c44si460790pjb.1.2024.03.05.05.05.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 05:05:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gpxsee.org); spf=pass (google.com: domain of linux-kernel+bounces-92405-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92405-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4C6D0283345 for ; Tue, 5 Mar 2024 13:05:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A7DD8595B; Tue, 5 Mar 2024 13:05:00 +0000 (UTC) Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EAED85920; Tue, 5 Mar 2024 13:04:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=37.205.14.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709643899; cv=none; b=dMxwc7XYeX2/KTaj2f3uf/48rwrMYvdiqagrUIK0hZ5eTr+WC921C4gmNSteryq1Sak0efTNG59zWMEDhMnitmh4on4h4paA8TO3CqtI+aT1Wu/t+twTKj5U7bW9A4XwBM6ln4KPLx7zfdYF2vazeMkea3xxEJjPSa+nu1CUeps= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709643899; c=relaxed/simple; bh=+f5WPj+Hs8JDeSBI7bZCvVcopKa+wIJUqwzofqncSOE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=jt7Y2ZZJtLRrB9cadvu1vsPeVXCpoAPKiFJTub/AQLW11W696vgTLg+1ApaucO5W5Vyv9yGpRFzGhYBeKxZ/xTzhM0EYc7fcdM7LkyTJtJaYdToJvrB2P4X92/BqHr3TKwX6I0zPejffHuwVNtpOW+VKy9vQuWVwk+OtZwJ5USM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gpxsee.org; spf=pass smtp.mailfrom=gpxsee.org; arc=none smtp.client-ip=37.205.14.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gpxsee.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gpxsee.org Received: from mgb4.digiteq.red (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id E43F045DF1; Tue, 5 Mar 2024 13:55:19 +0100 (CET) From: tumic@gpxsee.org To: Mauro Carvalho Chehab Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Martin=20T=C5=AFma?= Subject: [PATCH 0/2] media: mgb4: YUV and variable framerate support Date: Tue, 5 Mar 2024 14:54:08 +0100 Message-ID: <20240305135410.54694-1-tumic@gpxsee.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Martin Tůma Recent mgb4 FW update added support for the YUV image format and variable framerates independent of the signal framerate. The following patches extend the mgb4 driver with support for both features. Martin Tůma (2): media: mgb4: Add support for YUV image formats media: mgb4: Add support for V4L2_CAP_TIMEPERFRAME Documentation/admin-guide/media/mgb4.rst | 8 +- drivers/media/pci/mgb4/mgb4_core.c | 2 +- drivers/media/pci/mgb4/mgb4_core.h | 2 + drivers/media/pci/mgb4/mgb4_io.h | 28 +- drivers/media/pci/mgb4/mgb4_sysfs_out.c | 9 +- drivers/media/pci/mgb4/mgb4_vin.c | 198 +++++++++++--- drivers/media/pci/mgb4/mgb4_vin.h | 3 +- drivers/media/pci/mgb4/mgb4_vout.c | 316 ++++++++++++++++++++--- drivers/media/pci/mgb4/mgb4_vout.h | 5 +- 9 files changed, 491 insertions(+), 80 deletions(-) base-commit: 65e6a2773d655172143cc0b927cdc89549842895 -- 2.44.0