Changeset 527298a in mainline


Ignore:
Timestamp:
2010-08-12T20:49:37Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2d0c3a6
Parents:
07c66cf
Message:

GTA02 touchscreen driver (no dragging detection).

Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/Makefile.inc

    r07c66cf r527298a  
    4242
    4343RD_SRVS_ESSENTIAL += \
     44        $(USPACE_PATH)/srv/hid/s3c24xx_ts/s3c24ts \
    4445        $(USPACE_PATH)/srv/hw/char/s3c24xx_uart/s3c24ser
    4546
  • kernel/arch/arm32/src/mach/gta02/gta02.c

    r07c66cf r527298a  
    221221                }
    222222        }
     223
     224        /* Enable interrupts from ADC */
     225        s3c24xx_irqc_src_enable(&gta02_irqc, S3C24XX_INT_ADC);
     226
     227        /* Enable interrupts from ADC sub-sources */
     228        s3c24xx_irqc_subsrc_enable(&gta02_irqc, S3C24XX_SUBINT_ADC_S);
     229        s3c24xx_irqc_subsrc_enable(&gta02_irqc, S3C24XX_SUBINT_TC);
    223230}
    224231
  • uspace/Makefile

    r07c66cf r527298a  
    6666        srv/hid/adb_mouse \
    6767        srv/hid/char_mouse \
     68        srv/hid/s3c24xx_ts \
    6869        srv/hid/fb \
    6970        srv/hid/kbd \
  • uspace/app/init/init.c

    r07c66cf r527298a  
    277277        srv_start("/srv/adb_ms");
    278278        srv_start("/srv/char_ms");
     279        srv_start("/srv/s3c24ts");
    279280       
    280281        spawn("/srv/fb");
Note: See TracChangeset for help on using the changeset viewer.