#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/pm_runtime.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/mfd/core.h>
#include <linux/mfd/max8997.h>
#include <linux/mfd/max8997-private.h>
Go to the source code of this file.
|
int | max8997_read_reg (struct i2c_client *i2c, u8 reg, u8 *dest) |
|
| EXPORT_SYMBOL_GPL (max8997_read_reg) |
|
int | max8997_bulk_read (struct i2c_client *i2c, u8 reg, int count, u8 *buf) |
|
| EXPORT_SYMBOL_GPL (max8997_bulk_read) |
|
int | max8997_write_reg (struct i2c_client *i2c, u8 reg, u8 value) |
|
| EXPORT_SYMBOL_GPL (max8997_write_reg) |
|
int | max8997_bulk_write (struct i2c_client *i2c, u8 reg, int count, u8 *buf) |
|
| EXPORT_SYMBOL_GPL (max8997_bulk_write) |
|
int | max8997_update_reg (struct i2c_client *i2c, u8 reg, u8 val, u8 mask) |
|
| EXPORT_SYMBOL_GPL (max8997_update_reg) |
|
| MODULE_DEVICE_TABLE (i2c, max8998_i2c_id) |
|
| subsys_initcall (max8997_i2c_init) |
|
| module_exit (max8997_i2c_exit) |
|
| MODULE_DESCRIPTION ("MAXIM 8997 multi-function core driver") |
|
| MODULE_AUTHOR ("MyungJoo Ham <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
#define I2C_ADDR_BATTERY (0x6C >> 1) |
#define I2C_ADDR_HAPTIC (0x90 >> 1) |
#define I2C_ADDR_MUIC (0x4A >> 1) |
#define I2C_ADDR_PMIC (0xCC >> 1) |
#define I2C_ADDR_RTC (0x0C >> 1) |
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max8998_i2c_id |
|
|
) |
| |
module_exit |
( |
max8997_i2c_exit |
| ) |
|
subsys_initcall |
( |
max8997_i2c_init |
| ) |
|