Path: blob/master/arch/blackfin/include/asm/bfin-lq035q1.h
15126 views
/*1* Blackfin LCD Framebuffer driver SHARP LQ035Q1DH022*3* Copyright 2008-2009 Analog Devices Inc.4* Licensed under the GPL-2 or later.5*/67#ifndef BFIN_LQ035Q1_H8#define BFIN_LQ035Q1_H910/*11* LCD Modes12*/13#define LQ035_RL (0 << 8) /* Right -> Left Scan */14#define LQ035_LR (1 << 8) /* Left -> Right Scan */15#define LQ035_TB (1 << 9) /* Top -> Botton Scan */16#define LQ035_BT (0 << 9) /* Botton -> Top Scan */17#define LQ035_BGR (1 << 11) /* Use BGR format */18#define LQ035_RGB (0 << 11) /* Use RGB format */19#define LQ035_NORM (1 << 13) /* Reversal */20#define LQ035_REV (0 << 13) /* Reversal */2122/*23* PPI Modes24*/2526#define USE_RGB565_16_BIT_PPI 127#define USE_RGB565_8_BIT_PPI 228#define USE_RGB888_8_BIT_PPI 32930struct bfin_lq035q1fb_disp_info {3132unsigned mode;33unsigned ppi_mode;34/* GPIOs */35int use_bl;36unsigned gpio_bl;37};3839#endif /* BFIN_LQ035Q1_H */404142