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

2014-01-07 Thread Sebastian Reichel
On Tue, Jan 07, 2014 at 12:06:37PM +0530, Satish Patel wrote: > >> + if (pdata->irq == 0) { > >> + /* look for the field irq-gpio in DT */ > >> + irq_gpio = of_get_named_gpio(np, "irq-gpio", 0); > >> + if (!gpio_is_valid(irq_gpio)) { > >> +

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

2014-01-07 Thread Sebastian Reichel
On Tue, Jan 07, 2014 at 12:06:37PM +0530, Satish Patel wrote: + if (pdata-irq == 0) { + /* look for the field irq-gpio in DT */ + irq_gpio = of_get_named_gpio(np, irq-gpio, 0); + if (!gpio_is_valid(irq_gpio)) { +

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

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

2014-01-06 Thread Mark Rutland
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@include/linux/sc_phy.h) for SmartCard

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

2014-01-06 Thread Satish Patel
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/linux/sc_phy.h) for SmartCard controller. Controller uses this interface to communicate with smart card

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

2014-01-06 Thread Satish Patel
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/linux/sc_phy.h) for SmartCard controller. Controller uses this interface to communicate with smart card

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

2014-01-06 Thread Mark Rutland
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@include/linux/sc_phy.h) for SmartCard

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