aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/board-mobile.h
blob: 54384d025459fad677e6a29b46eeaada94e296a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#ifndef __SAMSUNG_MOBILE_BOARD_COMMON_H
#define __SAMSUNG_MOBILE_BOARD_COMMON_H

/*
 * Please add the common mobile external declarations
 */
extern void midas_camera_init(void);

/* charger-manager */
extern struct charger_global_desc midas_charger_g_desc;
extern struct platform_device midas_charger_manager;

/* MAX77693 */
extern struct max77693_muic_data max77693_muic;
extern struct max77693_regulator_data max77693_regulators;

/* i2c-gpio(sw) pin configuration */
#define GPIO_I2C_PIN_SETUP(_bus)	{	\
	s3c_gpio_cfgpin(gpio_i2c_##_bus.sda_pin, S3C_GPIO_INPUT);	\
	s3c_gpio_setpull(gpio_i2c_##_bus.sda_pin, S3C_GPIO_PULL_NONE);	\
	s3c_gpio_cfgpin(gpio_i2c_##_bus.scl_pin, S3C_GPIO_INPUT);	\
	s3c_gpio_setpull(gpio_i2c_##_bus.scl_pin, S3C_GPIO_PULL_NONE);	\
}

#ifdef CONFIG_SLP
extern int __init midas_nfc_init(int i2c_bus);

/* NTC thermistor */
extern struct platform_device midas_ncp15wb473_thermistor;
extern int __init adc_ntc_init(int port);
#endif

/* wifi */
extern int brcm_wlan_init(void);

/* gps */
extern void set_gps_uart_op(int onoff);

#endif