Changeset 3502


Ignore:
Timestamp:
Dec 28, 2012, 9:14:36 AM (3 years ago)
Author:
quozl
Message:

OLPC XO-4 - fix support for non-touchscreen SKUs, compatible with touchscreen SKUs, treats TOUCH_HD# signal as active high, since the touchscreen controller is pulling the signal low in normal operation, momentarily enables a pull-down in conflict against the permanent pull-up, in order to sample the signal properly. Requires a BOM change. #12391

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpu/arm/olpc/nn-touchscreen.fth

    r3495 r3502  
    7171: hold-reset  ( -- )  touch-rst-gpio# gpio-clr  ;
    7272: no-data?  ( -- no-data? )  touch-int-gpio# gpio-pin@  ;
    73 : absent?  ( -- flag )  touch-hd-gpio# gpio-pin@  0=  ;
     73: absent?  ( -- flag )
     74   touch-hd-gpio# af@  +pull-dn  touch-hd-gpio# af!
     75   1 ms
     76   touch-hd-gpio# gpio-pin@
     77   touch-hd-gpio# af@  0 +pull-dn invert and  touch-hd-gpio# af!
     78;
    7479
    7580d# 250 constant /pbuf
Note: See TracChangeset for help on using the changeset viewer.