aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pv210/herring.h
blob: f32329185f27eb39c36af75f83e2f6759a05f9de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * arch/arm/mach-s5pv210/herring.h
 */

#include <asm/system.h>

#ifndef __HERRING_H__
#define __HERRING_H__

struct uart_port;

void herring_bt_uart_wake_peer(struct uart_port *port);
extern void s3c_setup_uart_cfg_gpio(unsigned char port);

#define is_cdma_wimax_dev() (!!((system_rev & 0xFFF0) == 0x20))
#define is_cdma_wimax_rev0() (!!((system_rev & 0xFFFF) == 0x20))
#define is_tft_dev() (system_rev >= 0x30)

extern struct s5p_panel_data herring_panel_data;
extern struct s5p_tft_panel_data herring_sony_panel_data;
extern struct s5p_tft_panel_data herring_hydis_panel_data;
extern struct s5p_tft_panel_data herring_hitachi_panel_data;
#endif