1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Support for Intel Camera Imaging ISP subsystem.
4 * Copyright (c) 2015, Intel Corporation.
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License,
8 * version 2, as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
13 * more details.
14 */
15
16#ifndef __IA_CSS_RAW_PARAM_H
17#define __IA_CSS_RAW_PARAM_H
18
19#include "type_support.h"
20
21#include "dma.h"
22
23/* Raw channel */
24struct sh_css_isp_raw_isp_config {
25	u32 width_a_over_b;
26	struct dma_port_config port_b;
27	u32 inout_port_config;
28	u32 input_needs_raw_binning;
29	u32 format; /* enum ia_css_frame_format */
30	u32 required_bds_factor;
31	u32 two_ppc;
32	u32 stream_format; /* enum sh_stream_format */
33	u32 deinterleaved;
34	u32 start_column; /*left crop offset*/
35	u32 start_line; /*top crop offset*/
36	u8 enable_left_padding; /*need this for multiple binary case*/
37};
38
39#endif /* __IA_CSS_RAW_PARAM_H */
40