2008-05-08 12:19:28 key driver problem
hong li (CHINA)
Message: 55649
Hi everyone
I want to write a key driver on ezkit 533 , the ezkit 533 has install uclinux, the key is sw4 , it connect to pf8 , I have set the register FIO_INEN,FIO_DIR,FIO_EDGE,FIO_MASKA_D.
I need to set the register SIC_IMASK,SIC_IAR0,SIC_IAR1,SIC_IAR2 ?
Thanks
Hong
QuoteReplyEditDelete
2008-05-08 13:47:43 Re: key driver problem
Mike Frysinger (UNITED STATES)
Message: 55650
you should not be acccessing MMRs directly. please review the documentation for how to properly work with GPIOs in Linux:
http://docs.blackfin.uclinux.org/doku.php?id=gpio
http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:interrupts
QuoteReplyEditDelete
2008-05-08 22:09:43 Re: key driver problem
hong li (CHINA)
Message: 55654
Miker
Thanks your help
Hong