.. | .. |
---|
24 | 24 | #define ISC_PFE_CFG0_HPOL_LOW BIT(0) |
---|
25 | 25 | #define ISC_PFE_CFG0_VPOL_LOW BIT(1) |
---|
26 | 26 | #define ISC_PFE_CFG0_PPOL_LOW BIT(2) |
---|
| 27 | +#define ISC_PFE_CFG0_CCIR656 BIT(9) |
---|
| 28 | +#define ISC_PFE_CFG0_CCIR_CRC BIT(10) |
---|
27 | 29 | |
---|
28 | 30 | #define ISC_PFE_CFG0_MODE_PROGRESSIVE (0x0 << 4) |
---|
29 | 31 | #define ISC_PFE_CFG0_MODE_MASK GENMASK(6, 4) |
---|
.. | .. |
---|
34 | 36 | #define ISC_PFG_CFG0_BPS_ELEVEN (0x1 << 28) |
---|
35 | 37 | #define ISC_PFG_CFG0_BPS_TWELVE (0x0 << 28) |
---|
36 | 38 | #define ISC_PFE_CFG0_BPS_MASK GENMASK(30, 28) |
---|
| 39 | + |
---|
| 40 | +#define ISC_PFE_CFG0_COLEN BIT(12) |
---|
| 41 | +#define ISC_PFE_CFG0_ROWEN BIT(13) |
---|
| 42 | + |
---|
| 43 | +/* ISC Parallel Front End Configuration 1 Register */ |
---|
| 44 | +#define ISC_PFE_CFG1 0x00000010 |
---|
| 45 | + |
---|
| 46 | +#define ISC_PFE_CFG1_COLMIN(v) ((v)) |
---|
| 47 | +#define ISC_PFE_CFG1_COLMIN_MASK GENMASK(15, 0) |
---|
| 48 | +#define ISC_PFE_CFG1_COLMAX(v) ((v) << 16) |
---|
| 49 | +#define ISC_PFE_CFG1_COLMAX_MASK GENMASK(31, 16) |
---|
| 50 | + |
---|
| 51 | +/* ISC Parallel Front End Configuration 2 Register */ |
---|
| 52 | +#define ISC_PFE_CFG2 0x00000014 |
---|
| 53 | + |
---|
| 54 | +#define ISC_PFE_CFG2_ROWMIN(v) ((v)) |
---|
| 55 | +#define ISC_PFE_CFG2_ROWMIN_MASK GENMASK(15, 0) |
---|
| 56 | +#define ISC_PFE_CFG2_ROWMAX(v) ((v) << 16) |
---|
| 57 | +#define ISC_PFE_CFG2_ROWMAX_MASK GENMASK(31, 16) |
---|
37 | 58 | |
---|
38 | 59 | /* ISC Clock Enable Register */ |
---|
39 | 60 | #define ISC_CLKEN 0x00000018 |
---|
.. | .. |
---|
79 | 100 | #define ISC_WB_O_RGR 0x00000060 |
---|
80 | 101 | |
---|
81 | 102 | /* ISC White Balance Offset for B, GB Register */ |
---|
82 | | -#define ISC_WB_O_BGR 0x00000064 |
---|
| 103 | +#define ISC_WB_O_BGB 0x00000064 |
---|
83 | 104 | |
---|
84 | 105 | /* ISC White Balance Gain for R, GR Register */ |
---|
85 | 106 | #define ISC_WB_G_RGR 0x00000068 |
---|
86 | 107 | |
---|
87 | 108 | /* ISC White Balance Gain for B, GB Register */ |
---|
88 | | -#define ISC_WB_G_BGR 0x0000006c |
---|
| 109 | +#define ISC_WB_G_BGB 0x0000006c |
---|
89 | 110 | |
---|
90 | 111 | /* ISC Color Filter Array Control Register */ |
---|
91 | 112 | #define ISC_CFA_CTRL 0x00000070 |
---|