Mark Brown | 3 Jun 2012 14:42
Favicon
Gravatar

[PATCH 1/2] ARM: S3C64XX: Dynamically allocate the IRQ range for WM8994 on Cragganmore

Use the new irqdomain support in the WM8994 driver to dynamically allocate
the interrupt range for the WM8994 rather than doing it explicitly. This
is more idiomatic for modern interrupt usage.

Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 arch/arm/mach-s3c64xx/include/mach/crag6410.h |    1 -
 arch/arm/mach-s3c64xx/mach-crag6410-module.c  |    1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
index 4cb2f951..ec97c15 100644
--- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
+++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
 <at>  <at>  -15,7 +15,6  <at>  <at> 

 #define BANFF_PMIC_IRQ_BASE		IRQ_BOARD_START
 #define GLENFARCLAS_PMIC_IRQ_BASE	(IRQ_BOARD_START + 64)
-#define CODEC_IRQ_BASE			(IRQ_BOARD_START + 128)

 #define PCA935X_GPIO_BASE		GPIO_BOARD_START
 #define CODEC_GPIO_BASE			(GPIO_BOARD_START + 8)
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index 4979372..4a83b4e 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
 <at>  <at>  -168,7 +168,6  <at>  <at>  static struct wm8994_pdata wm8994_pdata = {
 	.gpio_defaults = {
 		0x3,          /* IRQ out, active high, CMOS */
 	},
(Continue reading)

Mark Brown | 3 Jun 2012 14:42
Favicon
Gravatar

[PATCH 2/2] ARM: S3C64XX: Dynamically assign interrupts for CPU PMIC on Cragganmore

Now that the WM831x driver uses irq_domain we can happily allow it to
assign its own IRQs.

Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
---
 arch/arm/mach-s3c64xx/include/mach/crag6410.h |    3 +--
 arch/arm/mach-s3c64xx/mach-crag6410.c         |    1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
index ec97c15..4c3c999 100644
--- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
+++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
 <at>  <at>  -13,8 +13,7  <at>  <at> 

 #include <linux/gpio.h>

-#define BANFF_PMIC_IRQ_BASE		IRQ_BOARD_START
-#define GLENFARCLAS_PMIC_IRQ_BASE	(IRQ_BOARD_START + 64)
+#define GLENFARCLAS_PMIC_IRQ_BASE	IRQ_BOARD_START

 #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 d0c352d..161c3b6 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
 <at>  <at>  -525,7 +525,6  <at>  <at>  static struct wm831x_touch_pdata touch_pdata __initdata = {

 static struct wm831x_pdata crag_pmic_pdata __initdata = {
(Continue reading)

Kukjin Kim | 19 Jun 2012 10:50

RE: [PATCH 2/2] ARM: S3C64XX: Dynamically assign interrupts for CPU PMIC on Cragganmore

Mark Brown wrote:
> 
> Now that the WM831x driver uses irq_domain we can happily allow it to
> assign its own IRQs.
> 
> Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
> ---
>  arch/arm/mach-s3c64xx/include/mach/crag6410.h |    3 +--
>  arch/arm/mach-s3c64xx/mach-crag6410.c         |    1 -
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> index ec97c15..4c3c999 100644
> --- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> +++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
>  <at>  <at>  -13,8 +13,7  <at>  <at> 
> 
>  #include <linux/gpio.h>
> 
> -#define BANFF_PMIC_IRQ_BASE		IRQ_BOARD_START
> -#define GLENFARCLAS_PMIC_IRQ_BASE	(IRQ_BOARD_START + 64)
> +#define GLENFARCLAS_PMIC_IRQ_BASE	IRQ_BOARD_START
> 
>  #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 d0c352d..161c3b6 100644
> --- a/arch/arm/mach-s3c64xx/mach-crag6410.c
(Continue reading)

Kukjin Kim | 19 Jun 2012 10:50

RE: [PATCH 1/2] ARM: S3C64XX: Dynamically allocate the IRQ range for WM8994 on Cragganmore

Mark Brown wrote:
> 
> Use the new irqdomain support in the WM8994 driver to dynamically allocate
> the interrupt range for the WM8994 rather than doing it explicitly. This
> is more idiomatic for modern interrupt usage.
> 
> Signed-off-by: Mark Brown <broonie <at> opensource.wolfsonmicro.com>
> ---
>  arch/arm/mach-s3c64xx/include/mach/crag6410.h |    1 -
>  arch/arm/mach-s3c64xx/mach-crag6410-module.c  |    1 -
>  2 files changed, 2 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> index 4cb2f951..ec97c15 100644
> --- a/arch/arm/mach-s3c64xx/include/mach/crag6410.h
> +++ b/arch/arm/mach-s3c64xx/include/mach/crag6410.h
>  <at>  <at>  -15,7 +15,6  <at>  <at> 
> 
>  #define BANFF_PMIC_IRQ_BASE		IRQ_BOARD_START
>  #define GLENFARCLAS_PMIC_IRQ_BASE	(IRQ_BOARD_START + 64)
> -#define CODEC_IRQ_BASE			(IRQ_BOARD_START + 128)
> 
>  #define PCA935X_GPIO_BASE		GPIO_BOARD_START
>  #define CODEC_GPIO_BASE			(GPIO_BOARD_START + 8)
> diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-
> s3c64xx/mach-crag6410-module.c
> index 4979372..4a83b4e 100644
> --- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
> +++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
(Continue reading)


Gmane