linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: S3C64XX: Add devices for Kilchoman audio module on Cragganmore
@ 2011-09-02 18:37 Mark Brown
  2011-09-05 10:28 ` Kukjin Kim
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Brown @ 2011-09-02 18:37 UTC (permalink / raw)
  To: linux-arm-kernel

The Kilchoman audio module carries a WM5100 audio CODEC and WM9081 speaker
amplifier.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index c0fe002..7c5ddb6 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -117,6 +117,14 @@ static const struct i2c_board_info wm1254_devs[] = {
 	  .platform_data = &wm9081_pdata, },
 };
 
+static const struct i2c_board_info wm1255_devs[] = {
+	{ I2C_BOARD_INFO("wm5100", 0x1a),
+	  .irq = GLENFARCLAS_PMIC_IRQ_BASE + WM831X_IRQ_GPIO_2,
+	},
+	{ I2C_BOARD_INFO("wm9081", 0x6c),
+	  .platform_data = &wm9081_pdata, },
+};
+
 static const struct i2c_board_info wm1259_devs[] = {
 	{ I2C_BOARD_INFO("wm8962", 0x1a),
 	  .platform_data = &wm8962_pdata,
@@ -145,7 +153,8 @@ static __devinitdata const struct {
 	  .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) },
 	{ .id = 0x3a, .name = "1259-EV1 Tobermory",
 	  .i2c_devs = wm1259_devs, .num_i2c_devs = ARRAY_SIZE(wm1259_devs) },
-	{ .id = 0x3b, .name = "1255-EV1 Kilchoman" },
+	{ .id = 0x3b, .name = "1255-EV1 Kilchoman",
+	  .i2c_devs = wm1255_devs, .num_i2c_devs = ARRAY_SIZE(wm1255_devs) },
 	{ .id = 0x3c, .name = "1273-EV1 Longmorn" },
 };
 
-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: S3C64XX: Add devices for Kilchoman audio module on Cragganmore
  2011-09-02 18:37 [PATCH] ARM: S3C64XX: Add devices for Kilchoman audio module on Cragganmore Mark Brown
@ 2011-09-05 10:28 ` Kukjin Kim
  0 siblings, 0 replies; 2+ messages in thread
From: Kukjin Kim @ 2011-09-05 10:28 UTC (permalink / raw)
  To: linux-arm-kernel

Mark Brown wrote:
> 
> The Kilchoman audio module carries a WM5100 audio CODEC and WM9081
> speaker
> amplifier.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
>  arch/arm/mach-s3c64xx/mach-crag6410-module.c |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-
> s3c64xx/mach-crag6410-module.c
> index c0fe002..7c5ddb6 100644
> --- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
> +++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
> @@ -117,6 +117,14 @@ static const struct i2c_board_info wm1254_devs[] = {
>  	  .platform_data = &wm9081_pdata, },
>  };
> 
> +static const struct i2c_board_info wm1255_devs[] = {
> +	{ I2C_BOARD_INFO("wm5100", 0x1a),
> +	  .irq = GLENFARCLAS_PMIC_IRQ_BASE + WM831X_IRQ_GPIO_2,
> +	},
> +	{ I2C_BOARD_INFO("wm9081", 0x6c),
> +	  .platform_data = &wm9081_pdata, },
> +};
> +
>  static const struct i2c_board_info wm1259_devs[] = {
>  	{ I2C_BOARD_INFO("wm8962", 0x1a),
>  	  .platform_data = &wm8962_pdata,
> @@ -145,7 +153,8 @@ static __devinitdata const struct {
>  	  .i2c_devs = wm1254_devs, .num_i2c_devs =
> ARRAY_SIZE(wm1254_devs) },
>  	{ .id = 0x3a, .name = "1259-EV1 Tobermory",
>  	  .i2c_devs = wm1259_devs, .num_i2c_devs =
> ARRAY_SIZE(wm1259_devs) },
> -	{ .id = 0x3b, .name = "1255-EV1 Kilchoman" },
> +	{ .id = 0x3b, .name = "1255-EV1 Kilchoman",
> +	  .i2c_devs = wm1255_devs, .num_i2c_devs =
> ARRAY_SIZE(wm1255_devs) },
>  	{ .id = 0x3c, .name = "1273-EV1 Longmorn" },
>  };
> 
> --
> 1.7.5.4

Applied.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <kgene.kim@samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-05 10:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-02 18:37 [PATCH] ARM: S3C64XX: Add devices for Kilchoman audio module on Cragganmore Mark Brown
2011-09-05 10:28 ` Kukjin Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).