| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Register definitions for the Atmel Image Sensor Interface. |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Based on previous work by Lars Haring, <lars.haring@atmel.com> |
|---|
| 8 | 9 | * 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. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | #ifndef __ATMEL_ISI_H__ |
|---|
| 15 | 12 | #define __ATMEL_ISI_H__ |
|---|
| .. | .. |
|---|
| 65 | 62 | #define ISI_CFG1_THMASK_BEATS_16 (2 << 13) |
|---|
| 66 | 63 | |
|---|
| 67 | 64 | /* Bitfields in CFG2 */ |
|---|
| 65 | +#define ISI_CFG2_GS_MODE_2_PIXEL (0 << 11) |
|---|
| 66 | +#define ISI_CFG2_GS_MODE_1_PIXEL (1 << 11) |
|---|
| 68 | 67 | #define ISI_CFG2_GRAYSCALE (1 << 13) |
|---|
| 69 | 68 | #define ISI_CFG2_COL_SPACE_YCbCr (0 << 15) |
|---|
| 70 | 69 | #define ISI_CFG2_COL_SPACE_RGB (1 << 15) |
|---|