RE: [PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-24 Thread Kukjin Kim
Mark Brown wrote:
> 
> On Sun, Mar 22, 2015 at 10:40:41AM +, Charles Keepax wrote:
> > There are two PMICs on Cragganmore, currently one dynamically assign
> > its IRQ base and the other uses a fixed base. It is possible for the
> > statically assigned PMIC to fail if its IRQ is taken by the dynamically
> > assigned one. Fix this by statically assigning both the IRQ bases.
> >
> > Signed-off-by: Charles Keepax 
> 
> Reviwed-by: Mark Brown 
> 
Thanks for your review.

> This probably wants to go to stable as well.

OK, I'll.

Thanks,
Kukjin

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


RE: [PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-24 Thread Kukjin Kim
Mark Brown wrote:
 
 On Sun, Mar 22, 2015 at 10:40:41AM +, Charles Keepax wrote:
  There are two PMICs on Cragganmore, currently one dynamically assign
  its IRQ base and the other uses a fixed base. It is possible for the
  statically assigned PMIC to fail if its IRQ is taken by the dynamically
  assigned one. Fix this by statically assigning both the IRQ bases.
 
  Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com
 
 Reviwed-by: Mark Brown broo...@kernel.org
 
Thanks for your review.

 This probably wants to go to stable as well.

OK, I'll.

Thanks,
Kukjin

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-22 Thread Mark Brown
On Sun, Mar 22, 2015 at 10:40:41AM +, Charles Keepax wrote:
> There are two PMICs on Cragganmore, currently one dynamically assign
> its IRQ base and the other uses a fixed base. It is possible for the
> statically assigned PMIC to fail if its IRQ is taken by the dynamically
> assigned one. Fix this by statically assigning both the IRQ bases.
> 
> Signed-off-by: Charles Keepax 

Reviwed-by: Mark Brown 

This probably wants to go to stable as well.


signature.asc
Description: Digital signature


[PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-22 Thread Charles Keepax
There are two PMICs on Cragganmore, currently one dynamically assign
its IRQ base and the other uses a fixed base. It is possible for the
statically assigned PMIC to fail if its IRQ is taken by the dynamically
assigned one. Fix this by statically assigning both the IRQ bases.

Signed-off-by: Charles Keepax 
---
 arch/arm/mach-s3c64xx/crag6410.h  |1 +
 arch/arm/mach-s3c64xx/mach-crag6410.c |1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/crag6410.h b/arch/arm/mach-s3c64xx/crag6410.h
index 7bc6668..dcbe17f 100644
--- a/arch/arm/mach-s3c64xx/crag6410.h
+++ b/arch/arm/mach-s3c64xx/crag6410.h
@@ -14,6 +14,7 @@
 #include 
 
 #define GLENFARCLAS_PMIC_IRQ_BASE  IRQ_BOARD_START
+#define BANFF_PMIC_IRQ_BASE(IRQ_BOARD_START + 64)
 
 #define PCA935X_GPIO_BASE  GPIO_BOARD_START
 #define CODEC_GPIO_BASE(GPIO_BOARD_START + 8)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c 
b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 10b913b..65c426b 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -554,6 +554,7 @@ static struct wm831x_touch_pdata touch_pdata = {
 
 static struct wm831x_pdata crag_pmic_pdata = {
.wm831x_num = 1,
+   .irq_base = BANFF_PMIC_IRQ_BASE,
.gpio_base = BANFF_PMIC_GPIO_BASE,
.soft_shutdown = true,
 
-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-22 Thread Charles Keepax
There are two PMICs on Cragganmore, currently one dynamically assign
its IRQ base and the other uses a fixed base. It is possible for the
statically assigned PMIC to fail if its IRQ is taken by the dynamically
assigned one. Fix this by statically assigning both the IRQ bases.

Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com
---
 arch/arm/mach-s3c64xx/crag6410.h  |1 +
 arch/arm/mach-s3c64xx/mach-crag6410.c |1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/crag6410.h b/arch/arm/mach-s3c64xx/crag6410.h
index 7bc6668..dcbe17f 100644
--- a/arch/arm/mach-s3c64xx/crag6410.h
+++ b/arch/arm/mach-s3c64xx/crag6410.h
@@ -14,6 +14,7 @@
 #include mach/gpio-samsung.h
 
 #define GLENFARCLAS_PMIC_IRQ_BASE  IRQ_BOARD_START
+#define BANFF_PMIC_IRQ_BASE(IRQ_BOARD_START + 64)
 
 #define PCA935X_GPIO_BASE  GPIO_BOARD_START
 #define CODEC_GPIO_BASE(GPIO_BOARD_START + 8)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c 
b/arch/arm/mach-s3c64xx/mach-crag6410.c
index 10b913b..65c426b 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -554,6 +554,7 @@ static struct wm831x_touch_pdata touch_pdata = {
 
 static struct wm831x_pdata crag_pmic_pdata = {
.wm831x_num = 1,
+   .irq_base = BANFF_PMIC_IRQ_BASE,
.gpio_base = BANFF_PMIC_GPIO_BASE,
.soft_shutdown = true,
 
-- 
1.7.2.5

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] ARM: S3C64XX: Use fixed IRQ bases to avoid conflicts on Cragganmore

2015-03-22 Thread Mark Brown
On Sun, Mar 22, 2015 at 10:40:41AM +, Charles Keepax wrote:
 There are two PMICs on Cragganmore, currently one dynamically assign
 its IRQ base and the other uses a fixed base. It is possible for the
 statically assigned PMIC to fail if its IRQ is taken by the dynamically
 assigned one. Fix this by statically assigning both the IRQ bases.
 
 Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com

Reviwed-by: Mark Brown broo...@kernel.org

This probably wants to go to stable as well.


signature.asc
Description: Digital signature