linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* is there a struct  uart_driver like struct i2c_driver
@ 2014-08-18  9:54 Cestonaro Thilo
  2014-08-18 10:53 ` Greg KH
  2014-08-18 16:19 ` Grant Edwards
  0 siblings, 2 replies; 13+ messages in thread
From: Cestonaro Thilo @ 2014-08-18  9:54 UTC (permalink / raw)
  To: linux-serial@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 479 bytes --]

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 #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2798 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-08-25 14:57 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-18  9:54 is there a struct uart_driver like struct i2c_driver Cestonaro Thilo
2014-08-18 10:53 ` Greg KH
2014-08-18 11:11   ` Cestonaro Thilo
2014-08-18 11:19     ` Cestonaro Thilo
2014-08-18 13:43       ` Cestonaro Thilo
2014-08-18 13:50         ` Greg KH
2014-08-18 14:56           ` Cestonaro Thilo
2014-08-18 15:07             ` Greg KH
2014-08-19 12:25               ` Cestonaro Thilo
2014-08-19 12:39                 ` Greg KH
2014-08-19 12:45                   ` Cestonaro Thilo
2014-08-25 14:57                     ` Greg KH
2014-08-18 16:19 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).