Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp297930lqt; Mon, 18 Mar 2024 08:10:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6xhhEH/vaK0n7IjODxJXXr43N04+HMykChcqVV6oYYpbf3ODt68ZIBRB28QQO1StrmPjcdLMciph4mBs4/Q047owWZOBfokg6Bo+fEA== X-Google-Smtp-Source: AGHT+IEiHuJAopx3xvm42s0KVyUnZETLTTbvh20HT3DqrrEen/Mf6ieckD1BN3WHgh/yEokYpwI6 X-Received: by 2002:a17:903:189:b0:1e0:3b5b:ed5 with SMTP id z9-20020a170903018900b001e03b5b0ed5mr777727plg.56.1710774611539; Mon, 18 Mar 2024 08:10:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710774611; cv=pass; d=google.com; s=arc-20160816; b=mOVySmqlPsPLWGH1V6TzeS2PfPOX1fw9w2+1vvihwQ/qkUofUaiJD5AIiQA1Ey9A5K Ax2KqGLLZXLJmUZVo5z68TbQ5fxXYq3j+WP7SfRzRTl1szuk9JCVxk8N4/gHD3lvGQ/d 9w0osDEppVB7SATLTlI6Poi9ShZSuHzSWHjRY1tA0A0slo1Z1aoTmYiKYKpNmUaAVYvG 619Y7feb2YsSGHJBB6rxnxqOro+5BVUPJXHc3+JXQWwohk3vx7rMmamps0SXk7leWT+v /3Xn9YocNrNFZrR6LgMmr6R14Zyi4C9wU58lK5YAL0t/bEyZyFoeZT3ocvGq0mTV5/Nk GrRA== 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=6hpkV1uhgx20bSlyswDNJf+cL5uyoXbZYc7jZuRmgfE=; fh=NcJMVFNaR8bzRgLN6H4coLXdbR1fdwxxAYxDB/lPPz0=; b=KaluhSaMY8st7trrcXKbUiCRtXxIxYaUT2iBm4MDoSO1+gwIcCMVsgCK+S88G75eue 5PPhSY07vWucXtxFlH4lA3xxwGm6TvUB5yn3FkzXfKjKJFRfCXj3LqOmeHXY8kVjikmg lPu76yJ1LtiWbiuVHYfrd7CPUxwBVQLjN6HaHzt3IXoQjxzbWMM4ybE6D7pRM4AkABWo 8X+kJO8aQQEJsSdC7naRF5akjKWkrrflQEp+iX7YEE6siYOE68Gv91466HbbDg8Zk/Rh HsKj0JYd0z6tpeesXRJqgwV8dw3Spq8W+pcBTq9hXei9e73UoRgtNzMCORq6B+Fs7oeZ AZhA==; 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-106274-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106274-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id c16-20020a170902d49000b001e039a37289si484687plg.613.2024.03.18.08.10.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:10:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106274-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gpxsee.org); spf=pass (google.com: domain of linux-kernel+bounces-106274-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106274-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 3BA212817AA for ; Mon, 18 Mar 2024 15:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F1894F8A2; Mon, 18 Mar 2024 15:09:43 +0000 (UTC) Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 617064F1EB; Mon, 18 Mar 2024 15:09:38 +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=1710774583; cv=none; b=VJkRHCHxieTuP+mPChrgrR05X7yBbf00fpduBCn68wzQKOFmboeyQDGMjlqeYWd9x3uRxAq5VJFsg2FOqC1gGOZOzwNFYt8ZSSMgfquU4Uz6QCEP0zeARQ4z7JJyM98IA7SU+XcLYQ8P/td4y4vRprXKb9yEK7uMv7C6ooj1MNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710774583; c=relaxed/simple; bh=FipI5WsNECJeOw6c7DF39GapkTYB24oPG38+PzmCmUo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=o13HcvXzzJwBgIGpJlv07tDTrT47GgK/2mzOe8+TJrHEf4uRF8WLH00cmrC95GE7xrBXnJFEkF8vQ3hXZX/FVukGjj7C3fxZZRMGm/fCrB7SvQ2+SoSBKIZ6RDt0KH5I58eA5EP+ePEISfcgSl8HtzBgIScpZkfweK1X7h2q6kk= 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 13E7853CF0; Mon, 18 Mar 2024 16:09:32 +0100 (CET) From: tumic@gpxsee.org To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Martin=20T=C5=AFma?= Subject: [PATCH] media: admin-guide: Fix mgb4 driver documentation structure Date: Mon, 18 Mar 2024 17:09:19 +0100 Message-ID: <20240318160919.6144-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 Fix the mgb4 driver documentation structure that breaks the "Video4Linux (V4L) driver-specific documentation" outline. Signed-off-by: Martin Tůma --- Documentation/admin-guide/media/mgb4.rst | 35 ++++++++++-------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/Documentation/admin-guide/media/mgb4.rst b/Documentation/admin-guide/media/mgb4.rst index 2977f74d7e26..e434d4a9eeb3 100644 --- a/Documentation/admin-guide/media/mgb4.rst +++ b/Documentation/admin-guide/media/mgb4.rst @@ -1,8 +1,10 @@ .. SPDX-License-Identifier: GPL-2.0 -==================== -mgb4 sysfs interface -==================== +The mgb4 driver +=============== + +sysfs interface +--------------- The mgb4 driver provides a sysfs interface, that is used to configure video stream related parameters (some of them must be set properly before the v4l2 @@ -12,9 +14,8 @@ There are two types of parameters - global / PCI card related, found under ``/sys/class/video4linux/videoX/device`` and module specific found under ``/sys/class/video4linux/videoX``. - Global (PCI card) parameters -============================ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **module_type** (R): Module type. @@ -42,9 +43,8 @@ Global (PCI card) parameters where each component is a 8b number. - Common FPDL3/GMSL input parameters -================================== +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **input_id** (R): Input number ID, zero based. @@ -190,9 +190,8 @@ Common FPDL3/GMSL input parameters *Note: This parameter can not be changed while the input v4l2 device is open.* - Common FPDL3/GMSL output parameters -=================================== +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **output_id** (R): Output number ID, zero based. @@ -282,9 +281,8 @@ Common FPDL3/GMSL output parameters Number of video lines between the end of the last valid pixel line (marked by DE=1) and assertion of the VSYNC signal. The default value is 2. - FPDL3 specific input parameters -=============================== +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **fpdl3_input_width** (RW): Number of deserializer input lines. @@ -294,7 +292,7 @@ FPDL3 specific input parameters | 2 - dual FPDL3 specific output parameters -================================ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **fpdl3_output_width** (RW): Number of serializer output lines. @@ -304,7 +302,7 @@ FPDL3 specific output parameters | 2 - dual GMSL specific input parameters -============================== +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ **gmsl_mode** (RW): GMSL speed mode. @@ -328,10 +326,8 @@ GMSL specific input parameters | 0 - disabled | 1 - enabled (default) - -==================== -mgb4 mtd partitions -==================== +MTD partitions +-------------- The mgb4 driver creates a MTD device with two partitions: - mgb4-fw.X - FPGA firmware. @@ -344,9 +340,8 @@ also have a third partition named *mgb4-flash* available in the system. This partition represents the whole, unpartitioned, card's FLASH memory and one should not fiddle with it... -==================== -mgb4 iio (triggers) -==================== +IIO (triggers) +-------------- The mgb4 driver creates an Industrial I/O (IIO) device that provides trigger and signal level status capability. The following scan elements are available: base-commit: b14257abe7057def6127f6fb2f14f9adc8acabdb -- 2.44.0