Driver for a SmartCard interface on a SoC

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Juergen Beisert
Date: Friday, May 7, 2010 - 6:18 am

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/  |
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Driver for a SmartCard interface on a SoC, Alan Cox, (Fri May 7, 6:02 am)
Driver for a SmartCard interface on a SoC, Juergen Beisert, (Fri May 7, 6:18 am)
Re: Driver for a SmartCard interface on a SoC, Juergen Beisert, (Fri May 7, 7:25 am)
Re: Driver for a SmartCard interface on a SoC, Alan Cox, (Tue May 11, 2:33 pm)
Re: Driver for a SmartCard interface on a SoC, Juergen Beisert, (Wed May 12, 12:38 am)
Re: Driver for a SmartCard interface on a SoC, Alan Cox, (Thu May 13, 2:33 am)
Re: Driver for a SmartCard interface on a SoC, Alan Cox, (Thu May 13, 2:38 am)