#include <linux/module.h>
#include <linux/backlight.h>
#include <linux/uaccess.h>
#include <linux/interrupt.h>
#include <linux/regmap.h>
#include <linux/platform_data/lm3630a_bl.h>
#define REG_INT_STATUS 0x09
#define REG_PWM_OUTLOW 0x12
#define REG_PWM_OUTHIGH 0x13
#define REG_FILTER_STRENGTH 0x50
#define INT_DEBOUNCE_MSEC 10
struct delayed_work work;
struct workqueue_struct *irqthread;
struct lm3630a_platform_data *pdata;
struct backlight_device *bleda;
struct backlight_device *bledb;
static int lm3630a_read(struct lm3630a_chip *pchip, unsigned int reg)
rval = regmap_read(pchip->regmap, reg, ®_val);
static int lm3630a_write(struct lm3630a_chip *pchip,