Hey, I need to write a driver which communicates with it's chip via uart. So I was wondering which the best way is to do this.For a i2c device there is the i2c subsystem with it's "module_i2c_driver(foo_driver);" and so on.
But I couldn't find any equivalent for a uart device.So what is the desired way to implement such a driver? Is there one or do I need to "struct file * f = filp_open("/dev/ttyS4", FLAGS, MODE);" ?
Thanks any hint! Cheers, Thilo
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature