X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fipu_pixfmt.h;h=866ead0ec719284609c1d6a21cbfd27382c40561;hb=696f02d99b41190786b17ad28316a0cd45792c2c;hp=0497bff2d2bc2b8e82c63ade57623040547b5cce;hpb=3d1d5e2379d4dd31a7637d16a35405358d44da3a;p=platform%2Fkernel%2Fu-boot.git diff --git a/include/ipu_pixfmt.h b/include/ipu_pixfmt.h index 0497bff..866ead0 100644 --- a/include/ipu_pixfmt.h +++ b/include/ipu_pixfmt.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2011 * Stefano Babic, DENX Software Engineering, sbabic@denx.de @@ -5,29 +6,14 @@ * Based on Linux IPU driver for MX51 (ipu.h): * * (C) Copyright 2005-2010 Freescale Semiconductor, Inc. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA */ #ifndef __IPU_PIXFMT_H__ #define __IPU_PIXFMT_H__ +#include +#include + /* IPU Pixel format definitions */ #define fourcc(a, b, c, d)\ (((__u32)(a)<<0)|((__u32)(b)<<8)|((__u32)(c)<<16)|((__u32)(d)<<24)) @@ -73,4 +59,9 @@ #define IPU_PIX_FMT_YVU422P fourcc('Y', 'V', '1', '6') /*< 16 YVU 4:2:2 */ #define IPU_PIX_FMT_YUV422P fourcc('4', '2', '2', 'P') /*< 16 YUV 4:2:2 */ +int ipuv3_fb_init(struct fb_videomode const *mode, + uint8_t disp, + uint32_t pixfmt); +void ipuv3_fb_shutdown(void); + #endif