blob: 8456c10aa57a323585ebbeffadbf189e6768164f (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/* linux/arch/arm/mach-s5pv210/include/mach/power-domain.h
*
* Copyright (c) 2010 Samsung Electronics Co., Ltd.
* http://www.samsung.com/
*
* S5PV210 - Power domain support
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#ifndef __ASM_ARCH_POWER_DOMAIN_H
#define __ASM_ARCH_POWER_DOMAIN_H __FILE__
#define S5PV210_PD_IROM (1 << 20)
#define S5PV210_PD_AUDIO (1 << 7)
#define S5PV210_PD_CAM (1 << 5)
#define S5PV210_PD_TV (1 << 4)
#define S5PV210_PD_LCD (1 << 3)
#define S5PV210_PD_G3D (1 << 2)
#define S5PV210_PD_MFC (1 << 1)
struct regulator_init_data;
/**
* struct s5pv210_pd_config - s5pv210_pd_config structure
* @supply_name: Name of the regulator supply
* @microvolts: Output voltage of regulator
* @startup_delay: Start-up time in microseconds
* @init_data: regulator_init_data
* @clk_should_be_running: the clocks for the IPs in the power domain
* should be running when the power domain
* is turned on
* @ctrlbit: register control bit
*
* This structure contains samsung power domain regulator configuration
* information that must be passed by platform code to the samsung
* power domain regulator driver.
*/
struct s5pv210_pd_config {
const char *supply_name;
int microvolts;
unsigned startup_delay;
struct regulator_init_data *init_data;
struct clk_should_be_running *clk_run;
int ctrlbit;
};
extern struct platform_device s5pv210_pd_audio;
extern struct platform_device s5pv210_pd_cam;
extern struct platform_device s5pv210_pd_tv;
extern struct platform_device s5pv210_pd_lcd;
extern struct platform_device s5pv210_pd_g3d;
extern struct platform_device s5pv210_pd_mfc;
#endif
|