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 F0DF940A944 for ; Fri, 7 Aug 2026 12:24:34 +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=1786105488; cv=none; b=l6eVAjpsIItsiAssWFXTuE2u1/wBUFTHzxNfG/7alY/huFSIbq70/J1Z75h02sheCAzC7AvHbU9TuFQf/geSM8BOhlkxl+BUnuJMKOO2vEEb8qyklQ2EVGu+AQCA86vAYPdUGDst34Kuxiv6sc/HibcwvzQmQUxLvkO4it5qH1Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786105488; c=relaxed/simple; bh=f7QtpHXroTWy/oihFtD3mbVvXDutMUGID4Ruv4QJsHU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=EvgbKNE/CzCYA55sANs5kDWpFPIOhzsI3ldYYEF6LS5MxrIzHlwMC0KhAdG7uWMFHjOxCLCn7jDM1aGBpZRyelPju267tvtQIJDBDTphqVyw1LWuDrWl2XiioXTr8HGeKtHfAloikRR0bmNLMYCKWsoypyBIdCrlrxt4rHVb8PA= 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=S/1igLZl; 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="S/1igLZl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1786105476; x=1817641476; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=f7QtpHXroTWy/oihFtD3mbVvXDutMUGID4Ruv4QJsHU=; b=S/1igLZl26HwUgNqf9ehReDCFSaa2qj080HfwpNozfVZXD6zBPq+8VaA 1n79n9GyXvJcM7QcEkzpP2BVTWHawaMRN4tApm1xQ+aNhip3FP7dG1C2t OPGTuXDhHld300WsNX6NZ1aBtf5kc8GL0PFwHyCnVA4jKkqhP6CTFbssh 3q5zWa2tdjcJ+MaFcbl3Tqn04vRPEM+0R7xtRQ0DKyzjuHTj5MBCOtlIB b94pP79BKYur65maiFG3WTOfuJ0H07QsvSTGSHqJmK0lgwjhCd6o7rwRa X349EGOYsN5Dwjf7S1239t0JwChIfMwLCJ2MhehqvUTm6R0bkX19qobyo g==; X-CSE-ConnectionGUID: owRZ6ihYRaSGBGyl8bxeXg== X-CSE-MsgGUID: ux51dc++Rn67bCb/rKXg/w== X-IronPort-AV: E=McAfee;i="6800,10657,11867"; a="90591900" X-IronPort-AV: E=Sophos;i="6.25,210,1779174000"; d="scan'208";a="90591900" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2026 05:24:29 -0700 X-CSE-ConnectionGUID: C6VrSHylQciKPOJxkIbglA== X-CSE-MsgGUID: G9vJtKl8TA6cMOZa5PByAA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,210,1779174000"; d="scan'208";a="259779636" Received: from ijarvine-desk1.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.245.179]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2026 05:24:23 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 8F242121CA7; Fri, 07 Aug 2026 15:24:20 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1wsJcP-00000000BvZ-2tW7; Fri, 07 Aug 2026 15:24:09 +0300 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 , Dave Stevenson , Tommaso Merciai , Benjamin Mugnier , Sylvain Petinot , Christophe JAILLET , Julien Massot , Naushir Patuck , "Yan, Dongcheng" , 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" , Jai Luthra , Rishikesh Donadkar Subject: [PATCH v7 01/14] media: Documentation: Improve pixel rate calculation documentation Date: Fri, 7 Aug 2026 15:23:56 +0300 Message-ID: <20260807122409.45807-2-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260807122409.45807-1-sakari.ailus@linux.intel.com> References: <20260807122409.45807-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 Reviewed-by: Mirela Rabulea Reviewed-by: Jacopo Mondi Reviewed-by: Laurent Pinchart --- 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