2008-04-17 04:33:37 how to use i2c TWI interface in kernel space
William MARTIN (FRANCE)
Message: 54395 hello,
I'm writing a driver for NXP16IS752, it's a dual UART over i2c, compatible with 16550 registers.
The interface with the TTY layer works fine, but i'm searching how to use the i2c bus in the kernel space.
This doc describe only how to use i2c in user space
http://docs.blackfin.uclinux.org/doku.php?id=i2c
I'm working with the SVN trunck.
Thanks,
William
TranslateQuoteReplyEditDelete
2008-04-17 05:36:49 Re: how to use i2c TWI interface in kernel space
Yi Li (CHINA)
Message: 54403 maybe you can refer to linux-2.6.x/drivers/media/video/blackfin/. The camera driver configure sensors via i2c.
QuoteReplyEditDelete
2008-04-17 15:26:52 Re: how to use i2c TWI interface in kernel space
Mike Frysinger (UNITED STATES)
Message: 54433 umm, it's the other way around. that document describes how to do it in kernel space, not user space.
QuoteReplyEditDelete
2008-04-19 07:32:36 Re: how to use i2c TWI interface in kernel space
William MARTIN (FRANCE)
Message: 54556 Thanks Yi Li,
i will try the next week