Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-24 Thread Lee Jones
On Thu, 23 Jul 2015, Cyrille Pitchen wrote: Hi all, Le 23/07/2015 14:50, Boris Brezillon a écrit : On Thu, 23 Jul 2015 10:13:11 +0100 Lee Jones lee.jo...@linaro.org wrote: On Thu, 23 Jul 2015, Boris Brezillon wrote: Hi Lee, On Thu, 23 Jul 2015 08:32:17 +0100 Lee Jones

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Cyrille Pitchen
Hi all, Le 23/07/2015 14:50, Boris Brezillon a écrit : On Thu, 23 Jul 2015 10:13:11 +0100 Lee Jones lee.jo...@linaro.org wrote: On Thu, 23 Jul 2015, Boris Brezillon wrote: Hi Lee, On Thu, 23 Jul 2015 08:32:17 +0100 Lee Jones lee.jo...@linaro.org wrote: On Wed, 22 Jul 2015, Cyrille

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Boris Brezillon
On Thu, 23 Jul 2015 10:13:11 +0100 Lee Jones lee.jo...@linaro.org wrote: On Thu, 23 Jul 2015, Boris Brezillon wrote: Hi Lee, On Thu, 23 Jul 2015 08:32:17 +0100 Lee Jones lee.jo...@linaro.org wrote: On Wed, 22 Jul 2015, Cyrille Pitchen wrote: +

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Boris Brezillon
Hi Lee, On Thu, 23 Jul 2015 08:32:17 +0100 Lee Jones lee.jo...@linaro.org wrote: On Wed, 22 Jul 2015, Cyrille Pitchen wrote: + for_each_child_of_node(np, child) { + const char *compatible; + int cplen; + + if (!of_device_is_available(child)) +

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Lee Jones
On Wed, 22 Jul 2015, Cyrille Pitchen wrote: This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time. This driver selects the function once for all, when the Flexcom

Re: [PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-23 Thread Lee Jones
On Thu, 23 Jul 2015, Boris Brezillon wrote: Hi Lee, On Thu, 23 Jul 2015 08:32:17 +0100 Lee Jones lee.jo...@linaro.org wrote: On Wed, 22 Jul 2015, Cyrille Pitchen wrote: + for_each_child_of_node(np, child) { + const char *compatible; + int cplen; + +

[PATCH v6 2/2] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-07-22 Thread Cyrille Pitchen
This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time. This driver selects the function once for all, when the Flexcom is probed, finding the first (should be unique)