#include <linux/module.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <linux/of_irq.h>
#include <linux/of_gpio.h>
#include <linux/of_platform.h>
#include <linux/gpio.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/regmap.h>
#include <linux/mfd/core.h>
#include <linux/mfd/twl6040.h>
#include <linux/regulator/consumer.h>
Go to the source code of this file.
|
int | twl6040_reg_read (struct twl6040 *twl6040, unsigned int reg) |
|
| EXPORT_SYMBOL (twl6040_reg_read) |
|
int | twl6040_reg_write (struct twl6040 *twl6040, unsigned int reg, u8 val) |
|
| EXPORT_SYMBOL (twl6040_reg_write) |
|
int | twl6040_set_bits (struct twl6040 *twl6040, unsigned int reg, u8 mask) |
|
| EXPORT_SYMBOL (twl6040_set_bits) |
|
int | twl6040_clear_bits (struct twl6040 *twl6040, unsigned int reg, u8 mask) |
|
| EXPORT_SYMBOL (twl6040_clear_bits) |
|
int | twl6040_power (struct twl6040 *twl6040, int on) |
|
| EXPORT_SYMBOL (twl6040_power) |
|
int | twl6040_set_pll (struct twl6040 *twl6040, int pll_id, unsigned int freq_in, unsigned int freq_out) |
|
| EXPORT_SYMBOL (twl6040_set_pll) |
|
int | twl6040_get_pll (struct twl6040 *twl6040) |
|
| EXPORT_SYMBOL (twl6040_get_pll) |
|
unsigned int | twl6040_get_sysclk (struct twl6040 *twl6040) |
|
| EXPORT_SYMBOL (twl6040_get_sysclk) |
|
int | twl6040_get_vibralr_status (struct twl6040 *twl6040) |
|
| EXPORT_SYMBOL (twl6040_get_vibralr_status) |
|
| MODULE_DEVICE_TABLE (i2c, twl6040_i2c_id) |
|
| module_i2c_driver (twl6040_driver) |
|
| MODULE_DESCRIPTION ("TWL6040 MFD") |
|
| MODULE_AUTHOR ("Misael Lopez Cruz <[email protected]>") |
|
| MODULE_AUTHOR ("Jorge Eduardo Candelaria <[email protected]>") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS ("platform:twl6040") |
|
#define TWL6040_NUM_SUPPLIES (2) |
MODULE_ALIAS |
( |
"platform:twl6040" |
| ) |
|
MODULE_DESCRIPTION |
( |
"TWL6040 MFD" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
twl6040_i2c_id |
|
|
) |
| |
module_i2c_driver |
( |
twl6040_driver |
| ) |
|