Skip to contentSkip to conversation

ARM: S3C64XX: Add module identification for Balblair Cragganmore module

PATCH New Mark Brown 2 participants 4 messages May 30, 2012 – Jun 19, 2012

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/2 ARM: S3C64XX: Add module identification for Balblair Cragganmore module

---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-s3c64xx/mach-crag6410-module.c +1 -0
index dbd5771..985e255 100644
@@ -219,6 +219,7 @@ static __devinitdata const struct {
 	  .spi_devs = wm1253_devs, .num_spi_devs = ARRAY_SIZE(wm1253_devs) },
 	{ .id = 0x32, .name = "XXXX-EV1 Caol Illa" },
 	{ .id = 0x33, .name = "XXXX-EV1 Oban" },
+	{ .id = 0x34, .name = "WM0010-6320-CS42 Balblair" },
 	{ .id = 0x39, .name = "1254-EV1 Dallas Dhu",
 	  .i2c_devs = wm1254_devs, .num_i2c_devs = ARRAY_SIZE(wm1254_devs) },
 	{ .id = 0x3a, .name = "1259-EV1 Tobermory",
Signature · 1 line
1.7.10
author
#1 lore raw

PATCH 2/2 ARM: S3C64XX: Add WM5102 EVM to Cragganmore modules

No platform data yet as driver is not yet merged.

---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c |    7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/mach-s3c64xx/mach-crag6410-module.c +7 -0
index 985e255..f80761c 100644
@@ -192,6 +192,11 @@ static const struct i2c_board_info wm1277_devs[] = {
 	},
 };
 
+static const struct i2c_board_info wm5102_devs[] = {
+	{ I2C_BOARD_INFO("wm5102", 0x1a),
+	  .irq = GLENFARCLAS_PMIC_IRQ_BASE + WM831X_IRQ_GPIO_2, },
+};
+
 static const struct i2c_board_info wm6230_i2c_devs[] = {
 	{ I2C_BOARD_INFO("wm9081", 0x6c),
 	  .platform_data = &wm9081_pdata, },
@@ -229,6 +234,8 @@ static __devinitdata const struct {
 	{ .id = 0x3c, .name = "1273-EV1 Longmorn" },
 	{ .id = 0x3d, .name = "1277-EV1 Littlemill",
 	  .i2c_devs = wm1277_devs, .num_i2c_devs = ARRAY_SIZE(wm1277_devs) },
+	{ .id = 0x3e, .name = "WM5102-6271-EV1-CS127",
+	  .i2c_devs = wm5102_devs, .num_i2c_devs = ARRAY_SIZE(wm5102_devs) },
 };
 
 static __devinit int wlf_gf_module_probe(struct i2c_client *i2c,
Signature · 1 line
1.7.10
#3 lore raw

PATCH 1/2 ARM: S3C64XX: Add module identification for Balblair Cragganmore module

In reply to Mark Brown
Quoted 19 lines · Mark Brown
---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c |    1 +
 1 file changed, 1 insertion(+)
arch/arm/mach- renamed from arch/arm/mach-s3c64xx/mach-crag6410-module.c +0 -0

s3c64xx/mach-crag6410-module.c
index dbd5771..985e255 100644

arch/arm/mach-s3c64xx/mach-crag6410-module.c +1 -0
@@ -219,6 +219,7 @@ static __devinitdata const struct {
 	  .spi_devs = wm1253_devs, .num_spi_devs =
 ARRAY_SIZE(wm1253_devs) },
 	{ .id = 0x32, .name = "XXXX-EV1 Caol Illa" },
 	{ .id = 0x33, .name = "XXXX-EV1 Oban" },
+	{ .id = 0x34, .name = "WM0010-6320-CS42 Balblair" },
 	{ .id = 0x39, .name = "1254-EV1 Dallas Dhu",
 	  .i2c_devs = wm1254_devs, .num_i2c_devs =
Quoted 4 lines

ARRAY_SIZE(wm1254_devs) },
{ .id = 0x3a, .name = "1259-EV1 Tobermory",
--
1.7.10

OK, will apply.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

#2 lore raw

PATCH 2/2 ARM: S3C64XX: Add WM5102 EVM to Cragganmore modules

In reply to Mark Brown
Quoted 35 lines · Mark Brown

No platform data yet as driver is not yet merged.

---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c |    7 +++++++
 1 file changed, 7 insertions(+)
arch/arm/mach- renamed from arch/arm/mach-s3c64xx/mach-crag6410-module.c +0 -0

s3c64xx/mach-crag6410-module.c
index 985e255..f80761c 100644

arch/arm/mach-s3c64xx/mach-crag6410-module.c +7 -0
@@ -192,6 +192,11 @@ static const struct i2c_board_info wm1277_devs[] = {
 	},
 };
 
+static const struct i2c_board_info wm5102_devs[] = {
+	{ I2C_BOARD_INFO("wm5102", 0x1a),
+	  .irq = GLENFARCLAS_PMIC_IRQ_BASE + WM831X_IRQ_GPIO_2, },
+};
+
 static const struct i2c_board_info wm6230_i2c_devs[] = {
 	{ I2C_BOARD_INFO("wm9081", 0x6c),
 	  .platform_data = &wm9081_pdata, },
@@ -229,6 +234,8 @@ static __devinitdata const struct {
 	{ .id = 0x3c, .name = "1273-EV1 Longmorn" },
 	{ .id = 0x3d, .name = "1277-EV1 Littlemill",
 	  .i2c_devs = wm1277_devs, .num_i2c_devs =
 ARRAY_SIZE(wm1277_devs) },
+	{ .id = 0x3e, .name = "WM5102-6271-EV1-CS127",
+	  .i2c_devs = wm5102_devs, .num_i2c_devs =
 ARRAY_SIZE(wm5102_devs) },
 };
Quoted 3 lines

static __devinit int wlf_gf_module_probe(struct i2c_client *i2c,
--
1.7.10

OK, will apply.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.