Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

max8660.c File Reference

Detailed Description

Driver for max8660.

Definition in file max8660.c.

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/spinlock.h>
#include <linux/proc_fs.h>
#include <linux/i2c.h>
#include <linux/mfd/mc9s08dz60/pmic.h>
#include <asm/uaccess.h>
#include "mcu_pmic_core.h"
#include "max8660.h"

Go to the source code of this file.


#define I2C1_BUS   0
#define MAX8660_I2C_ADDR   0x68


int is_max8660_present (void)
void max8660_exit (void)
int max8660_get_buffered_reg_val (int reg_name, u8 *value)
int max8660_init (void)
static int max8660_probe (struct i2c_client *client, const struct i2c_device_id *id)
static int max8660_remove (struct i2c_client *client)
int max8660_save_buffered_reg_val (int reg_name, u8 value)
int max8660_write_reg (u8 reg, u8 value)
 MODULE_DEVICE_TABLE (i2c, max8660_id)


static int max8660_dev_present
static struct i2c_client * max8660_i2c_client
static struct i2c_driver max8660_i2c_driver
static struct i2c_device_id max8660_id []
static u8 max8660_reg_value_table []

Generated by  Doxygen 1.6.0   Back to index