From 2bb1dbdef919b7723bd3c3e175293e57052682ea Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Thu, 22 Jan 2009 18:47:24 +0100 Subject: linux-omap: add patch to get i2c working on the pico DLP --- ...001-board-omap3beagle-set-i2c-3-to-100kHz.patch | 30 ++++++++++++++++++++++ packages/linux/linux-omap_2.6.28.bb | 3 ++- packages/linux/linux-omap_git.bb | 3 ++- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 packages/linux/linux-omap-2.6.28/0001-board-omap3beagle-set-i2c-3-to-100kHz.patch diff --git a/packages/linux/linux-omap-2.6.28/0001-board-omap3beagle-set-i2c-3-to-100kHz.patch b/packages/linux/linux-omap-2.6.28/0001-board-omap3beagle-set-i2c-3-to-100kHz.patch new file mode 100644 index 0000000000..d4a9716349 --- /dev/null +++ b/packages/linux/linux-omap-2.6.28/0001-board-omap3beagle-set-i2c-3-to-100kHz.patch @@ -0,0 +1,30 @@ +From 8364891aa9a99eac26e6069840c00489764d963f Mon Sep 17 00:00:00 2001 +From: Koen Kooi +Date: Thu, 15 Jan 2009 20:11:07 +0100 +Subject: [PATCH] board-omap3beagle: set i2c-3 to 100kHz + +Changing it do 100kHz is needed to make more devices works properly. Controlling the TI DLP Pico projector[1] doesn't work properly at 400kHz, 100kHz and lower work fine. EDID readout is unaffected by this change. + +[1] http://focus.ti.com/dlpdmd/docs/dlpdiscovery.tsp?sectionId=60&tabId=2234 + +Signed-off-by: Koen Kooi +--- + arch/arm/mach-omap2/board-omap3beagle.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c +index fe97bab..f279404 100644 +--- a/arch/arm/mach-omap2/board-omap3beagle.c ++++ b/arch/arm/mach-omap2/board-omap3beagle.c +@@ -227,7 +227,7 @@ static int __init omap3_beagle_i2c_init(void) + #ifdef CONFIG_I2C2_OMAP_BEAGLE + omap_register_i2c_bus(2, 400, NULL, 0); + #endif +- omap_register_i2c_bus(3, 400, NULL, 0); ++ omap_register_i2c_bus(3, 100, NULL, 0); + return 0; + } + +-- +1.5.6.5 + diff --git a/packages/linux/linux-omap_2.6.28.bb b/packages/linux/linux-omap_2.6.28.bb index 57572b3c7a..a128ebf574 100644 --- a/packages/linux/linux-omap_2.6.28.bb +++ b/packages/linux/linux-omap_2.6.28.bb @@ -10,7 +10,7 @@ DEFAULT_PREFERENCE = "-1" SRCREV = "9a6536c4eb086b43acab99ef3ac8b6e61ed9b7de" PV = "2.6.28" -PR = "r8" +PR = "r9" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=omap-2.6.28;protocol=git \ file://defconfig" @@ -48,6 +48,7 @@ SRC_URI_append = " \ file://0001-ASoC-Add-support-for-OMAP3-EVM.patch;patch=1 \ file://0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch;patch=1 \ file://revert-XCCR.patch;patch=1 \ + file://0001-board-omap3beagle-set-i2c-3-to-100kHz.patch;patch=1 \ " diff --git a/packages/linux/linux-omap_git.bb b/packages/linux/linux-omap_git.bb index 9abe76dd8d..708abad181 100644 --- a/packages/linux/linux-omap_git.bb +++ b/packages/linux/linux-omap_git.bb @@ -14,7 +14,7 @@ SRCREV = "45e5c5ffd32ade5a21a5e87b4040072590ec3ae1" #PV = "2.6.27+2.6.28-rc8+${PR}+gitr${SRCREV}" PV = "2.6.28+2.6.29-rc2${PR}+gitr${SRCREV}" -PR = "r9" +PR = "r10" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;protocol=git \ file://defconfig" @@ -48,6 +48,7 @@ SRC_URI_append = " \ file://0014-DSS-fix-clk_get_usecount.patch;patch=1 \ # file://0001-ASoC-Add-support-for-OMAP3-EVM.patch;patch=1 \ file://0001-This-merges-Steve-Kipisz-USB-EHCI-support.-He-star.patch;patch=1 \ + file://0001-board-omap3beagle-set-i2c-3-to-100kHz.patch;patch=1 \ " -- cgit v1.2.3