Changeset 2634


Ignore:
Timestamp:
Oct 22, 2011, 5:40:28 AM (3 years ago)
Author:
wmb
Message:

OLPC XO-1.75 - rev C uses GPIO 144 to control CAM_PWRDN; added support for that. Also requires a change in CForth.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/olpc/mmp2camera/platform.fth

    r2556 r2634  
    2020: sensor-power-off  ( -- )  d# 145 gpio-clr  ;
    2121[else]
    22 : sensor-power-on   ( -- )  d# 150 gpio-set  ;
    23 : sensor-power-off  ( -- )  d# 150 gpio-clr  ;
     22: sensor-power-on   ( -- )  d# 150 gpio-set  d# 144 gpio-clr  ;
     23: sensor-power-off  ( -- )  ( d# 144 gpio-set )  d# 150 gpio-clr  ;  \ Leave low for Linux
    2424[then]
    2525
     
    2727\ PIXMCLK on GPIO69, PIXCLK on GPIO70, PIXDATA[7:0] on GPIO[59:66]
    2828\ CAM_SCL on GPIO108, CAM_SDA on GPIO109 (bitbang)
     29\ CAM_PWRDN on GPIO144
    2930
    3031\ LICENSE_BEGIN
Note: See TracChangeset for help on using the changeset viewer.