Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
twl-common.h File Reference
#include "common.h"

Go to the source code of this file.

Macros

#define TWL_COMMON_PDATA_USB   (1 << 0)
 
#define TWL_COMMON_PDATA_BCI   (1 << 1)
 
#define TWL_COMMON_PDATA_MADC   (1 << 2)
 
#define TWL_COMMON_PDATA_AUDIO   (1 << 3)
 
#define TWL_COMMON_REGULATOR_VDAC   (1 << 0)
 
#define TWL_COMMON_REGULATOR_VAUX1   (1 << 1)
 
#define TWL_COMMON_REGULATOR_VAUX2   (1 << 2)
 
#define TWL_COMMON_REGULATOR_VAUX3   (1 << 3)
 
#define TWL_COMMON_REGULATOR_VMMC   (1 << 4)
 
#define TWL_COMMON_REGULATOR_VPP   (1 << 5)
 
#define TWL_COMMON_REGULATOR_VUSIM   (1 << 6)
 
#define TWL_COMMON_REGULATOR_VANA   (1 << 7)
 
#define TWL_COMMON_REGULATOR_VCXIO   (1 << 8)
 
#define TWL_COMMON_REGULATOR_VUSB   (1 << 9)
 
#define TWL_COMMON_REGULATOR_CLK32KG   (1 << 10)
 
#define TWL_COMMON_REGULATOR_V1V8   (1 << 11)
 
#define TWL_COMMON_REGULATOR_V2V1   (1 << 12)
 
#define TWL_COMMON_REGULATOR_VPLL1   (1 << 4)
 
#define TWL_COMMON_REGULATOR_VPLL2   (1 << 5)
 

Functions

void omap_pmic_init (int bus, u32 clkrate, const char *pmic_type, int pmic_irq, struct twl4030_platform_data *pmic_data)
 
void omap_pmic_late_init (void)
 
void omap4_pmic_init (const char *pmic_type, struct twl4030_platform_data *pmic_data, struct i2c_board_info *devices, int nr_devices)
 
void omap3_pmic_get_config (struct twl4030_platform_data *pmic_data, u32 pdata_flags, u32 regulators_flags)
 
void omap4_pmic_get_config (struct twl4030_platform_data *pmic_data, u32 pdata_flags, u32 regulators_flags)
 
void omap_twl4030_audio_init (char *card_name)
 

Macro Definition Documentation

#define TWL_COMMON_PDATA_AUDIO   (1 << 3)

Definition at line 9 of file twl-common.h.

#define TWL_COMMON_PDATA_BCI   (1 << 1)

Definition at line 7 of file twl-common.h.

#define TWL_COMMON_PDATA_MADC   (1 << 2)

Definition at line 8 of file twl-common.h.

#define TWL_COMMON_PDATA_USB   (1 << 0)

Definition at line 6 of file twl-common.h.

#define TWL_COMMON_REGULATOR_CLK32KG   (1 << 10)

Definition at line 24 of file twl-common.h.

#define TWL_COMMON_REGULATOR_V1V8   (1 << 11)

Definition at line 25 of file twl-common.h.

#define TWL_COMMON_REGULATOR_V2V1   (1 << 12)

Definition at line 26 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VANA   (1 << 7)

Definition at line 21 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VAUX1   (1 << 1)

Definition at line 13 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VAUX2   (1 << 2)

Definition at line 14 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VAUX3   (1 << 3)

Definition at line 15 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VCXIO   (1 << 8)

Definition at line 22 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VDAC   (1 << 0)

Definition at line 12 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VMMC   (1 << 4)

Definition at line 18 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VPLL1   (1 << 4)

Definition at line 29 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VPLL2   (1 << 5)

Definition at line 30 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VPP   (1 << 5)

Definition at line 19 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VUSB   (1 << 9)

Definition at line 23 of file twl-common.h.

#define TWL_COMMON_REGULATOR_VUSIM   (1 << 6)

Definition at line 20 of file twl-common.h.

Function Documentation

void omap3_pmic_get_config ( struct twl4030_platform_data pmic_data,
u32  pdata_flags,
u32  regulators_flags 
)
void omap4_pmic_get_config ( struct twl4030_platform_data pmic_data,
u32  pdata_flags,
u32  regulators_flags 
)
void omap4_pmic_init ( const char pmic_type,
struct twl4030_platform_data pmic_data,
struct i2c_board_info devices,
int  nr_devices 
)

Definition at line 70 of file twl-common.c.

void omap_pmic_init ( int  bus,
u32  clkrate,
const char pmic_type,
int  pmic_irq,
struct twl4030_platform_data pmic_data 
)

Definition at line 57 of file twl-common.c.

void omap_pmic_late_init ( void  )

Definition at line 84 of file twl-common.c.

void omap_twl4030_audio_init ( char card_name)

Definition at line 551 of file twl-common.c.