[PATCH v2 2/4] mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag

2013-05-27 Thread yizhang.mrvl
From: Yi Zhang for interrupt controller such as GIC who is level triggered, "IRQF_TRIGGER_FALLING" will fail to request irq Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c

[PATCH v2 4/4] mfd: 88pm800: add regulator support

2013-05-27 Thread yizhang.mrvl
From: Yi Zhang Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 108 +++ include/linux/mfd/88pm80x.h | 48 +++ 2 files changed, 156 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index

[PATCH v2 1/4] mfd: 88pm800: fix NULL pointer error

2013-05-27 Thread yizhang.mrvl
From: Yi Zhang move "device_800_init" to fix NULL pointer error when calling "device_gpadc_init" for "device_gpadc_init" needs "subchip->regmap_gpadc" to set registers via regmap interface Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 16 1 files changed, 8 insertions

[PATCH v2 3/4] mfd: 88pm800: fix probe bug

2013-05-27 Thread yizhang.mrvl
From: Yi Zhang 1) return 0 when probe function is successful 2) fine-tune pm800_pages_init() Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 29 + 1 files changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c ind

[PATCH v2 0/4] mfd: 88pm800: bug fix and regulator support

2013-05-27 Thread yizhang.mrvl
From: Yi Zhang v2: fix an "&&" usage error of "mfd: 88pm800: fix probe bug" in v1 Yi Zhang (4): mfd: 88pm800: fix NULL pointer error mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag mfd: 88pm800: fix probe bug mfd: 88pm800: add regulator support drivers/mfd/88pm800.c | 147 +

[PATCH 3/4] mfd: 88pm800: fix probe bug

2013-05-23 Thread yizhang.mrvl
From: Yi Zhang 1) return 0 when probe function is successful 2) fine-tune pm800_pages_init() Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 29 + 1 files changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c ind

[PATCH 2/4] mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag

2013-05-23 Thread yizhang.mrvl
From: Yi Zhang for interrupt controller such as GIC who is level triggered, "IRQF_TRIGGER_FALLING" will fail to request irq Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c

[PATCH 4/4] mfd: 88pm800: add regulator support

2013-05-23 Thread yizhang.mrvl
From: Yi Zhang Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 108 +++ include/linux/mfd/88pm80x.h | 48 +++ 2 files changed, 156 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index

[PATCH 1/4] mfd: 88pm800: fix NULL pointer error

2013-05-23 Thread yizhang.mrvl
From: Yi Zhang move "device_800_init" to fix NULL pointer error when calling "device_gpadc_init" for "device_gpadc_init" needs "subchip->regmap_gpadc" to set registers via regmap interface Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 16 1 files changed, 8 insertions

[PATCH 0/3] mfd: 88pm800: bug fix and add regulator support

2013-05-23 Thread yizhang.mrvl
From: Yi Zhang Yi Zhang (3): mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag mfd: 88pm800: fix probe bug mfd: 88pm800: add regulator support drivers/mfd/88pm800.c | 139 --- include/linux/mfd/88pm80x.h | 48 +++ 2 files changed

[PATCH] regulator: 88pm800: add regulator driver

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang Signed-off-by: Yi Zhang --- drivers/regulator/88pm800.c | 531 +++ drivers/regulator/Kconfig | 10 + drivers/regulator/Makefile |1 + 3 files changed, 542 insertions(+), 0 deletions(-) create mode 100644 drivers/regulator/88pm800

[PATCH 3/4] mfd: 88pm800: fix probe bug

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang 1) return 0 when probe function is successful 2) fine-tune pm800_pages_init() Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 29 + 1 files changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c ind

[PATCH 1/4] mfd: 88pm800: fix NULL pointer error

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang move "device_800_init" to fix NULL pointer error when calling "device_gpadc_init" for "device_gpadc_init" needs "subchip->regmap_gpadc" to set registers via regmap interface Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 16 1 files changed, 8 insertions

[PATCH 0/3] *** SUBJECT HERE ***

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang These patches fix 88pm800 bugs and add regulator support Yi Zhang (3): mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag mfd: 88pm800: fix probe bug mfd: 88pm800: add regulator support drivers/mfd/88pm800.c | 139 --- include/l

[PATCH 2/4] mfd: 88pm800: remove "IRQF_TRIGGER_FALLING" flag

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang for interrupt controller such as GIC who is level triggered, "IRQF_TRIGGER_FALLING" will fail to request irq Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c

[PATCH 4/4] mfd: 88pm800: add regulator support

2013-05-22 Thread yizhang.mrvl
From: Yi Zhang Signed-off-by: Yi Zhang --- drivers/mfd/88pm800.c | 108 +++ include/linux/mfd/88pm80x.h | 48 +++ 2 files changed, 156 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index