Re: [PATCH v4 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-21 Thread Fabien Lahoudere
Hi, On 21/09/16 09:12, Peter Chen wrote: On Mon, Sep 19, 2016 at 01:45:39PM +0200, Fabien Lahoudere wrote: In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co

Re: [PATCH v4 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-21 Thread Fabien Lahoudere
Hi, On 21/09/16 09:12, Peter Chen wrote: On Mon, Sep 19, 2016 at 01:45:39PM +0200, Fabien Lahoudere wrote: In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c

Re: [PATCH v4 1/3] usb: chipidea: imx: Change switch order

2016-09-21 Thread Fabien Lahoudere
Hi, On 21/09/16 08:57, Peter Chen wrote: On Mon, Sep 19, 2016 at 01:45:38PM +0200, Fabien Lahoudere wrote: Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index switch and then test

Re: [PATCH v4 1/3] usb: chipidea: imx: Change switch order

2016-09-21 Thread Fabien Lahoudere
Hi, On 21/09/16 08:57, Peter Chen wrote: On Mon, Sep 19, 2016 at 01:45:38PM +0200, Fabien Lahoudere wrote: Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index switch and then test

[PATCH v4 1/3] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
annot be NULL. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/usbmisc_imx.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/

[PATCH v4 1/3] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
annot be NULL. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/usbmisc_imx.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/drivers/usb/chipidea/usbmisc_imx.c b/drivers/usb/chipidea/usbmisc_imx.c index 20d02a5..9549821 100644

[PATCH v4 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-19 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 + drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/ch

[PATCH v4 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-19 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 + drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 37

[PATCH v4 3/3] usb: chipidea: imx: Add binding to disable USB 60Mhz clock

2016-09-19 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 13 ++

[PATCH v4 3/3] usb: chipidea: imx: Add binding to disable USB 60Mhz clock

2016-09-19 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 13 + 3 files changed, 16 insertions

[PATCH v4 0/3] usb: chipidea: imx: Add USB configuration for imx53

2016-09-19 Thread Fabien Lahoudere
e on the same column as switch) - Remove useless test in "Change switch order" Fabien Lahoudere (3): usb: chipidea: imx: Change switch order usb: chipidea: imx: configure imx for ULPI phy usb: chipidea: imx: Add binding to disable USB 60Mhz clock drivers/usb/chipidea/ci_hd

[PATCH v4 0/3] usb: chipidea: imx: Add USB configuration for imx53

2016-09-19 Thread Fabien Lahoudere
e on the same column as switch) - Remove useless test in "Change switch order" Fabien Lahoudere (3): usb: chipidea: imx: Change switch order usb: chipidea: imx: configure imx for ULPI phy usb: chipidea: imx: Add binding to disable USB 60Mhz clock drivers/usb/chipidea/ci_hd

[PATCH v2 1/1] clk: imx53: Add clocks configuration

2016-09-19 Thread Fabien Lahoudere
From: Kalle Kankare <kalle.kank...@vincit.fi> Add clocks configuration for CSI, FIRI and IEEE1588. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/clk/imx/clk-imx51-imx53.c | 20 include/dt-bindings/clock/imx5-

[PATCH v2 1/1] clk: imx53: Add clocks configuration

2016-09-19 Thread Fabien Lahoudere
From: Kalle Kankare Add clocks configuration for CSI, FIRI and IEEE1588. Signed-off-by: Fabien Lahoudere --- drivers/clk/imx/clk-imx51-imx53.c | 20 include/dt-bindings/clock/imx5-clock.h | 15 ++- 2 files changed, 34 insertions(+), 1 deletion(-) diff

Re: [PATCH 05/15] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Please forget this submission. On 19/09/16 12:18, Fabien Lahoudere wrote: Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index

Re: [PATCH 05/15] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Please forget this submission. On 19/09/16 12:18, Fabien Lahoudere wrote: Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index

[PATCH v3 3/3] usb: chipidea: imx: Add binding to disable USB 60Mhz clock

2016-09-19 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.

[PATCH v3 1/3] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk&g

[PATCH v3 3/3] usb: chipidea: imx: Add binding to disable USB 60Mhz clock

2016-09-19 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 17 + 3 files changed, 20 insertions

[PATCH v3 1/3] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/usbmi

[PATCH v3 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-19 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 + drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/ch

[PATCH v3 2/3] usb: chipidea: imx: configure imx for ULPI phy

2016-09-19 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 + drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 37

[PATCH 05/15] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk&g

[PATCH 05/15] usb: chipidea: imx: Change switch order

2016-09-19 Thread Fabien Lahoudere
Each USB controller have different behaviour, so in order to avoid to have several "swicth(data->index)" and lock/unlock, we prefer to get the index and then test for features if they exist for this index. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/usbmi

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-19 Thread Fabien Lahoudere
Hi, On 18/09/16 02:24, Shawn Guo wrote: On Sun, Sep 18, 2016 at 08:21:59AM +0800, Shawn Guo wrote: On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere <fabien.lahoud...@collabora.co.uk>: From: Kalle K

Re: [PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-19 Thread Fabien Lahoudere
Hi, On 18/09/16 02:24, Shawn Guo wrote: On Sun, Sep 18, 2016 at 08:21:59AM +0800, Shawn Guo wrote: On Thu, Sep 15, 2016 at 08:42:33PM +0300, Alexander Shiyan wrote: Четверг, 15 сентября 2016, 13:13 +03:00 от Fabien Lahoudere : From: Kalle Kankare < kalle.kank...@vincit.fi > Add

[PATCH 1/1] ARM: imx53: Add binding to disable USB 60Mhz clock

2016-09-16 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.

[PATCH 1/1] ARM: imx53: Add binding to disable USB 60Mhz clock

2016-09-16 Thread Fabien Lahoudere
This binding allow to disable the internal 60Mhz clock for USB host2 and host3. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 2 ++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 17 + 3 files changed, 20 insertions

[PATCH 1/1] ARM: imx53: configure imx for ULPI phy

2016-09-16 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 +++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/ch

[PATCH 1/1] ARM: imx53: configure imx for ULPI phy

2016-09-16 Thread Fabien Lahoudere
In order to use ULPI phy with usb host 2 and 3, we need to configure controller register to enable ULPI features. Signed-off-by: Fabien Lahoudere --- drivers/usb/chipidea/ci_hdrc_imx.c | 5 +++ drivers/usb/chipidea/ci_hdrc_imx.h | 1 + drivers/usb/chipidea/usbmisc_imx.c | 81

[PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-15 Thread Fabien Lahoudere
From: Kalle Kankare <kalle.kank...@vincit.fi> Add clocks configuration for CSI, FIRI and IEEE1588. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/clk/imx/clk-imx51-imx53.c | 20 include/dt-bindings/clock/imx5-

[PATCH 1/1] ARM: imx5: Add clocks configuration

2016-09-15 Thread Fabien Lahoudere
From: Kalle Kankare Add clocks configuration for CSI, FIRI and IEEE1588. Signed-off-by: Fabien Lahoudere --- drivers/clk/imx/clk-imx51-imx53.c | 20 include/dt-bindings/clock/imx5-clock.h | 15 ++- 2 files changed, 34 insertions(+), 1 deletion(-) diff

[PATCH v3 1/1] Add nvd9128 as a simple panel

2016-09-14 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> Acked-by: Rob Herring <r...@kernel.org> --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixe

[PATCH v3 1/1] Add nvd9128 as a simple panel

2016-09-14 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Signed-off-by: Fabien Lahoudere Acked-by: Rob Herring --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + drivers/gpu/drm/panel/panel-simple.c

[PATCH 1/1] serial: imx: Replace dmaengine old API

2016-09-13 Thread Fabien Lahoudere
dmaengine_terminate_all() is deprecated and should be replaced by dmaengine_terminate_sync() in non-atomic context or dmaengine_terminate_async() with dmaengine_synchronize(). See commit b36f09c3c441 ("dmaengine: Add transfer termination synchronization support") Signed-off-by: Fabien

[PATCH 1/1] serial: imx: Replace dmaengine old API

2016-09-13 Thread Fabien Lahoudere
dmaengine_terminate_all() is deprecated and should be replaced by dmaengine_terminate_sync() in non-atomic context or dmaengine_terminate_async() with dmaengine_synchronize(). See commit b36f09c3c441 ("dmaengine: Add transfer termination synchronization support") Signed-off-by: Fabien

[PATCH v3 1/1] Allowing UART DMA to be configured on i.MX53

2016-09-01 Thread Fabien Lahoudere
Welch <martyn.we...@collabora.co.uk> Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/tty/serial/imx.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 08ccf

[PATCH v3 1/1] Allowing UART DMA to be configured on i.MX53

2016-09-01 Thread Fabien Lahoudere
From: Martyn Welch The UART DMA was only being configured on i.MX6Q compatible devices. We know that the DMA also works for i.MX53 devices, so enable uart DMA for imx53 and let the device tree to configure if DMA should be used or not. Signed-off-by: Martyn Welch Signed-off-by: Fabien

Re: [PATCH 1/1] Add PPD device tree

2016-08-17 Thread Fabien Lahoudere
Hello, Thanks for your comments On 05/08/2016 15:39, Mark Rutland wrote: On Fri, Aug 05, 2016 at 03:31:25PM +0200, Fabien Lahoudere wrote: +/* + * Hardware uses CKO2 at 24MHz at several places. Set the parent clock of + * CKO2 to OSC. + */ +#define CKO2_CONFIGURATION \ + clock-frequency

Re: [PATCH 1/1] Add PPD device tree

2016-08-17 Thread Fabien Lahoudere
Hello, Thanks for your comments On 05/08/2016 15:39, Mark Rutland wrote: On Fri, Aug 05, 2016 at 03:31:25PM +0200, Fabien Lahoudere wrote: +/* + * Hardware uses CKO2 at 24MHz at several places. Set the parent clock of + * CKO2 to OSC. + */ +#define CKO2_CONFIGURATION \ + clock-frequency

[PATCH 1/1] Add imx53 SATA temperature sensor support

2016-08-12 Thread Fabien Lahoudere
From: Csaba Kertesz <csaba.kert...@vincit.fi> Add a hwmon entry to get the temperature from the die of imx53 SATA. The original patch was made by Richard Zhu for kernel 2.6.x: ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch Signed-off-by: Fabien Lahoudere <fabi

[PATCH 1/1] Add imx53 SATA temperature sensor support

2016-08-12 Thread Fabien Lahoudere
From: Csaba Kertesz Add a hwmon entry to get the temperature from the die of imx53 SATA. The original patch was made by Richard Zhu for kernel 2.6.x: ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch Signed-off-by: Fabien Lahoudere --- drivers/ata/ahci_imx.c | 225

[PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-08 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- arch/arm/boot/dts/imx53.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/bo

[PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-08 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere --- arch/arm/boot/dts/imx53.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd17037..c1bc97c

[PATCH 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-08 Thread Fabien Lahoudere
; Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/tty/serial/imx.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 08ccfe1..1c9315a 100644 --- a/drivers/tty/serial/imx.c

[PATCH 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-08 Thread Fabien Lahoudere
From: Martyn Welch The UART DMA was only being configured on i.MX6Q compatible devices. We know that the DMA also works for i.MX53 devices, so allow DMA to be configured on those devices too. Signed-off-by: Martyn Welch Signed-off-by: Fabien Lahoudere --- drivers/tty/serial/imx.c | 17

[PATCH 1/1] Add PPD device tree

2016-08-05 Thread Fabien Lahoudere
PPD is a product from GE Healthcare to monitor vital biometric signals. In order to support it upstream, we add its device tree file imx53-ppd.dts. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/imx53-p

[PATCH 1/1] Add PPD device tree

2016-08-05 Thread Fabien Lahoudere
PPD is a product from GE Healthcare to monitor vital biometric signals. In order to support it upstream, we add its device tree file imx53-ppd.dts. Signed-off-by: Fabien Lahoudere --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/imx53-ppd.dts | 1024

[PATCH 1/1] generic spidev devices must be registered

2016-08-05 Thread Fabien Lahoudere
Adding spidev in the compatible list, let configure spidev from device tree instead of C source code. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- Documentation/devicetree/bindings/spi/spidev.txt | 16 drivers/spi/sp

[PATCH 1/1] generic spidev devices must be registered

2016-08-05 Thread Fabien Lahoudere
Adding spidev in the compatible list, let configure spidev from device tree instead of C source code. Signed-off-by: Fabien Lahoudere --- Documentation/devicetree/bindings/spi/spidev.txt | 16 drivers/spi/spidev.c | 1 + 2 files changed, 17

[PATCH v2 1/1] Add nvd9128 as a simple panel

2016-08-05 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + drivers/gpu/drm/panel/pan

[PATCH v2 1/1] Add nvd9128 as a simple panel

2016-08-05 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Signed-off-by: Fabien Lahoudere --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + drivers/gpu/drm/panel/panel-simple.c

[PATCH 1/1] imx53.dtsi: Add IPU nodes for csi

2016-08-04 Thread Fabien Lahoudere
boards. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- arch/arm/boot/dts/imx53.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index c1bc97c..0777b41 100644 --- a/arch/arm/boot/dts/imx53.dtsi

[PATCH 1/1] imx53.dtsi: Add IPU nodes for csi

2016-08-04 Thread Fabien Lahoudere
boards. Signed-off-by: Fabien Lahoudere --- arch/arm/boot/dts/imx53.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index c1bc97c..0777b41 100644 --- a/arch/arm/boot/dts/imx53.dtsi +++ b/arch/arm/boot/dts/imx53.dtsi

[PATCH v2 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-04 Thread Fabien Lahoudere
; Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/tty/serial/imx.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index c190986..11afe58 100644 --- a/drivers/tty/serial/i

[PATCH v2 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-04 Thread Fabien Lahoudere
From: Martyn Welch The UART DMA was only being configured on i.MX6Q compatible devices. We know that the DMA also works for i.MX53 devices, so allow DMA to be configured on those devices too. Signed-off-by: Martyn Welch Signed-off-by: Fabien Lahoudere --- drivers/tty/serial/imx.c | 18

[PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-04 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- arch/arm/boot/dts/imx53.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/bo

[PATCH v2 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-04 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere --- arch/arm/boot/dts/imx53.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd17037..c1bc97c

[PATCH 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-03 Thread Fabien Lahoudere
; Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/tty/serial/imx.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index c190986..11afe58 100644 --- a/drivers/tty/serial/i

[PATCH 1/2] Allowing UART DMA to be configured on i.MX53

2016-08-03 Thread Fabien Lahoudere
From: Martyn Welch The UART DMA was only being configured on i.MX6Q compatible devices. We know that the DMA also works for i.MX53 devices, so allow DMA to be configured on those devices too. Signed-off-by: Martyn Welch Signed-off-by: Fabien Lahoudere --- drivers/tty/serial/imx.c | 18

[PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-03 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- arch/arm/boot/dts/imx53.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts

[PATCH 2/2] imx53.dtsi : Add DMA configuration for UART

2016-08-03 Thread Fabien Lahoudere
In order to use sdma with UART, we need to add DMA configuration in device tree. Signed-off-by: Fabien Lahoudere --- arch/arm/boot/dts/imx53.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/imx53.dtsi b/arch/arm/boot/dts/imx53.dtsi index cd17037..de545e2 100644

[PATCH 1/1] serial/imx: fail startup if DMA initialization fails

2016-08-03 Thread Fabien Lahoudere
ing and fail if this operation doesn't succeed. Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk> Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/tty/serial/imx.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH 1/1] serial/imx: fail startup if DMA initialization fails

2016-08-03 Thread Fabien Lahoudere
Welch Signed-off-by: Fabien Lahoudere --- drivers/tty/serial/imx.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 08ccfe1..c190986 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c

[PATCH 1/1] Fix NULL pointer dereference in imx serial driver DMA callback

2016-08-03 Thread Fabien Lahoudere
n't do that, there is one example that does: pl330. [1] It schedules sdma_tasklet, which again calls the dma_rx_callback. [2] I tested this by scheduling the sdma tasklet as far as right before the imx_stop_tx() call in imx_shutdown() and the problem occurred. Signed-off-by: Fabien Lahoudere <fabi

[PATCH 1/1] Fix NULL pointer dereference in imx serial driver DMA callback

2016-08-03 Thread Fabien Lahoudere
: pl330. [1] It schedules sdma_tasklet, which again calls the dma_rx_callback. [2] I tested this by scheduling the sdma tasklet as far as right before the imx_stop_tx() call in imx_shutdown() and the problem occurred. Signed-off-by: Fabien Lahoudere --- drivers/dma/imx-sdma.c | 2 ++ 1 file changed, 2

[PATCH 1/1] Add CPU temperature sensor support for i.MX53

2016-08-03 Thread Fabien Lahoudere
s from the original implementation. A new variable (read_attempt) is introduced to count the trials. Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- drivers/ata/ahci_imx.c | 203 - 1 file changed, 202 insertions(+), 1 delet

[PATCH 1/1] Add CPU temperature sensor support for i.MX53

2016-08-03 Thread Fabien Lahoudere
. A new variable (read_attempt) is introduced to count the trials. Signed-off-by: Fabien Lahoudere --- drivers/ata/ahci_imx.c | 203 - 1 file changed, 202 insertions(+), 1 deletion(-) diff --git a/drivers/ata/ahci_imx.c b/drivers/ata/ahci_imx.c index

[PATCH 1/1] Add driver for smsc usb251x i2c configuration

2016-08-02 Thread Fabien Lahoudere
This driver copy the configuration of the controller EEPROM via i2c. Configuration information is available in Documentation/usb/usb251x.txt Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- Documentation/devicetree/bindings/usb/usb251x.txt | 27 +++ drivers/us

[PATCH 1/1] Add driver for smsc usb251x i2c configuration

2016-08-02 Thread Fabien Lahoudere
This driver copy the configuration of the controller EEPROM via i2c. Configuration information is available in Documentation/usb/usb251x.txt Signed-off-by: Fabien Lahoudere --- Documentation/devicetree/bindings/usb/usb251x.txt | 27 +++ drivers/usb/misc/Kconfig | 9

[PATCH 01/01] Add nvd9128 as a simple panel

2016-08-02 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Upstream-Status: Pending Signed-off-by: Fabien Lahoudere <fabien.lahoud...@collabora.co.uk> --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + driv

[PATCH 01/01] Add nvd9128 as a simple panel

2016-08-02 Thread Fabien Lahoudere
Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel Upstream-Status: Pending Signed-off-by: Fabien Lahoudere --- .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + drivers/gpu/drm/panel/panel-sim

<    1   2