diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2020-09-24 00:21:32 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-01-12 17:27:09 +0100 |
commit | a8a2d75b0897fc359ada5fb9f8b62f985351882b (patch) | |
tree | 4011a254eef9443d991af8443c72f61cb380989c /include/uapi/linux/ccs.h | |
parent | db08f69ef8205dc4bcc2af2a24bcfc8f9da47899 (diff) | |
download | lwn-a8a2d75b0897fc359ada5fb9f8b62f985351882b.tar.gz lwn-a8a2d75b0897fc359ada5fb9f8b62f985351882b.zip |
media: v4l: uapi: ccs: Add controls for analogue gain constants
Add V4L2 controls for analogue gain constants required to control
analogue gain. The values are device specific and thus need to be obtained
from the driver.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/uapi/linux/ccs.h')
-rw-r--r-- | include/uapi/linux/ccs.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/uapi/linux/ccs.h b/include/uapi/linux/ccs.h new file mode 100644 index 000000000000..57515ed7aaab --- /dev/null +++ b/include/uapi/linux/ccs.h @@ -0,0 +1,14 @@ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +/* Copyright (C) 2020 Intel Corporation */ + +#ifndef __UAPI_CCS_H__ +#define __UAPI_CCS_H__ + +#include <linux/v4l2-controls.h> + +#define V4L2_CID_CCS_ANALOGUE_GAIN_M0 (V4L2_CID_USER_CCS_BASE + 1) +#define V4L2_CID_CCS_ANALOGUE_GAIN_C0 (V4L2_CID_USER_CCS_BASE + 2) +#define V4L2_CID_CCS_ANALOGUE_GAIN_M1 (V4L2_CID_USER_CCS_BASE + 3) +#define V4L2_CID_CCS_ANALOGUE_GAIN_C1 (V4L2_CID_USER_CCS_BASE + 4) + +#endif |