]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/video/mxcfb.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / drivers / video / mxcfb.h
CommitLineData
5dda7945
SB
1/*
2 * Porting to u-boot:
3 *
4 * (C) Copyright 2010
5 * Stefano Babic, DENX Software Engineering, sbabic@denx.de
6 *
7 * Linux IPU driver for MX51:
8 *
9 * (C) Copyright 2004-2009 Freescale Semiconductor, Inc.
10 *
1a459660 11 * SPDX-License-Identifier: GPL-2.0+
5dda7945
SB
12 */
13
14#ifndef __ASM_ARCH_MXCFB_H__
15#define __ASM_ARCH_MXCFB_H__
16
17#define FB_SYNC_OE_LOW_ACT 0x80000000
18#define FB_SYNC_CLK_LAT_FALL 0x40000000
19#define FB_SYNC_DATA_INVERT 0x20000000
20#define FB_SYNC_CLK_IDLE_EN 0x10000000
21#define FB_SYNC_SHARP_MODE 0x08000000
22#define FB_SYNC_SWAP_RGB 0x04000000
23
24struct mxcfb_gbl_alpha {
25 int enable;
26 int alpha;
27};
28
29struct mxcfb_loc_alpha {
30 int enable;
31 int alpha_in_pixel;
32 unsigned long alpha_phy_addr0;
33 unsigned long alpha_phy_addr1;
34};
35
36struct mxcfb_color_key {
37 int enable;
38 __u32 color_key;
39};
40
41struct mxcfb_pos {
42 __u16 x;
43 __u16 y;
44};
45
46struct mxcfb_gamma {
47 int enable;
48 int constk[16];
49 int slopek[16];
50};
51
52#endif