Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295889
b: refs/heads/master
c: 91cb8ee
h: refs/heads/master
i:
  295887: e93522b
v: v3
  • Loading branch information
Paul Parsons authored and Haojian Zhuang committed Feb 28, 2012
1 parent e5d9b2c commit 3e59ba5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 11407e5713ad85f416705a1ba0daf490ffaeda42
refs/heads/master: 91cb8ee33ffb19ae94220f79e34d1918c57a915e
16 changes: 16 additions & 0 deletions trunk/arch/arm/mach-pxa/hx4700.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,21 @@ static u16 asic3_gpio_config[] = {
ASIC3_GPIOD15_nPIOW,
};

static struct asic3_led asic3_leds[ASIC3_NUM_LEDS] = {
[0] = {
.name = "hx4700:amber",
.default_trigger = "ds2760-battery.0-charging-blink-full-solid",
},
[1] = {
.name = "hx4700:green",
.default_trigger = "unused",
},
[2] = {
.name = "hx4700:blue",
.default_trigger = "hx4700-radio",
},
};

static struct resource asic3_resources[] = {
/* GPIO part */
[0] = {
Expand Down Expand Up @@ -274,6 +289,7 @@ static struct asic3_platform_data asic3_platform_data = {
.gpio_config_num = ARRAY_SIZE(asic3_gpio_config),
.irq_base = IRQ_BOARD_START,
.gpio_base = HX4700_ASIC3_GPIO_BASE,
.leds = asic3_leds,
};

static struct platform_device asic3 = {
Expand Down

0 comments on commit 3e59ba5

Please sign in to comment.