r4958 - developers/werner/gta03/cam/patches
werner at docs.openmoko.org
werner at docs.openmoko.org
Wed Mar 11 11:45:59 CET 2009
Author: werner
Date: 2009-03-11 11:45:59 +0100 (Wed, 11 Mar 2009)
New Revision: 4958
Modified:
developers/werner/gta03/cam/patches/NOTES
developers/werner/gta03/cam/patches/series
developers/werner/gta03/cam/patches/use-camera-clock.patch
Log:
Bring it to state as posted.
Modified: developers/werner/gta03/cam/patches/NOTES
===================================================================
--- developers/werner/gta03/cam/patches/NOTES 2009-03-11 10:12:04 UTC (rev 4957)
+++ developers/werner/gta03/cam/patches/NOTES 2009-03-11 10:45:59 UTC (rev 4958)
@@ -3,39 +3,28 @@
quilt mail --mbox foo --prefix PATCH \
--from 'Werner Almesberger <werner at openmoko.org>' \
--sender werner at openmoko.org \
- --subject 'Camera driver cleanup' \
+ --subject 'Define and enable camera interface clock' \
--to openmoko-kernel at lists.openmoko.org
-quilt mail --mbox bar --prefix PATCH \
- --from 'Werner Almesberger <werner at openmoko.org>' \
- --sender werner at openmoko.org \
- --subject 'Camera clock fixes' \
- --to openmoko-kernel at lists.openmoko.org
-
DO NOT USE
# formail -s sendmail -t <foo
-----
-Camera driver cleanup
+This patch series corrects the name of the camera clock, adds the
+camera clock, and explicitly enables it.
-This patch series does some light cleanup on the camera driver.
-Most of the warnings, #ifdef hell, larger-scale redundancy, and
-other gremlins are still there.
+We need to do this since Qi turns off many of the clocks it doesn't
+use after commit a24b5fcf84d2cf633a3f660edd23fa4c2a3da231
-- Werner
+Ben, patches 1/3 and 2/3 are generic and should be of interest for
+you.
------
+Andy, this patch series is based on the patch that moves power
+control to he driver. It's not in git yet, so please don't forget
+to apply it first.
-Camera clock fixes
+This patch series is only partially tested since that clock gating
+change also broke the LCM driver. (Matt is working on it.)
-This patch series should (finally) get the camera clock right.
-
-Ben, patches 2/4 and 3/4 fix more issues in
-arch/arm/plat-s3c64xx/s3c6400-clock.c
-
-Andy, patch 1/4 is a reissue. It seems that you got one of my
-botched mails when applying the first one and the commit is
-thus empty.
-
- Werner
Modified: developers/werner/gta03/cam/patches/series
===================================================================
--- developers/werner/gta03/cam/patches/series 2009-03-11 10:12:04 UTC (rev 4957)
+++ developers/werner/gta03/cam/patches/series 2009-03-11 10:45:59 UTC (rev 4958)
@@ -1,5 +1,6 @@
#hack-s3c_device_usb.patch
+#defer-camera-powerup.patch
+
rename-camera-clock.patch
add-real-camif-clock.patch
-defer-camera-powerup.patch
use-camera-clock.patch
Modified: developers/werner/gta03/cam/patches/use-camera-clock.patch
===================================================================
--- developers/werner/gta03/cam/patches/use-camera-clock.patch 2009-03-11 10:12:04 UTC (rev 4957)
+++ developers/werner/gta03/cam/patches/use-camera-clock.patch 2009-03-11 10:45:59 UTC (rev 4958)
@@ -1,4 +1,16 @@
-Index: cam/drivers/media/video/s3c_camera_driver.c
+Enable camera interface clock
+
+This patch explicitly enabled to "camif" clock, to make the driver
+work again with Qi commit a24b5fcf84d2cf633a3f660edd23fa4c2a3da231.
+
+Note that this is not fully tested since the Qi change also broke
+the LCM driver.
+
+Signed-off-by: Werner Almesberger <werner at openmoko.org>
+
+---
+
+ifIndex: cam/drivers/media/video/s3c_camera_driver.c
===================================================================
--- cam.orig/drivers/media/video/s3c_camera_driver.c 2009-03-11 16:58:55.000000000 +0800
+++ cam/drivers/media/video/s3c_camera_driver.c 2009-03-11 17:03:50.000000000 +0800
More information about the commitlog
mailing list