From patchwork Thu Aug 29 09:21:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 823766 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77EF818CC18 for ; Thu, 29 Aug 2024 09:23:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724923408; cv=none; b=qw2PfKK3jE9M7MHWiMpIyZ80LB+JILEwfR/G0al45Jt1knYz3xatBSk52ZSZem3EIG9ORJSmaOam/0L0J3Ap/fHS5uzALBwFZwMf+/DhG2Lb5+nLn2QWS5UxNP6q6PujY1ZQNegkm8TUj169FWfu407FdkITg3f8tEWrM+8ZuKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724923408; c=relaxed/simple; bh=21DfWFG1OLpDMw0d4jBnDJoi9K+S7qg8y9KMO7zwhdE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fRaMPHYhB5OZ4T5AoAMVMjpL9kA92qAE1na/JFNjg5VCpt35REiiI+ufQSPbUwmFHkEyEh632XnXu3siGUUvibLBCVisQF2b26duUkgJpcAeVsUgXrXhQ/uy/H/NWOhvooezBPTyqwwlMPr02Gjk3OTYZAHF4/onCnhLq8SuczY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66473C4CEC2; Thu, 29 Aug 2024 09:23:27 +0000 (UTC) From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Erling Ljunggren , Hans Verkuil Subject: [PATCHv2 1/3] videodev2.h: add CAP_EDID (DO NOT COMMIT) Date: Thu, 29 Aug 2024 11:21:40 +0200 Message-ID: <38c1b4818233dda5a20d37faf90e0a68f1a0f532.1724923302.git.hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Add capability flag to indicate that the device is an EDID-only device. Signed-off-by: Hans Verkuil --- include/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index f18a40d4..dab68c8d 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -475,6 +475,7 @@ struct v4l2_capability { #define V4L2_CAP_META_CAPTURE 0x00800000 /* Is a metadata capture device */ #define V4L2_CAP_READWRITE 0x01000000 /* read/write systemcalls */ +#define V4L2_CAP_EDID 0x02000000 /* Is an EDID-only device */ #define V4L2_CAP_STREAMING 0x04000000 /* streaming I/O ioctls */ #define V4L2_CAP_META_OUTPUT 0x08000000 /* Is a metadata output device */