All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cestonaro Thilo <thilo.cestonaro@ts.fujitsu.com>
To: Greg KH <greg@kroah.com>
Cc: "linux-serial@vger.kernel.org" <linux-serial@vger.kernel.org>
Subject: Re: is there a struct  uart_driver like struct i2c_driver
Date: Mon, 18 Aug 2014 13:19:41 +0200	[thread overview]
Message-ID: <53F1E14D.7000408@ts.fujitsu.com> (raw)
In-Reply-To: <53F1DF48.8000007@ts.fujitsu.com>

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

Hmm or not :( ... at a first glance it was.

But this is for a driver which implements the UART support but I want to 
use the UART but not implement it's hw support.

As a i2c_module doesn't implement the i2c controller support but uses it.

Or do I miss something?

Cheers,
Thilo

On 18.08.2014 13:11, Cestonaro Thilo wrote:
> Thx Greg. This one I missed!
>
> But it's what I searched for.
>
> Cheers,
> Thilo
>
> On 18.08.2014 12:53, Greg KH wrote:
>> On Mon, Aug 18, 2014 at 11:54:48AM +0200, Cestonaro Thilo wrote:
>>> 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.
>> Did you see include/linux/serial_core.h ?
>>
>
>


-- 
With best regards
Thilo Cestonaro

FTS PSO PM&D CCD E EPC

Fujitsu Technology Solutions GmbH
Buergermeister-Ulrich-Str. 100
86199 Augsburg
Germany

Tel.: +49 (0)821 804 2328
Fax: +49 (0)821 804 82328
E-mail: thilo.cestonaro@ts.fujitsu.com

Web: http://ts.fujitsu.com
Company details: http://ts.fujitsu.com/imprint



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2798 bytes --]

  reply	other threads:[~2014-08-18 11:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53F1E14D.7000408@ts.fujitsu.com \
    --to=thilo.cestonaro@ts.fujitsu.com \
    --cc=greg@kroah.com \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.