From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) (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 0D49A32D0D4 for ; Fri, 6 Feb 2026 13:13:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770383617; cv=none; b=i1CkaTxqrfajozvNIoE+8E0nQTuK7/X/fWeEjEdQhpCIDYNyYFO4S29/uh+eh6+V6i/NH5ilUjPDMNRSkTT9KncGHBOLeQATalMU4iybapLUsSYnIejmJF+QLd5WZkHpQtjq4bWhoM6cXBQLP+OPdfyjJhDILUxuMyBStBeWNG0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770383617; c=relaxed/simple; bh=o5cCOFuvTO15y/C13IyG4UU4VQKNcku4BAmJLHOBeC8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=OWfNyEQ5dQI5dKelPNp2HBj+cxj5EbAU88Ny8lzvgrljYTdzJrOWHnuNVdVUbbkRKdTSiyHPtIj3q8bXa0Fe9jF9uHpgH5BEfEhWDuq6FnB0vAdkz15ETrozD0OIa34IWHmFtPIRdvZCg6EfcFymoZQ4PlWpPuBzSYkeUArXUS0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=iPPrbQeX; arc=none smtp.client-ip=198.175.65.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iPPrbQeX" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770383617; x=1801919617; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o5cCOFuvTO15y/C13IyG4UU4VQKNcku4BAmJLHOBeC8=; b=iPPrbQeXQFzPbCoYSJldnOE/OReuAzLpUlfon90o0zn6MKH492U+hunT GhuGeWVKdJJyw84hesI2UysHw21lsnLk9ZvqZmjYtF9o6oND6xwQv4VQu gaHYrKfOJiVr8e12Sk9xmwlNFM1WfOSqgs9Sv90Bnu88vHJeQIusnEwt3 2eWBNJnpsJIf7H2ag81koU1Qcjis6aivk+u6LnAuyjIpwU5di7Blfhxeq 3zJKfzF3TzqGEnsx2VRuwOLbhqwBEkLoFeoJyaJQeB2pAUtyWXNt1fUnQ OWx+defjirabyfPjFUx2IwBGoNB7bTUsgl4NtT9gToj22F/1h1i8kvvm3 A==; X-CSE-ConnectionGUID: ss+g5DCyQhGUFv9nDUqQbg== X-CSE-MsgGUID: Yehjr35jTiaL1anOG6740A== X-IronPort-AV: E=McAfee;i="6800,10657,11693"; a="75441122" X-IronPort-AV: E=Sophos;i="6.21,276,1763452800"; d="scan'208";a="75441122" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2026 05:13:35 -0800 X-CSE-ConnectionGUID: fd1i+TNhTMazSv4XGlqKCg== X-CSE-MsgGUID: j4Gm56EZTXGeE3uYw8l7wg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,276,1763452800"; d="scan'208";a="215391199" Received: from vpanait-mobl.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.244.219]) by orviesa004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2026 05:13:30 -0800 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 6AA54121DA8; Fri, 06 Feb 2026 15:13:40 +0200 (EET) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1voLeL-00000005TsG-18D1; Fri, 06 Feb 2026 15:13:29 +0200 Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo From: Sakari Ailus To: linux-media@vger.kernel.org Cc: hans@jjverkuil.nl, laurent.pinchart@ideasonboard.com, Prabhakar , Kate Hsuan , Alexander Shiyan , Dave Stevenson , Tommaso Merciai , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck , "Yan, Dongcheng" , "Cao, Bingbu" , "Qiu, Tian Shu" , Stefan Klug , Mirela Rabulea , =?UTF-8?q?Andr=C3=A9=20Apitzsch?= , Heimir Thor Sverrisson , Kieran Bingham , Mehdi Djait , Ricardo Ribalda Delgado , Hans de Goede , Jacopo Mondi , Tomi Valkeinen , David Plowman , "Yu, Ong Hock" , "Ng, Khai Wen" Subject: [PATCH 04/13] media: Documentation: Improve pixel rate calculation documentation Date: Fri, 6 Feb 2026 15:13:21 +0200 Message-ID: <20260206131329.1306429-5-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260206131329.1306429-1-sakari.ailus@linux.intel.com> References: <20260206131329.1306429-1-sakari.ailus@linux.intel.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Improve documentation on calculating the pixel rate, by adding references to relevant functions and mentioning V4L2 fwnode endpoint instead of OF endpoint. Signed-off-by: Sakari Ailus --- Documentation/driver-api/media/tx-rx.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/driver-api/media/tx-rx.rst b/Documentation/driver-api/media/tx-rx.rst index 7df2407817b3..9b231fa0216a 100644 --- a/Documentation/driver-api/media/tx-rx.rst +++ b/Documentation/driver-api/media/tx-rx.rst @@ -104,7 +104,11 @@ where * - k - 16 for D-PHY and 7 for C-PHY. -Information on whether D-PHY or C-PHY is used, and the value of ``nr_of_lanes``, can be obtained from the OF endpoint configuration. +Information on whether D-PHY or C-PHY is used as well as the value of +``nr_of_lanes`` can be obtained from the V4L2 endpoint configuration; see +:c:func:`v4l2_fwnode_endpoint_alloc_parse()`, +:c:func:`v4l2_fwnode_endpoint_parse()` and +:c:func:`v4l2_get_active_data_lanes()`. .. note:: -- 2.47.3