Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 9:21 PM, Greg KH wrote: On Thu, May 29, 2014 at 02:26:55PM +0530, Satish Patel wrote: On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device

Re: [PATCH v3 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-05-29 Thread Satish Patel
On 5/29/2014 9:23 PM, Greg Kroah-Hartman wrote: On Thu, May 29, 2014 at 03:35:37PM +0530, Satish Patel wrote: +enum usim_card_mode { + USIM_CARD_MODE_ASYNC = 0, /* asynchronous mode */ + USIM_CARD_MODE_SYNC_TYPE1, /* synchronous mode: Type 1

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 7:17 PM, Rob Herring wrote: On Thu, May 29, 2014 at 3:34 AM, Satish Patel wrote: On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard via PHY Some

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device + * @pdata: pointer to phy's private data structure + * @set_config: called to set phy's configuration

Re: [PATCH v3 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-05-29 Thread Satish Patel
On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:14PM +0530, Satish Patel wrote: TDA8026 is a SmartCard PHY from NXP. The PHY interfaces with the main processor over the I2C interface and acts as a slave device. The driver also exposes the phy interface (defined@include

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard via PHY Some SmartCard PHY has multiple slots for cards. This inerface also enables controller to communicate with one

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard via PHY Some SmartCard PHY has multiple slots for cards. This inerface also enables controller to communicate with one

Re: [PATCH v3 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-05-29 Thread Satish Patel
On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:14PM +0530, Satish Patel wrote: TDA8026 is a SmartCard PHY from NXP. The PHY interfaces with the main processor over the I2C interface and acts as a slave device. The driver also exposes the phy interface (defined@include

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device + * @pdata: pointer to phy's private data structure + * @set_config: called to set phy's configuration

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 7:17 PM, Rob Herring wrote: On Thu, May 29, 2014 at 3:34 AM, Satish Patel satish.pa...@ti.com wrote: On 5/29/2014 12:23 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: SmartCard controller uses this interface to communicate with SmartCard

Re: [PATCH v3 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-05-29 Thread Satish Patel
On 5/29/2014 9:23 PM, Greg Kroah-Hartman wrote: On Thu, May 29, 2014 at 03:35:37PM +0530, Satish Patel wrote: +enum usim_card_mode { + USIM_CARD_MODE_ASYNC = 0, /* asynchronous mode */ + USIM_CARD_MODE_SYNC_TYPE1, /* synchronous mode: Type 1

Re: [PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-29 Thread Satish Patel
On 5/29/2014 9:21 PM, Greg KH wrote: On Thu, May 29, 2014 at 02:26:55PM +0530, Satish Patel wrote: On 5/29/2014 12:14 AM, Greg KH wrote: On Wed, May 28, 2014 at 02:27:13PM +0530, Satish Patel wrote: +/** + * struct sc_phy - The basic smart card phy structure + * + * @dev: phy device

[PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-28 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 136 2

[PATCH v3 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-05-28 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Satish Patel --- Documentation/devicetree/bindings/misc/tda8026.txt | 19 + drivers/misc/Kconfig

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-05-28 Thread Satish Patel
On 5/28/2014 6:11 AM, Greg KH wrote: On Fri, May 16, 2014 at 09:14:34AM +0530, Satish Patel wrote: On 1/30/2014 6:35 PM, Greg KH wrote: On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed

[PATCH v3 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-05-28 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel --- arch/arm/boot/dts/am4372.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index d1f8707

[PATCH v3 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim and phy

2014-05-28 Thread Satish Patel
is connected to i2c2 lines Signed-off-by: Satish Patel --- arch/arm/boot/dts/am43x-epos-evm.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 167dbc8..ecc8b1a 100644 --- a/arch

[PATCH v3 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-05-28 Thread Satish Patel
entry is added to usim v1 cover letter link# https://lkml.org/lkml/2014/1/6/250 v2 cover letter link# https://lkml.org/lkml/2014/1/19/168 Satish Patel (5): sc_phy:SmartCard(SC) PHY interface to SC controller misc: tda8026: Add NXP TDA8026 PHY driver char: ti-usim: Add driver for USIM module

[PATCH v3 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-05-28 Thread Satish Patel
entry is added to usim v1 cover letter link# https://lkml.org/lkml/2014/1/6/250 v2 cover letter link# https://lkml.org/lkml/2014/1/19/168 Satish Patel (5): sc_phy:SmartCard(SC) PHY interface to SC controller misc: tda8026: Add NXP TDA8026 PHY driver char: ti-usim: Add driver for USIM module

[PATCH v3 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim and phy

2014-05-28 Thread Satish Patel
is connected to i2c2 lines Signed-off-by: Satish Patel satish.pa...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index 167dbc8..ecc8b1a

[PATCH v3 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-05-28 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel satish.pa...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-05-28 Thread Satish Patel
On 5/28/2014 6:11 AM, Greg KH wrote: On Fri, May 16, 2014 at 09:14:34AM +0530, Satish Patel wrote: On 1/30/2014 6:35 PM, Greg KH wrote: On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed

[PATCH v3 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-05-28 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/devicetree/bindings/misc/tda8026.txt | 19 + drivers/misc/Kconfig

[PATCH v3 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-05-28 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 136

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-05-15 Thread Satish Patel
On 1/30/2014 6:35 PM, Greg KH wrote: On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed ** removed "gpio_to_irq" as GPIO controller process cell from DT and give it to DT node *

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-05-15 Thread Satish Patel
On 1/30/2014 6:35 PM, Greg KH wrote: On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed ** removed gpio_to_irq as GPIO controller process cell from DT and give it to DT node ** comments

Re: [PATCH v2 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-02-05 Thread Satish Patel
On 2/4/2014 6:49 PM, Roger Quadros wrote: > Hi Satish, > > On 01/20/2014 06:33 AM, Satish Patel wrote: >> TI-USIM driver is a platform driver that provides a character >> driver interface to user applications. >> >> It allows user applications to call IOCTL's to

Re: [PATCH v2 3/5] char: ti-usim: Add driver for USIM module on AM43xx

2014-02-05 Thread Satish Patel
On 2/4/2014 6:49 PM, Roger Quadros wrote: Hi Satish, On 01/20/2014 06:33 AM, Satish Patel wrote: TI-USIM driver is a platform driver that provides a character driver interface to user applications. It allows user applications to call IOCTL's to perform smart card operations. Driver

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-01-29 Thread Satish Patel
On 1/20/2014 10:03 AM, Satish Patel wrote: > Changes from v1: > * RFC(v1) comments are fixed > > ** removed "gpio_to_irq" as GPIO controller process cell from DT and > give it to DT node > ** comments on documentation > ** few other comments on null check

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-01-29 Thread Satish Patel
On 1/20/2014 10:03 AM, Satish Patel wrote: Changes from v1: * RFC(v1) comments are fixed ** removed gpio_to_irq as GPIO controller process cell from DT and give it to DT node ** comments on documentation ** few other comments on null checks are resolved * BWT timing configuration

[PATCH v2 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim and phy

2014-01-19 Thread Satish Patel
is connected to i2c2 lines Signed-off-by: Satish Patel --- arch/arm/boot/dts/am43x-epos-evm.dts | 43 ++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index fbf9c4c..38ef2b8

[PATCH v2 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-01-19 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel --- arch/arm/boot/dts/am4372.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi

[PATCH v2 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-01-19 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 132 +++ 2

[PATCH v2 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-19 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Satish Patel --- Documentation/devicetree/bindings/misc/tda8026.txt | 19 + drivers/misc/Kconfig

[PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-01-19 Thread Satish Patel
ink# https://lkml.org/lkml/2014/1/6/250 Satish Patel (5): sc_phy:SmartCard(SC) PHY interface to SC controller misc: tda8026: Add NXP TDA8026 PHY driver char: ti-usim: Add driver for USIM module on AM43xx ARM: dts: AM43xx: DT entries added for ti-usim ARM: dts: AM43xx-epos-evm: DT entri

[PATCH v2 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-19 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/devicetree/bindings/misc/tda8026.txt | 19 + drivers/misc/Kconfig

[PATCH v2 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-01-19 Thread Satish Patel
://lkml.org/lkml/2014/1/6/250 Satish Patel (5): sc_phy:SmartCard(SC) PHY interface to SC controller misc: tda8026: Add NXP TDA8026 PHY driver char: ti-usim: Add driver for USIM module on AM43xx ARM: dts: AM43xx: DT entries added for ti-usim ARM: dts: AM43xx-epos-evm: DT entries for ti-usim

[PATCH v2 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-01-19 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel satish.pa...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm

[PATCH v2 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-01-19 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 132

[PATCH v2 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim and phy

2014-01-19 Thread Satish Patel
is connected to i2c2 lines Signed-off-by: Satish Patel satish.pa...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 43 ++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts

Re: [RFC PATCH v1 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-06 Thread Satish Patel
On 1/6/2014 9:00 PM, Mark Rutland wrote: > On Mon, Jan 06, 2014 at 12:07:39PM +0000, Satish Patel wrote: >> TDA8026 is a SmartCard PHY from NXP. >> >> The PHY interfaces with the main processor over the >> I2C interface and acts as a slave device. >> >> Th

[RFC PATCH v1 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-01-06 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 132 +++ 2

[RFC PATCH v1 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim

2014-01-06 Thread Satish Patel
Board specific DT entries for TI's USIM - smart card controller of AM43xx platfrom.These entries are used by USIM driver for various configurations. Shutdown line of NXP phy is maped to GPIO5. So enabling same to have support for NXP phy. Signed-off-by: Satish Patel --- arch/arm/boot/dts/am43x

[RFC PATCH v1 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-01-06 Thread Satish Patel
et/TDA8026.pdf http://www.nxp.com/documents/application_note/AN10724.pdf [2] TI smart card controller coming soon [3] EVM specification http://www.emvco.com [4] Smart card framework and applications https://code.google.com/p/cardpeek http://www.linuxnet.com/inde

[RFC PATCH v1 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-06 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Maulik Mankad Signed-off-by: Satish Patel --- Documentation/devicetree/bindings/misc/tda8026.txt | 14 + drivers

[RFC PATCH v1 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-01-06 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel --- arch/arm/boot/dts/am4372.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi

[RFC PATCH v1 4/5] ARM: dts: AM43xx: DT entries added for ti-usim

2014-01-06 Thread Satish Patel
SoC specific DT entries added for TI's USIM - smart card controller of AM43xx platfrom. Signed-off-by: Satish Patel satish.pa...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm

[RFC PATCH v1 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-06 Thread Satish Patel
inserted to the phy's slot. Note: gpio irq is not validated as I do not have device with that. I have validated interrupt with dedicated interrupt line on my device. Signed-off-by: Maulik Mankad mau...@ti.com Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/devicetree/bindings/misc

[RFC PATCH v1 0/5] Smart Card(SC) interface, TI USIM NxP SC phy driver

2014-01-06 Thread Satish Patel
http://www.nxp.com/documents/application_note/AN10724.pdf [2] TI smart card controller coming soon [3] EVM specification http://www.emvco.com [4] Smart card framework and applications https://code.google.com/p/cardpeek http://www.linuxnet.com/index.html Satish Patel

[RFC PATCH v1 1/5] sc_phy:SmartCard(SC) PHY interface to SC controller

2014-01-06 Thread Satish Patel
- activate/deactivate smart card - warm reset - register_notify (for card insert/remove/overheat) - unregister_notify Signed-off-by: Satish Patel satish.pa...@ti.com --- Documentation/sc_phy.txt | 171 ++ include/linux/sc_phy.h | 132

[RFC PATCH v1 5/5] ARM: dts: AM43xx-epos-evm: DT entries for ti-usim

2014-01-06 Thread Satish Patel
Board specific DT entries for TI's USIM - smart card controller of AM43xx platfrom.These entries are used by USIM driver for various configurations. Shutdown line of NXP phy is maped to GPIO5. So enabling same to have support for NXP phy. Signed-off-by: Satish Patel satish.pa...@ti.com --- arch

Re: [RFC PATCH v1 2/5] misc: tda8026: Add NXP TDA8026 PHY driver

2014-01-06 Thread Satish Patel
On 1/6/2014 9:00 PM, Mark Rutland wrote: On Mon, Jan 06, 2014 at 12:07:39PM +, Satish Patel wrote: TDA8026 is a SmartCard PHY from NXP. The PHY interfaces with the main processor over the I2C interface and acts as a slave device. The driver also exposes the phy interface (defined