[openfirmware] [commit] r3233 - dev/olpc/mmp2camera

repository service svn at openfirmware.info
Tue Aug 28 18:25:57 CEST 2012


Author: wmb
Date: Tue Aug 28 18:25:56 2012
New Revision: 3233
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3233

Log:
OLPC ARM - MMP camera driver - Some tweaking of device tree properties for the benefit of the Linux driver.

Modified:
   dev/olpc/mmp2camera/loadpkg.fth

Modified: dev/olpc/mmp2camera/loadpkg.fth
==============================================================================
--- dev/olpc/mmp2camera/loadpkg.fth	Tue Aug 28 18:25:18 2012	(r3232)
+++ dev/olpc/mmp2camera/loadpkg.fth	Tue Aug 28 18:25:56 2012	(r3233)
@@ -1,9 +1,15 @@
 " "  " d420a000" " /"  begin-package
    " camera" device-name
+   " marvell,mmpcam" +compatible
    my-address my-space  h# 800  reg
    " /pmua" encode-phandle 2 encode-int encode+ " clocks" property
    d# 42 " interrupts" integer-property
 
+   0 0 encode-bytes
+      cam-pwr-gpio# 0 encode-gpio
+      cam-rst-gpio# 0 encode-gpio
+   " gpios" property
+
 0 [if]
    : alloc-capture-buffer  ( len -- vadr padr )
       \ XXX need map-in if we should use virtual mode



More information about the openfirmware mailing list