From 53b9a9e5cc8c8c862de93600e856d038b08eca03 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Wed, 17 Oct 2012 17:41:09 +0900 Subject: [PATCH] --- yaml --- r: 340199 b: refs/heads/master c: e6a194b7827ab8ece296f579c9d3f156c1545a3f h: refs/heads/master i: 340197: cc33cf8bb8f5bb3a6ac6f84619be30db0b52b45c 340195: 725abc5d95abc68212fefb895ac526bd0dd5ad10 340191: 46eac919436922784ed440a596727f893b86ad58 v: v3 --- [refs] | 2 +- .../arch/arm/mach-s3c64xx/mach-crag6410-module.c | 15 +++++++++++++++ trunk/arch/arm/mach-s3c64xx/mach-crag6410.c | 5 +++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 69ee39c8ee51..ffe9e096897c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 41830ee0a8098cae5fd1f6dbe24803d290338096 +refs/heads/master: e6a194b7827ab8ece296f579c9d3f156c1545a3f diff --git a/trunk/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/trunk/arch/arm/mach-s3c64xx/mach-crag6410-module.c index fc758b1a4ffa..4744c42ebdf5 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-crag6410-module.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-crag6410-module.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include @@ -277,6 +278,18 @@ static const struct i2c_board_info wm6230_i2c_devs[] = { .platform_data = &wm9081_pdata, }, }; +static struct wm2200_pdata wm2200_pdata = { + .ldo_ena = S3C64XX_GPN(7), + .gpio_defaults = { + [2] = 0x0005, /* GPIO3 24.576MHz output clock */ + }, +}; + +static const struct i2c_board_info wm2200_i2c[] = { + { I2C_BOARD_INFO("wm2200", 0x3a), + .platform_data = &wm2200_pdata, }, +}; + static __devinitdata const struct { u8 id; u8 rev; @@ -326,6 +339,8 @@ static __devinitdata const struct { { .id = 0x3e, .rev = -1, .name = "WM5102-6271-EV1-CS127 Amrut", .spi_devs = wm5102_spi_devs, .num_spi_devs = ARRAY_SIZE(wm5102_spi_devs) }, + { .id = 0x3f, .rev = -1, .name = "WM2200-6271-CS90-M-REV1", + .i2c_devs = wm2200_i2c, .num_i2c_devs = ARRAY_SIZE(wm2200_i2c) }, }; static __devinit int wlf_gf_module_probe(struct i2c_client *i2c, diff --git a/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c b/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c index 6d5b2c668825..7e355238abe8 100644 --- a/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c +++ b/trunk/arch/arm/mach-s3c64xx/mach-crag6410.c @@ -629,6 +629,11 @@ static struct regulator_consumer_supply pvdd_1v8_consumers[] __devinitdata = { REGULATOR_SUPPLY("DCVDD", "1-001a"), REGULATOR_SUPPLY("AVDD", "1-001a"), REGULATOR_SUPPLY("DBVDD", "spi0.0"), + + REGULATOR_SUPPLY("DBVDD", "1-003a"), + REGULATOR_SUPPLY("LDOVDD", "1-003a"), + REGULATOR_SUPPLY("CPVDD", "1-003a"), + REGULATOR_SUPPLY("AVDD", "1-003a"), REGULATOR_SUPPLY("DBVDD1", "spi0.1"), REGULATOR_SUPPLY("DBVDD2", "spi0.1"), REGULATOR_SUPPLY("DBVDD3", "spi0.1"),