Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp487603lqi; Thu, 7 Mar 2024 03:18:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVk4i00DQ7F/TqHjHhypQr9zF5AyAwVPq84Eo+7gJf9vr+D4tSwnW+4Xcmlb7fulj9MIhfFxizGTbTY4JrBZW4ghTgvH7GaejiwgJnTVg== X-Google-Smtp-Source: AGHT+IFu1N/zpGvf9tNyxUG8QoMNh56/nxSjecLXPOTAe8rlrgUG/QIGvf7IMafmgT51hTcgf6Nc X-Received: by 2002:a17:906:81cc:b0:a45:345a:1a9d with SMTP id e12-20020a17090681cc00b00a45345a1a9dmr7810065ejx.62.1709810326423; Thu, 07 Mar 2024 03:18:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709810326; cv=pass; d=google.com; s=arc-20160816; b=qvPDf8ytDLshiQavpCj3M0NkTcz0uH72IHCaR+mUEel6Z5ecuFHrEVp1+TaLeVQqyG gP8yokJgJa1WRY1Rk88V3I1aJ9EAuq828t+oyjJTZ7fP1VsGacY2SpRaeOl0ToEHlxTF WRQseMQCVG+WSO+b0WJ8cZh1A7CCavQ1juCFMaUATCOUiHRT5VFyD5b/4Fsym5+MLKJe HxutXFJJo0P4yr4Tx3DqJ7Y3Tez7ERWCyCHp2XJXAfO+pJgzFuF/8UAa0vb7zcWuV0Tq ARwn5cuO/Ivkcs5TMsRAgmfILTFI2oWu+qCO29lJtV9Fu2eVqAvzm8+GvA3EUrhXvwSn GQ4A== 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=REV+xe3xtp7QuAEBXkfSgxdo658uyDjHxqKWCT8IRrg=; fh=lDxxb3kFrUjCmXIqhLRIk5eBCIRgGrGJbqrQU1vi73Y=; b=ZBT1VnSW6YTNw8iZKVqwrdRm4plFrqPJAawAdnfptRIDQuH30MgFoZQ+m72q6eJc6o KZ0TAtG5p70IEatIZYL3zD5u7c2S7RUiJV5q1Bg9BZRvSbCwtcfL08FlciRjF1IufnpN iVf8Xgmkz0FMSK+zAw362M1bRjep/nAhAVzXqysQLOIXqFeRF+N8nFLXv9R63avGvnnW vtk5LANjCu8q4/JvQ9MYDcYQnYS/hq05pI6XCh8sNO8kOhUjCuX6pOXV6NXhuK2gXNxG 9voscIQH0jOnYCQfwK46zTeoa+K7BP6sm1wy/UvvncN1zdQxfvVXI+rdleyJDGDKRqi9 opEw==; 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-95402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95402-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hv15-20020a17090760cf00b00a44f3da6386si4725942ejc.445.2024.03.07.03.18.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 03:18:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gpxsee.org); spf=pass (google.com: domain of linux-kernel+bounces-95402-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95402-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2B5351F24609 for ; Thu, 7 Mar 2024 11:18:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5D7F71292DE; Thu, 7 Mar 2024 11:18:34 +0000 (UTC) Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5FF5A126F39; Thu, 7 Mar 2024 11:18:31 +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=1709810313; cv=none; b=k2L0jKCiUWHqQBgcx/0gON3WB+PPlVpVatM5xRRMQgf/FAzIfRQ8pHylYQQ9KfuyeV28lflPCMalyvGhENxreqGBv321XFui/W+pm9/O7bQmXb/nr/5z1Mtquy0YJ9LcXijWWa6sCha1hSfpPe2tBJvv7iLg65A6l38BpAgFDCc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709810313; c=relaxed/simple; bh=aEMdaw+FdJ5XiHb4gvJSi2VE3ixTC3PMFF5KDiB8Vsc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=P6AKjXD630DkTbvyTXH/dlj47upZ9+Y3R2oc1ay9zjWMUBQKgppZhqRBSTn7mEmYfShjYhC8j93Md2MaymrgxEhvKgQEQ8Ii21AbaxfcjwS6eXNl3k4XDFbmmUuN9kyq6qLzNMwjoZyYMpWzNMEkAXtkp1YFLCo1XEjR/2lF+WI= 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 B56594BC55; Thu, 7 Mar 2024 12:18:23 +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 v2 0/2] media: mgb4: YUV and variable framerate support Date: Thu, 7 Mar 2024 13:18:20 +0100 Message-ID: <20240307121822.1852-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. Changes in V2: - Added missing stride limit 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 | 205 ++++++++++++--- drivers/media/pci/mgb4/mgb4_vin.h | 3 +- drivers/media/pci/mgb4/mgb4_vout.c | 322 ++++++++++++++++++++--- drivers/media/pci/mgb4/mgb4_vout.h | 5 +- 9 files changed, 504 insertions(+), 80 deletions(-) base-commit: 65e6a2773d655172143cc0b927cdc89549842895 -- 2.44.0