forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/media/platform/atmel/atmel-isi.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Register definitions for the Atmel Image Sensor Interface.
34 *
....@@ -6,10 +7,6 @@
67 *
78 * Based on previous work by Lars Haring, <lars.haring@atmel.com>
89 * and Sedji Gaouaou
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411 #ifndef __ATMEL_ISI_H__
1512 #define __ATMEL_ISI_H__
....@@ -65,6 +62,8 @@
6562 #define ISI_CFG1_THMASK_BEATS_16 (2 << 13)
6663
6764 /* Bitfields in CFG2 */
65
+#define ISI_CFG2_GS_MODE_2_PIXEL (0 << 11)
66
+#define ISI_CFG2_GS_MODE_1_PIXEL (1 << 11)
6867 #define ISI_CFG2_GRAYSCALE (1 << 13)
6968 #define ISI_CFG2_COL_SPACE_YCbCr (0 << 15)
7069 #define ISI_CFG2_COL_SPACE_RGB (1 << 15)