Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions
palmas.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/regmap.h>
#include <linux/err.h>
#include <linux/mfd/core.h>
#include <linux/mfd/palmas.h>
#include <linux/of_platform.h>

Go to the source code of this file.

Enumerations

enum  palmas_ids {
  PALMAS_PMIC_ID, PALMAS_GPIO_ID, PALMAS_LEDS_ID, PALMAS_WDT_ID,
  PALMAS_RTC_ID, PALMAS_PWRBUTTON_ID, PALMAS_GPADC_ID, PALMAS_RESOURCE_ID,
  PALMAS_CLK_ID, PALMAS_PWM_ID, PALMAS_USB_ID
}
 

Functions

 MODULE_DEVICE_TABLE (i2c, palmas_i2c_id)
 
 subsys_initcall (palmas_i2c_init)
 
 module_exit (palmas_i2c_exit)
 
 MODULE_AUTHOR ("Graeme Gregory <[email protected]>")
 
 MODULE_DESCRIPTION ("Palmas chip family multi-function driver")
 
 MODULE_LICENSE ("GPL")
 

Enumeration Type Documentation

enum palmas_ids
Enumerator:
PALMAS_PMIC_ID 
PALMAS_GPIO_ID 
PALMAS_LEDS_ID 
PALMAS_WDT_ID 
PALMAS_RTC_ID 
PALMAS_PWRBUTTON_ID 
PALMAS_GPADC_ID 
PALMAS_RESOURCE_ID 
PALMAS_CLK_ID 
PALMAS_PWM_ID 
PALMAS_USB_ID 

Definition at line 28 of file palmas.c.

Function Documentation

MODULE_AUTHOR ( "Graeme Gregory <[email protected]>"  )
MODULE_DESCRIPTION ( "Palmas chip family multi-function driver )
MODULE_DEVICE_TABLE ( i2c  ,
palmas_i2c_id   
)
module_exit ( palmas_i2c_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( palmas_i2c_init  )