From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (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 11C60342C8B for ; Thu, 9 Apr 2026 20:15:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775765733; cv=none; b=GbfxAanPkxNoMf7h0dLcXJLlveqnGadZ54fKTJ2LOQky+YgFGHxJCPzroi24K4hsCyb7lNZbdBKnx11BY9J76FYtcuRBhrqisG89Oqm/HP+cecnnofBlrCZSs5/cgjHvJfZh7UEYubsJ3taFhmxfEEMCjHGkpo0vJc5F0zqJEgo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775765733; c=relaxed/simple; bh=k1NrOMfI2tzAZDAZ+YBnxP3sziYL4HgAp4wFMtJRmZ4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VlWJCf/ew1v7fKKs8hDksbLG4IkMsdHVIilK1BMaf7PQyJLBH9biMgEk0/afuDbJow1Dnplvu60tGwz+0vchNv4eOnmhPJi3lI5P8HulxU2VqwFQvhBmNbOXpWEr/vH6lm3Dh70klr8gD1HiSzGq5+1X2mogD/q4lDggZd4yYco= 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=V+32KBtn; arc=none smtp.client-ip=192.198.163.11 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="V+32KBtn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775765732; x=1807301732; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=k1NrOMfI2tzAZDAZ+YBnxP3sziYL4HgAp4wFMtJRmZ4=; b=V+32KBtngVI9GD89FWS58wYsRXajIyXBTx4IOdjOssuKMRmAEA06aGIZ Vg5lkuZLXhgvM+MRtcDil/Mw6Vy2dh/y02klVYsY8HcOhlKpCwlbTOuAC ykvGU0sfcUbTGbH0UcAXRrAxPpx8lMkxQ2Je0D1EhZcZNIXmYFVANPTN6 Vw4giCbC2Obc1llIT5m8rp1FLIZ7dyniq7Xr6EmeWg7L/mLw7N89HW9sU axcrn8QVf8de4X/Enmb7/IGsGcgQMGsW+ugTWELOupXSIKCSPBXFdpa+Z nD/bGoF9UwNIWnTNVdHb/HRtAbSSgZo3hcJIRhaWcp3ZtnsEQJuWLB9YX g==; X-CSE-ConnectionGUID: J+mvV2apT120N37f3oc7zA== X-CSE-MsgGUID: Parkw2KaTdOPsWvfnDpM6A== X-IronPort-AV: E=McAfee;i="6800,10657,11754"; a="87409119" X-IronPort-AV: E=Sophos;i="6.23,170,1770624000"; d="scan'208";a="87409119" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:15:18 -0700 X-CSE-ConnectionGUID: ++emIfYqRTuBaWowOBrZ6w== X-CSE-MsgGUID: xxpy2efGQziLHTyYwef/EA== X-ExtLoop1: 1 Received: from dalessan-mobl3.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.244.29]) by fmviesa003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:15:11 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 64C281226B4; Thu, 09 Apr 2026 23:15:13 +0300 (EEST) Received: from sailus by punajuuri.localdomain with local (Exim 4.98.2) (envelope-from ) id 1wAvmH-000000045ld-3V3w; Thu, 09 Apr 2026 23:15:01 +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 , 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 v12 15/86] media: Documentation: Document non-CCS use of CCS embedded data layout Date: Thu, 9 Apr 2026 23:13:50 +0300 Message-ID: <20260409201501.975242-16-sakari.ailus@linux.intel.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20260409201501.975242-1-sakari.ailus@linux.intel.com> References: <20260409201501.975242-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 The CCS embedded data layout has multiple aspects (packing, encoding and the rest, including register addresses and semantics). Explicitly allow non-compliant embedded data to use the two former to reduce redundant documentation. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart --- .../userspace-api/media/drivers/camera-sensor.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/userspace-api/media/drivers/camera-sensor.rst b/Documentation/userspace-api/media/drivers/camera-sensor.rst index 87f86a2f6cc5..88d8c5c04e54 100644 --- a/Documentation/userspace-api/media/drivers/camera-sensor.rst +++ b/Documentation/userspace-api/media/drivers/camera-sensor.rst @@ -136,3 +136,16 @@ via the ``VIDIOC_SUBDEV_S_ROUTING`` IOCTL. In general, changing the embedded data layout from the driver-configured values is not supported. The width of the metadata is device-specific and equal to or less than the width of the image data, as configured on the pixel data stream. + +CCS and non-CCS embedded data layout +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Embedded data which is fully compliant with CCS definitions uses :ref:`CCS +embedded data layout ` (level 3) for :ref:`the +metadata layout control `. Device-specific +embedded data compliant with either MIPI CCS embedded data levels 1 or 2 only +shall not use CCS embedded data value ``V4L2_METADATA_LAYOUT_CCS`` for metadata +layout, but may refer to CCS embedded data documentation with the level of +conformance specified and omit documenting these aspects of the layout. The rest +of the device-specific embedded data layout is documented in the context of the +data layout itself. -- 2.47.3