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

pmic_core_spi.c File Reference

Detailed Description

This is the main file for the PMIC Core/Protocol driver. SPI should be providing the interface between the PMIC and the MCU.

Definition in file pmic_core_spi.c.

#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/platform_device.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/spi/spi.h>
#include <linux/pmic_external.h>
#include <linux/pmic_status.h>
#include <asm/uaccess.h>
#include "pmic.h"

Go to the source code of this file.


void gpio_pmic_active (void)
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 MODULE_DESCRIPTION ("Core/Protocol driver for PMIC")
 module_exit (pmic_exit)
void pmic_event_callback (type_event event)
void pmic_event_list_init (void)
static void __exit pmic_exit (void)
static int __init pmic_init (void)
irqreturn_t pmic_irq_handler (int irq, void *dev_id)
static void pmic_pdev_register (void)
static void pmic_pdev_unregister (void)
static int __devinit pmic_probe (struct spi_device *spi)
static int __devexit pmic_remove (struct spi_device *spi)
static int pmic_resume (struct spi_device *spi)
static int pmic_suspend (struct spi_device *spi, pm_message_t message)
 subsys_initcall_sync (pmic_init)


static struct platform_device adc_ldm
static struct platform_device battery_ldm
static struct platform_device bleds_ldm
static struct platform_device gleds_ldm
static struct platform_device light_ldm
pmic_version_t mxc_pmic_version
static struct spi_driver pmic_driver
static struct platform_device power_ldm
static struct platform_device rleds_ldm
static struct platform_device rtc_ldm

Generated by  Doxygen 1.6.0   Back to index