From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 2B406340D9A for ; Thu, 9 Apr 2026 20:15:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775765732; cv=none; b=Y7hU65/icl6VtIRmKpQBl8E5R0KlYC83VkJimH7BXhvfUKMPfoXbBPkTuObcSrVltwdVdwWKPTVOtvJBuDS8sKrNUYncuCzUF/zla2rLRyhKWdOAeBO5zjxgmyzh2fOrF9yic2Ayln9aAIClRKmS0uXc6NNBOwu/yrRScKuaeag= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775765732; c=relaxed/simple; bh=kzE8X6kEuYodQd5rOAg9J+8eEtaa5fgRS2kW+LoeL98=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fr5PtrdI0zHC0xAM9cc9cjGQt8nsJ2EqwiLCaBXwHL03ag6gF/OIRaN5ipsjgjuPNVVihPSpubDoZsbPPJTyVzWcbTFsRuSP1LnpAzMJBuP4ybjN2qPEBZwGFua1lf19k9TnEABleYyF1Gp48rrLBGH2qRFySJV2dSLJdtn1OLY= 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=Uhris9ME; arc=none smtp.client-ip=198.175.65.10 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="Uhris9ME" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1775765731; x=1807301731; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kzE8X6kEuYodQd5rOAg9J+8eEtaa5fgRS2kW+LoeL98=; b=Uhris9MERzSTwmC/NS0GDPmU62PDWnRd4OzY9Lmx9EyhQsiac5B0yhxM jw3BuNDzWKFQgCUUpNMa2/Bd9uMYgghx2QfMtRI5eTnF+mPwC15d7rBD6 w54nnAu+Jig5riJzuJh6Or9epOiE6opAksHkDWMCSwFsG+XdMMoIReS8S Lh4YWBeabMKUDHRhgAkvYa5mAJUZfbl5Os9Rw9ZKRq+ak6SZxkZW71t2i VIAUCD8QElY0FJKoqP0kRM+pcPZXb/ONU6xx/Ldj5VgsmCQNv+T/jC31F Hemqib6U7kEdR30dxhH7of/gOaIYAZQiYR0Ri/XuNEQ+ogHtklCU8ZNP6 g==; X-CSE-ConnectionGUID: ovpjNZvgTSuw+/xAYBv86g== X-CSE-MsgGUID: jEcWk3PZRqy2TxNQpHrKtQ== X-IronPort-AV: E=McAfee;i="6800,10657,11754"; a="94176467" X-IronPort-AV: E=Sophos;i="6.23,170,1770624000"; d="scan'208";a="94176467" Received: from orviesa010.jf.intel.com ([10.64.159.150]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:15:26 -0700 X-CSE-ConnectionGUID: nGNi9Ag4SBadclMypKSwGQ== X-CSE-MsgGUID: qlzPs1YASH+qOdBCe2NghA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,170,1770624000"; d="scan'208";a="228047529" Received: from dalessan-mobl3.ger.corp.intel.com (HELO kekkonen.fi.intel.com) ([10.245.244.29]) by orviesa010-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Apr 2026 13:15:19 -0700 Received: from punajuuri.localdomain (unknown [192.168.240.130]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 8CB591227EC; 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-000000045mH-4Ami; 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 25/86] media: uapi: Add MIPI CCS configuration model Date: Thu, 9 Apr 2026 23:14:00 +0300 Message-ID: <20260409201501.975242-26-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 Add a configuration model for MIPI CCS sensors and refer to the CCS driver documentation from it. If more drivers start implementing the CCS model the documentation should be split into two but that appears to be unlikely at the moment. Signed-off-by: Sakari Ailus --- .../userspace-api/media/v4l/subdev-config-model.rst | 6 ++++++ include/uapi/linux/v4l2-controls.h | 1 + 2 files changed, 7 insertions(+) diff --git a/Documentation/userspace-api/media/v4l/subdev-config-model.rst b/Documentation/userspace-api/media/v4l/subdev-config-model.rst index 1525119cbeb9..3011643d58cf 100644 --- a/Documentation/userspace-api/media/v4l/subdev-config-model.rst +++ b/Documentation/userspace-api/media/v4l/subdev-config-model.rst @@ -262,3 +262,9 @@ space may obtain the size of the embedded data once the image data size on the source pad has been configured. Also see :ref:`media_using_camera_sensor_drivers_embedded_data`. + +MIPI Camera Command Set (CCS) model +----------------------------------- + +The MIPI Camera Command Set configuration model is implemented by the :ref:`CCS +driver `. diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 2f0bd33bbc3d..1bf6d298e3c4 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -1262,6 +1262,7 @@ enum v4l2_jpeg_chroma_subsampling { #define V4L2_CID_CONFIG_MODEL (V4L2_CID_IMAGE_PROC_CLASS_BASE + 6) #define V4L2_CONFIG_MODEL_COMMON_RAW_SENSOR (1U << 0) +#define V4L2_CONFIG_MODEL_MIPI_CCS (1U << 1) /* DV-class control IDs defined by V4L2 */ #define V4L2_CID_DV_CLASS_BASE (V4L2_CTRL_CLASS_DV | 0x900) -- 2.47.3