From: Juergen Beisert <jbe@pengutronix.de>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Rusty Russell <rusty@rustcorp.com.au>,
Jiri Slaby <jslaby@suse.cz>, Alan Cox <alan@linux.intel.com>
Subject: Driver for a SmartCard interface on a SoC
Date: Fri, 7 May 2010 15:18:50 +0200 [thread overview]
Message-ID: <201005071518.50406.jbe@pengutronix.de> (raw)
Hi,
most SmartCard readers are external devices, connected via USB or serial
lines. So, they do not need special in-kernel drivers.
My SmartCard interface is part of a SoC (i.MX25 CPU). So, I need an in-kernel
driver. Where would be the best place in the kernel tree, to add a driver for
this kind of device? Maybe "drivers/char"?
To exchange data with the plugged in SmartCard, only a couple of IOCTLs are
required (detecting if a card is plugged in, socket power on/off, send reset
to the card, configuring the communication parameters). Data exchange with
the SmartCard can be done with simple read/write.
Any idea?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Beisert |
Linux Solutions for Science and Industry | Phone: +49-8766-939 228 |
Vertretung Sued/Muenchen, Germany | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ |
next reply other threads:[~2010-05-07 13:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-07 13:18 Juergen Beisert [this message]
2010-05-07 13:02 ` Driver for a SmartCard interface on a SoC Alan Cox
2010-05-07 14:25 ` Juergen Beisert
2010-05-11 21:33 ` Alan Cox
2010-05-12 7:38 ` Juergen Beisert
2010-05-13 9:33 ` Alan Cox
2010-05-13 9:38 ` Alan Cox
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=201005071518.50406.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=akpm@linux-foundation.org \
--cc=alan@linux.intel.com \
--cc=gregkh@suse.de \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox