linux/drivers/mxc/pmic/core/pmic_core_i2c.c File Reference

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

Functions

irqreturn_t pmic_irq_handler (int irq, void *dev_id)
static void pmic_pdev_unregister (void)

Detailed Description

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


Function Documentation

irqreturn_t pmic_irq_handler ( int  irq,
void *  dev_id 
)

This function is called when pmic interrupt occurs on the processor. It is the interrupt handler for the pmic module.

Parameters:
irq the irq number
dev_id the pointer on the device
Returns:
The function returns IRQ_HANDLED when handled.
static void pmic_pdev_unregister ( void   )  [static]

This function unregisters platform device structures for PMIC client drivers.

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen