public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Driver for a SmartCard interface on a SoC
@ 2010-05-07 13:18 Juergen Beisert
  2010-05-07 13:02 ` Alan Cox
  0 siblings, 1 reply; 7+ messages in thread
From: Juergen Beisert @ 2010-05-07 13:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Greg Kroah-Hartman, Andrew Morton, Rusty Russell, Jiri Slaby,
	Alan Cox

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/  |

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

end of thread, other threads:[~2010-05-13 10:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 13:18 Driver for a SmartCard interface on a SoC Juergen Beisert
2010-05-07 13:02 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox