Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327054
b: refs/heads/master
c: 4d8cc59
h: refs/heads/master
v: v3
  • Loading branch information
Tushar Behera authored and Kukjin Kim committed Sep 13, 2012
1 parent 02128f0 commit ef0c38f
Show file tree
Hide file tree
Showing 3 changed files with 8 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: 162b172ddd7aacc754253f97b1b1ee75344bc22c
refs/heads/master: 4d8cc596dd9f8dcc909ad405742099239aaa48c0
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-exynos/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,7 @@ config MACH_ORIGEN
select EXYNOS4_SETUP_FIMD0
select EXYNOS4_SETUP_SDHCI
select EXYNOS4_SETUP_USB_PHY
select S3C24XX_PWM
help
Machine support for ORIGEN based on Samsung EXYNOS4210

Expand Down
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-exynos/mach-origen.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/platform_device.h>
#include <linux/io.h>
#include <linux/input.h>
#include <linux/pwm.h>
#include <linux/pwm_backlight.h>
#include <linux/gpio_keys.h>
#include <linux/i2c.h>
Expand Down Expand Up @@ -613,6 +614,10 @@ static struct platform_device origen_lcd_hv070wsa = {
.dev.platform_data = &origen_lcd_hv070wsa_data,
};

static struct pwm_lookup origen_pwm_lookup[] = {
PWM_LOOKUP("s3c24xx-pwm.0", 0, "pwm-backlight.0", NULL),
};

#ifdef CONFIG_DRM_EXYNOS
static struct exynos_drm_fimd_pdata drm_fimd_pdata = {
.panel = {
Expand Down Expand Up @@ -791,6 +796,7 @@ static void __init origen_machine_init(void)

platform_add_devices(origen_devices, ARRAY_SIZE(origen_devices));

pwm_add_table(origen_pwm_lookup, ARRAY_SIZE(origen_pwm_lookup));
samsung_bl_set(&origen_bl_gpio_info, &origen_bl_data);

origen_bt_setup();
Expand Down

0 comments on commit ef0c38f

Please sign in to comment.