From patchwork Fri Dec 2 16:07:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Volodymyr Kharuk X-Patchwork-Id: 630947 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91D9AC636F8 for ; Fri, 2 Dec 2022 16:08:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233690AbiLBQH7 (ORCPT ); Fri, 2 Dec 2022 11:07:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233635AbiLBQH4 (ORCPT ); Fri, 2 Dec 2022 11:07:56 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBBB32127C for ; Fri, 2 Dec 2022 08:07:54 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id o13so12631609ejm.1 for ; Fri, 02 Dec 2022 08:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=CvsEer0eAhZpCimLetQdww1a1gupEhutnU7stA4HzFo=; b=OKtWTp8C6nIg3GXI5R5gq+ANBZtmdXWni8JRe/qfw779uWYJ3q0g91ahXTyrG2f8bL iTMyrbV151bvklYGHuTkgb+h8wm8HPcqQBruQgofe0luex/0bl1l88MYBXVOWpnm0xis sWeiOB/kgclgFYLS1B7H97cnK64MzTEFvWMMl10NQOrmEcJvn9ffZZ9W9ytY89Gq4jKX AwJ7jKDNUdnrYYDRoPonKNlmgLqNn1ImQ+qDnBqKmIut8q08tIZMS1wRf8JFYL2wX5E7 ycRpna0SCgX+v//TtXiXeGZIl0N9aLoMa0s0cVtgh8A5Gxn1cu44dtMPHpUwtzTBrMQm 5zUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CvsEer0eAhZpCimLetQdww1a1gupEhutnU7stA4HzFo=; b=gmk93bmlDs7pSxvFYDZ1TfBf9XD+ur7sARey7pHgZ/ODQ6vwqiE6nniqrFfwMH7bR9 CnzkYpIGVZE1UIlG7lrAu5klUfQiKXxxOdLcbHUgFCCA7Uu04iDt0RRa7GHx/jWPJLjb cVI9jWF6kbgbE+3QbOrcsqUcBd2q8s+3axLOsDfGH2mPFOnmN+ofDbKcQiErI7DCE6ry GproyfudJWP9J8CZ1q3erJZFwVdnIrvPv6p9bPJiNlYyo0dTvUDhaqKHDp3uLeSC606R cldopnaskNo3cvRmHU1GK6mwehIoDlOYu4tZcwGCq7z+08nn+QuLUvUNXCXNNxoPJgYK swkA== X-Gm-Message-State: ANoB5pnzH5GtLwMYkSxoTr+uNDWXMZZYOr+HENpx5fWKlcS8SCGdRuzU TO+pXEgPx+P790tRxtFzUWNqPw== X-Google-Smtp-Source: AA0mqf4f7s7pwnjqaWkhQH/om/gsMHv3xW3C8DPWsxd1MIzQ838A1+QffNpSSaRz0jMYUpkeH0ZHQw== X-Received: by 2002:a17:906:3505:b0:7c0:390:d35b with SMTP id r5-20020a170906350500b007c00390d35bmr20330512eja.570.1669997274417; Fri, 02 Dec 2022 08:07:54 -0800 (PST) Received: from melexis ([91.192.183.26]) by smtp.gmail.com with ESMTPSA id j9-20020a17090623e900b007bc30c06aa1sm3125006ejg.186.2022.12.02.08.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Dec 2022 08:07:53 -0800 (PST) From: Volodymyr Kharuk To: Cc: Andrii Kyselov , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Laurent Pinchart , devicetree@vger.kernel.org, Hans Verkuil , Sakari Ailus , Benjamin Mugnier , Volodymyr Kharuk Subject: [PATCH v4 5/8] media: v4l: ctrls: Add user control base for mlx7502x Date: Fri, 2 Dec 2022 18:07:35 +0200 Message-Id: X-Mailer: git-send-email 2.38.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a control base for mlx7502x and reserve 16 controls. Signed-off-by: Volodymyr Kharuk --- include/uapi/linux/v4l2-controls.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h index 3a6b6231b6f7..02bb1dcf02f5 100644 --- a/include/uapi/linux/v4l2-controls.h +++ b/include/uapi/linux/v4l2-controls.h @@ -238,6 +238,12 @@ enum v4l2_colorfx { */ #define V4L2_CID_USER_ASPEED_BASE (V4L2_CID_USER_BASE + 0x11a0) +/* + * The base for Melexis ToF 7502x driver controls. + * We reserve 16 controls for this driver. + */ +#define V4L2_CID_USER_MLX7502X_BASE (V4L2_CID_USER_BASE + 0x11b0) + /* MPEG-class control IDs */ /* The MPEG controls are applicable to all codec controls * and the 'MPEG' part of the define is historical */