[PATCH] phy: nxp-c45-tja11xx: fix phase offset calculation

2021-04-20 Thread Radu Pirea (NXP OSS)
Fix phase offset calculation. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/nxp-c45-tja11xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/nxp-c45-tja11xx.c b/drivers/net/phy/nxp-c45-tja11xx.c index 47cacda8836f..95307097ebff 100644

[PATCH v3 2/2] phy: nxp-c45: add driver for tja1103

2021-04-19 Thread Radu Pirea (NXP OSS)
Add driver for tja1103 driver and for future NXP C45 PHYs. Signed-off-by: Radu Pirea (NXP OSS) --- MAINTAINERS | 6 + drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile | 1 + drivers/net/phy/nxp-c45-tja11xx.c | 588

[PATCH v3 1/2] net: phy: add genphy_c45_pma_suspend/resume

2021-04-19 Thread Radu Pirea (NXP OSS)
Add generic PMA suspend and resume callback functions for C45 PHYs. Signed-off-by: Radu Pirea (NXP OSS) Reviewed-by: Andrew Lunn --- drivers/net/phy/phy-c45.c | 43 +++ include/linux/phy.h | 2 ++ 2 files changed, 45 insertions(+) diff --git

[PATCH v3 0/2] TJA1103 driver

2021-04-19 Thread Radu Pirea (NXP OSS)
ter - use genphy_c45_loopback as .set_loopback callback - renamed the driver from nxp-c45 to nxp-c45-tja11xx - used phy phy_set_bits_mmd/phy_clear_bits_mmd instead on phy_write_mmd where I had to set/clear one bit. Radu Pirea (NXP OSS) (2): net: phy: add genphy_c45_pma_suspend/resume phy: nx

[PATCH v2 2/2] phy: nxp-c45: add driver for tja1103

2021-04-15 Thread Radu Pirea (NXP OSS)
Add driver for tja1103 driver and for future NXP C45 PHYs. Signed-off-by: Radu Pirea (NXP OSS) --- MAINTAINERS | 6 + drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile | 1 + drivers/net/phy/nxp-c45-tja11xx.c | 607

[PATCH v2 1/2] net: phy: add genphy_c45_pma_suspend/resume

2021-04-15 Thread Radu Pirea (NXP OSS)
Add generic PMA suspend and resume callback functions for C45 PHYs. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/phy-c45.c | 43 +++ include/linux/phy.h | 2 ++ 2 files changed, 45 insertions(+) diff --git a/drivers/net/phy/phy-c45.c b

[PATCH v2 0/2] TJA1103 driver

2021-04-15 Thread Radu Pirea (NXP OSS)
md instead on phy_write_mmd where I had to set/clear one bit. Radu Pirea (NXP OSS) (2): net: phy: add genphy_c45_pma_suspend/resume phy: nxp-c45: add driver for tja1103 MAINTAINERS | 6 + drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile | 1 + drive

[PATCH] phy: nxp-c45: add driver for tja1103

2021-04-09 Thread Radu Pirea (NXP OSS)
Add driver for tja1103 driver and for future NXP C45 PHYs. Signed-off-by: Radu Pirea (NXP OSS) --- MAINTAINERS | 6 + drivers/net/phy/Kconfig | 6 + drivers/net/phy/Makefile | 1 + drivers/net/phy/nxp-c45.c | 622 ++ 4 files changed

[PATCH v2 2/2] spi: at91-usart: add DMA support

2019-05-05 Thread Radu Pirea
This patch adds support for DMA. Transfers are done with dma only if they are longer than 16 bytes in order to achieve a better performance. DMA setup introduces a little overhead and for transfers shorter than 16 bytes there is no performance improvement. Signed-off-by: Radu Pirea --- drivers

[PATCH v2 1/2] dt-bindings: mfd: atmel-usart: add DMA bindings for USART in SPI mode

2019-05-05 Thread Radu Pirea
The bindings for DMA are now common for both drivers of the USART IP. The node given as an example for USART in SPI mode has been updated in order to include DMA bindings. Signed-off-by: Radu Pirea --- .../devicetree/bindings/mfd/atmel-usart.txt | 20 ++- 1 file changed, 15

[PATCH v2 0/2] DMA support for AT91 USART in SPI mode

2019-05-05 Thread Radu Pirea
: - added DMA support Radu Pirea (2): dt-bindings: mfd: atmel-usart: add DMA bindings for USART in SPI mode spi: at91-usart: add DMA support .../devicetree/bindings/mfd/atmel-usart.txt | 20 +- drivers/spi/spi-at91-usart.c | 221 +- 2 files changed, 234 insertions

[PATCH 0/3] Add PM and DMA support for AT91 USART as SPI

2018-11-21 Thread Radu Pirea
transfers. Radu Pirea (3): spi: at91-usart: add power management support dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode spi: at91-usart: add DMA support .../devicetree/bindings/mfd/atmel-usart.txt | 15 +- drivers/spi/spi-at91-usart.c | 284

[PATCH 3/3] spi: at91-usart: add DMA support

2018-11-21 Thread Radu Pirea
This patch adds support for DMA. Transfers are done with dma only if they are longer than 16 bytes in order to achieve a better performance. DMA setup introduces a little overhead and for transfers shorter than 16 bytes there is no performance improvement. Signed-off-by: Radu Pirea --- drivers

[PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Radu Pirea
The bindings for DMA are now common for both drivers of the USART IP. The node given as an example for USART in SPI mode has been updated in order to include DMA bindings. Signed-off-by: Radu Pirea --- .../devicetree/bindings/mfd/atmel-usart.txt | 15 ++- 1 file changed, 10

[PATCH 0/3] Add PM and DMA support for AT91 USART as SPI

2018-11-21 Thread Radu Pirea
transfers. Radu Pirea (3): spi: at91-usart: add power management support dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode spi: at91-usart: add DMA support .../devicetree/bindings/mfd/atmel-usart.txt | 15 +- drivers/spi/spi-at91-usart.c | 284

[PATCH 3/3] spi: at91-usart: add DMA support

2018-11-21 Thread Radu Pirea
This patch adds support for DMA. Transfers are done with dma only if they are longer than 16 bytes in order to achieve a better performance. DMA setup introduces a little overhead and for transfers shorter than 16 bytes there is no performance improvement. Signed-off-by: Radu Pirea --- drivers

[PATCH 2/3] dt-bindings: mfd: atmel-usart: add DMA bindings for SPI mode

2018-11-21 Thread Radu Pirea
The bindings for DMA are now common for both drivers of the USART IP. The node given as an example for USART in SPI mode has been updated in order to include DMA bindings. Signed-off-by: Radu Pirea --- .../devicetree/bindings/mfd/atmel-usart.txt | 15 ++- 1 file changed, 10

[PATCH 1/3] spi: at91-usart: add power management support

2018-11-21 Thread Radu Pirea
This patch implements power management callback function for USART as SPI driver. Signed-off-by: Radu Pirea --- drivers/spi/spi-at91-usart.c | 61 1 file changed, 61 insertions(+) diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c

[PATCH 1/3] spi: at91-usart: add power management support

2018-11-21 Thread Radu Pirea
This patch implements power management callback function for USART as SPI driver. Signed-off-by: Radu Pirea --- drivers/spi/spi-at91-usart.c | 61 1 file changed, 61 insertions(+) diff --git a/drivers/spi/spi-at91-usart.c b/drivers/spi/spi-at91-usart.c

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Radu Pirea
On Wed, 2018-09-12 at 14:12 +0100, Lee Jones wrote: > On Wed, 12 Sep 2018, Alexandre Belloni wrote: > > > On 12/09/2018 12:43:52+0100, Lee Jones wrote: > > > > > But ... we can't have it both ways. *Either* it's a true > > > > > MFD, in > > > > > which case it can/should have 2 separate

Re: [PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-12 Thread Radu Pirea
On Wed, 2018-09-12 at 14:12 +0100, Lee Jones wrote: > On Wed, 12 Sep 2018, Alexandre Belloni wrote: > > > On 12/09/2018 12:43:52+0100, Lee Jones wrote: > > > > > But ... we can't have it both ways. *Either* it's a true > > > > > MFD, in > > > > > which case it can/should have 2 separate

[PATCH v12 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-09-04 Thread Radu Pirea
From: Radu Pirea This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial =>

[PATCH v12 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-09-04 Thread Radu Pirea
From: Radu Pirea This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial =>

[PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-04 Thread Radu Pirea
mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver spi: at91-usart: add driver f

[PATCH v12 0/6] Driver for at91 usart in spi mode

2018-09-04 Thread Radu Pirea
mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver spi: at91-usart: add driver f

[PATCH v12 4/6] MAINTAINERS: add at91 usart spi driver

2018-09-04 Thread Radu Pirea
From: Radu Pirea Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8aeaa2cc3e14..1bb477aab33b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v12 1/6] MAINTAINERS: add at91 usart mfd driver

2018-09-04 Thread Radu Pirea
From: Radu Pirea Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 544cac829cf4..8aeaa2cc3e14 100644

[PATCH v12 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-09-04 Thread Radu Pirea
From: Radu Pirea This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig| 1

[PATCH v12 4/6] MAINTAINERS: add at91 usart spi driver

2018-09-04 Thread Radu Pirea
From: Radu Pirea Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8aeaa2cc3e14..1bb477aab33b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v12 1/6] MAINTAINERS: add at91 usart mfd driver

2018-09-04 Thread Radu Pirea
From: Radu Pirea Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 544cac829cf4..8aeaa2cc3e14 100644

[PATCH v12 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-09-04 Thread Radu Pirea
From: Radu Pirea This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig| 1

[PATCH v12 3/6] mfd: at91-usart: added mfd driver for usart

2018-09-04 Thread Radu Pirea
From: Radu Pirea This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy

[PATCH v12 3/6] mfd: at91-usart: added mfd driver for usart

2018-09-04 Thread Radu Pirea
From: Radu Pirea This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy

[PATCH v12 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-09-04 Thread Radu Pirea
From: Radu Pirea This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed

[PATCH v12 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-09-04 Thread Radu Pirea
From: Radu Pirea This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed

[RESEND PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-08-31 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial

[RESEND PATCH v11 3/6] mfd: at91-usart: added mfd driver for usart

2018-08-31 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked

[RESEND PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-08-31 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial

[RESEND PATCH v11 3/6] mfd: at91-usart: added mfd driver for usart

2018-08-31 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked

[RESEND PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-08-31 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[RESEND PATCH v11 1/6] MAINTAINERS: add at91 usart mfd driver

2018-08-31 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a5b256b25905..94b37382cd2b 100644 --- a/MAINTAINERS +++ b

[RESEND PATCH v11 4/6] MAINTAINERS: add at91 usart spi driver

2018-08-31 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 94b37382cd2b..d58bc2d6bb3d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9542,6 +9542,13 @@ F

[RESEND PATCH v11 4/6] MAINTAINERS: add at91 usart spi driver

2018-08-31 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 94b37382cd2b..d58bc2d6bb3d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9542,6 +9542,13 @@ F

[RESEND PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-08-31 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[RESEND PATCH v11 1/6] MAINTAINERS: add at91 usart mfd driver

2018-08-31 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a5b256b25905..94b37382cd2b 100644 --- a/MAINTAINERS +++ b

[RESEND PATCH v11 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-08-31 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial => mfd}/atmel-usart.txt |

[RESEND PATCH v11 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-08-31 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial => mfd}/atmel-usart.txt |

[RESEND PATCH v11 0/6] Driver for at91 usart in spi mode

2018-08-31 Thread Radu Pirea
/atmel-usart.txt Changes in v3: - fixed spi slaves probing Changes in v2: - added at91-usart mfd driver - modified spi-at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAI

[RESEND PATCH v11 0/6] Driver for at91 usart in spi mode

2018-08-31 Thread Radu Pirea
/atmel-usart.txt Changes in v3: - fixed spi slaves probing Changes in v2: - added at91-usart mfd driver - modified spi-at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAI

Re: [PATCH v11 0/6] Driver for at91 usart in spi mode

2018-08-22 Thread Radu Pirea
be reworked in order to take the patches? On 7/13/18 7:47 PM, Radu Pirea - M19893 wrote: Hello, This is the second version of driver. I added a mfd driver which by default probes atmel_serial driver and if in dt is specified to probe the spi driver, then the spi-at91-usart driver will be probed

Re: [PATCH v11 0/6] Driver for at91 usart in spi mode

2018-08-22 Thread Radu Pirea
be reworked in order to take the patches? On 7/13/18 7:47 PM, Radu Pirea - M19893 wrote: Hello, This is the second version of driver. I added a mfd driver which by default probes atmel_serial driver and if in dt is specified to probe the spi driver, then the spi-at91-usart driver will be probed

Re: [PATCH v2 2/2] spi: add SPI controller driver for UniPhier SoC

2018-07-26 Thread Radu Pirea
On 07/26/2018 12:38 PM, Keiji Hayashibara wrote: Hello Andy, Thank you for your check! From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] Sent: Thursday, July 26, 2018 5:46 PM To: Hayashibara, Keiji/林原 啓二 Subject: Re: [PATCH v2 2/2] spi: add SPI controller driver for UniPhier SoC

Re: [PATCH v2 2/2] spi: add SPI controller driver for UniPhier SoC

2018-07-26 Thread Radu Pirea
On 07/26/2018 12:38 PM, Keiji Hayashibara wrote: Hello Andy, Thank you for your check! From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] Sent: Thursday, July 26, 2018 5:46 PM To: Hayashibara, Keiji/林原 啓二 Subject: Re: [PATCH v2 2/2] spi: add SPI controller driver for UniPhier SoC

[PATCH v11 0/6] Driver for at91 usart in spi mode

2018-07-13 Thread Radu Pirea
ges in v2: - added at91-usart mfd driver - modified spi-at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for a

[PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-07-13 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42

[PATCH v11 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-07-13 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial => mfd}/atmel-usart.txt |

[PATCH v11 0/6] Driver for at91 usart in spi mode

2018-07-13 Thread Radu Pirea
ges in v2: - added at91-usart mfd driver - modified spi-at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for a

[PATCH v11 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-07-13 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked-by: Richard Genoud Acked-by: Nicolas Ferre --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42

[PATCH v11 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-07-13 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring Acked-for-MFD-by: Lee Jones Acked-by: Nicolas Ferre --- .../bindings/{serial => mfd}/atmel-usart.txt |

[PATCH v11 4/6] MAINTAINERS: add at91 usart spi driver

2018-07-13 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F

[PATCH v11 4/6] MAINTAINERS: add at91 usart spi driver

2018-07-13 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F

[PATCH v11 3/6] mfd: at91-usart: added mfd driver for usart

2018-07-13 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked

[PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-07-13 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v11 3/6] mfd: at91-usart: added mfd driver for usart

2018-07-13 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko Acked

[PATCH v11 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-07-13 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v11 1/6] MAINTAINERS: add at91 usart mfd driver

2018-07-13 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b

[PATCH v11 1/6] MAINTAINERS: add at91 usart mfd driver

2018-07-13 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea Acked-by: Nicolas Ferre Acked-for-MFD-by: Lee Jones --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b

Re: [PATCH v10 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-07-13 Thread Radu Pirea
On 07/10/2018 09:15 PM, Mark Brown wrote: On Mon, Jun 25, 2018 at 08:22:29PM +0300, Radu Pirea wrote: This is mostly good, just a couple of small things: +config SPI_AT91_USART + tristate "Atmel USART Controller SPI driver" + depends on HAS_DMA + depends on

Re: [PATCH v10 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-07-13 Thread Radu Pirea
On 07/10/2018 09:15 PM, Mark Brown wrote: On Mon, Jun 25, 2018 at 08:22:29PM +0300, Radu Pirea wrote: This is mostly good, just a couple of small things: +config SPI_AT91_USART + tristate "Atmel USART Controller SPI driver" + depends on HAS_DMA + depends on

[PATCH v10 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-25 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Acked-by: Rob Herring Reviewed-by: Andy

[PATCH v10 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-25 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Acked-by: Rob Herring Reviewed-by: Andy

[PATCH v10 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-06-25 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Acked-by: Richard Genoud Reviewed-by: Andy Shevchenko --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42 --- 2 files

[PATCH v10 4/6] MAINTAINERS: add at91 usart spi driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F: drivers/mfd/at91

[PATCH v10 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-06-25 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Acked-by: Richard Genoud Reviewed-by: Andy Shevchenko --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42 --- 2 files

[PATCH v10 4/6] MAINTAINERS: add at91 usart spi driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F: drivers/mfd/at91

[PATCH v10 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-06-25 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v10 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-06-25 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v10 1/6] MAINTAINERS: add at91 usart mfd driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9321,6 +9321,7 @@ M:Richard Genoud S

[PATCH v10 1/6] MAINTAINERS: add at91 usart mfd driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9321,6 +9321,7 @@ M:Richard Genoud S

[PATCH v10 0/6] Driver for at91 usart in spi mode

2018-06-25 Thread Radu Pirea
at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver

[PATCH v10 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-06-25 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring --- .../bindings/{serial => mfd}/atmel-usart.txt | 25 +-- include/dt-bindings/mfd/a

[PATCH v10 0/6] Driver for at91 usart in spi mode

2018-06-25 Thread Radu Pirea
at91-usart driver to work as mfd driver child - modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver

[PATCH v10 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-06-25 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring --- .../bindings/{serial => mfd}/atmel-usart.txt | 25 +-- include/dt-bindings/mfd/a

[PATCH v9 1/6] MAINTAINERS: add at91 usart mfd driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9321,6 +9321,7 @@ M:Richard Genoud S

[PATCH v9 1/6] MAINTAINERS: add at91 usart mfd driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff51b5f..7ac6e6af5292 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9321,6 +9321,7 @@ M:Richard Genoud S

[PATCH v9 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-06-25 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v9 5/6] spi: at91-usart: add driver for at91-usart as spi

2018-06-25 Thread Radu Pirea
This is the driver for at91-usart in spi mode. The USART IP can be configured to work in many modes and one of them is SPI. The driver was tested on sama5d3-xplained and sama5d4-xplained boards with enc28j60 ethernet controller as slave. Signed-off-by: Radu Pirea Reviewed-by: Andy Shevchenko

[PATCH v9 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-06-25 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Acked-by: Richard Genoud Reviewed-by: Andy Shevchenko --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42 --- 2 files

[PATCH v9 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-25 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Acked-by: Rob Herring Reviewed-by: Andy

[PATCH v9 6/6] tty/serial: atmel: change the driver to work under at91-usart mfd

2018-06-25 Thread Radu Pirea
This patch modifies the place where resources and device tree properties are searched. Signed-off-by: Radu Pirea Acked-by: Richard Genoud Reviewed-by: Andy Shevchenko --- drivers/tty/serial/Kconfig| 1 + drivers/tty/serial/atmel_serial.c | 42 --- 2 files

[PATCH v9 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-25 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Acked-by: Rob Herring Reviewed-by: Andy

[PATCH v9 4/6] MAINTAINERS: add at91 usart spi driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F: drivers/mfd/at91

[PATCH v9 4/6] MAINTAINERS: add at91 usart spi driver

2018-06-25 Thread Radu Pirea
Added entry for at91 usart mfd driver. Signed-off-by: Radu Pirea --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7ac6e6af5292..f849cc4acbf6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9362,6 +9362,13 @@ F: drivers/mfd/at91

[PATCH v9 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-06-25 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring --- .../bindings/{serial => mfd}/atmel-usart.txt | 25 +-- include/dt-bindings/mfd/a

[PATCH v9 0/6] Driver for at91 usart in spi mode

2018-06-25 Thread Radu Pirea
- modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver

[PATCH v9 2/6] dt-bindings: add binding for atmel-usart in SPI mode

2018-06-25 Thread Radu Pirea
This patch moves the bindings for serial from serial/atmel-usart.txt to mfd/atmel-usart.txt and adds bindings for USART in SPI mode. Signed-off-by: Radu Pirea Reviewed-by: Rob Herring --- .../bindings/{serial => mfd}/atmel-usart.txt | 25 +-- include/dt-bindings/mfd/a

[PATCH v9 0/6] Driver for at91 usart in spi mode

2018-06-25 Thread Radu Pirea
- modified atmel_serial driver to work as mfd driver child Changes in v1: - added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver

[PATCH v8 0/6] Driver for at91 usart in spi mode

2018-06-18 Thread Radu Pirea
added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver spi: at91-usart: add driver for at91-usart as spi tty/serial: atm

[PATCH v8 0/6] Driver for at91 usart in spi mode

2018-06-18 Thread Radu Pirea
added spi-at91-usart driver Radu Pirea (6): MAINTAINERS: add at91 usart mfd driver dt-bindings: add binding for atmel-usart in SPI mode mfd: at91-usart: added mfd driver for usart MAINTAINERS: add at91 usart spi driver spi: at91-usart: add driver for at91-usart as spi tty/serial: atm

[PATCH v8 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-18 Thread Radu Pirea
This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not specified, the default driver is atmel_serial. Signed-off-by: Radu Pirea Acked-by: Rob Herring Reviewed-by: Andy

  1   2   3   >