diff options
author | Koen Kooi <koen@openembedded.org> | 2010-05-03 22:53:37 +0200 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-05-04 07:35:50 +0200 |
commit | b8bc13a12d46d461c0a0ace1d9dce37dc816e741 (patch) | |
tree | c240e584e5dd171ed8dcfe439b73c06d9f8b3435 /recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch | |
parent | 4b90bc3e1bc9fbd2796de43e4eec6fbede5b4949 (diff) | |
download | openembedded-b8bc13a12d46d461c0a0ace1d9dce37dc816e741.tar.gz |
linux-omap-psp 26.32: sync with beagleboard validation kernel again
This adds back support for the ds1307 RTC and adds support for the AT24 eeprom
Diffstat (limited to 'recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch')
-rw-r--r-- | recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch b/recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch new file mode 100644 index 0000000000..a1ffaeeba1 --- /dev/null +++ b/recipes/linux/linux-omap-psp-2.6.32/0008-board-omap3beagle-turn-on-power-to-camera-on-boot-an.patch @@ -0,0 +1,31 @@ +From e97c34409d2b503f695586f613a447799e98fea8 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <k-kooi@ti.com> +Date: Thu, 11 Feb 2010 20:23:01 +0100 +Subject: [PATCH 08/45] board-omap3beagle: turn on power to camera on boot and add some comments + +--- + arch/arm/mach-omap2/board-omap3beagle.c | 5 +++++ + 1 files changed, 5 insertions(+), 0 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c +index accf80d..429dacb 100644 +--- a/arch/arm/mach-omap2/board-omap3beagle.c ++++ b/arch/arm/mach-omap2/board-omap3beagle.c +@@ -321,9 +321,14 @@ static int beagle_twl_gpio_setup(struct device *dev, + */ + + if (cpu_is_omap3630()) { ++ /* Power on DVI, Serial and PWR led */ + gpio_request(gpio + 1, "nDVI_PWR_EN"); + gpio_direction_output(gpio + 1, 0); + ++ /* Power on camera interface */ ++ gpio_request(gpio + 2, "CAM_EN"); ++ gpio_direction_output(gpio + 2, 1); ++ + /* TWL4030_GPIO_MAX + 0 == ledA, EHCI nEN_USB_PWR (out, active low) */ + gpio_request(gpio + TWL4030_GPIO_MAX, "nEN_USB_PWR"); + gpio_direction_output(gpio + TWL4030_GPIO_MAX, 1); +-- +1.6.6.1 + |