Bhuvanchandra DV (5):
tty: serial: fsl_lpuart: Fix broken 8m/s1 support
tty: serial: fsl-lpuart: Use cyclic DMA for Rx
tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx Drop PIO to DMA
switching and use scatter/gather DMA for Tx path to improve
performance.
tty: serial: fsl
and start the DMA at resume.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/tty/serial/fsl_lpuart.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 2
From: Stefan Agner
In order to allow wake support in STOP sleep mode, clocks are
needed. Use imx_clk_gate2_cgr to disable automatic clock gating
in low power mode STOP. This allows to enable wake by UART using:
echo enabled > /sys/class/tty/ttyLP0/power/wakeup
However, if wake
From: Stefan Agner
In order to allow wake support in STOP sleep mode, clocks are
needed. Use imx_clk_gate2_cgr to disable automatic clock gating
in low power mode STOP. This allows to enable wake by UART using:
echo enabled > /sys/class/tty/ttyLP0/power/wakeup
However, if wake is not enabled,
Bhuvanchandra DV (5):
tty: serial: fsl_lpuart: Fix broken 8m/s1 support
tty: serial: fsl-lpuart: Use cyclic DMA for Rx
tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx Drop PIO to DMA
switching and use scatter/gather DMA for Tx path to improve
performance.
tty: serial: fsl
and start the DMA at resume.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 44 +
1 file changed, 44 insertions(+)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 27687d5..134090a 100644
--- a/drivers
From: Stefan Agner
Commit 8e4934c6d6c6 ("tty: serial: fsl_lpuart: clear receive flag
on FIFO flush") implemented clearing of the receive flag by reading
the status register only. It turned out that even though we flush
the FIFO afterwards, a explicit read of the data
By default the driver always configure the mode as 8s1 even when 8m1
mode is selected. Fix this by adding support to control the space/mark bit.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/tty/serial/fsl_lpuart.c | 9 +++--
1 file changed, 7 insertions
From: Stefan Agner
Commit 8e4934c6d6c6 ("tty: serial: fsl_lpuart: clear receive flag
on FIFO flush") implemented clearing of the receive flag by reading
the status register only. It turned out that even though we flush
the FIFO afterwards, a explicit read of the data register is still
required.
By default the driver always configure the mode as 8s1 even when 8m1
mode is selected. Fix this by adding support to control the space/mark bit.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git
Add support for TPK U.S.A. LLC Fusion 7", 10.1"
panels to the DRM simple panel driver.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
This patch is based on top of Stefan's clock polarity patches[1]
[1] https://lkml.org/lkml/2016/5/5/20
.../bindings/displa
Add support for TPK U.S.A. LLC Fusion 7", 10.1"
panels to the DRM simple panel driver.
Signed-off-by: Bhuvanchandra DV
---
This patch is based on top of Stefan's clock polarity patches[1]
[1] https://lkml.org/lkml/2016/5/5/20
.../bindings/display/panel/tpk,f07a-0102.txt
On 04/20/2016 05:47 PM, Mark Brown wrote:
On Wed, Apr 20, 2016 at 05:43:32PM +0530, Bhuvanchandra DV wrote:
SPI drivers bind to the device as configured in DT, but in case of
spidev(non DT approach) the device is not available in hand to bind the
driver. So tried this approach of creating
On 04/20/2016 05:47 PM, Mark Brown wrote:
On Wed, Apr 20, 2016 at 05:43:32PM +0530, Bhuvanchandra DV wrote:
SPI drivers bind to the device as configured in DT, but in case of
spidev(non DT approach) the device is not available in hand to bind the
driver. So tried this approach of creating
On 04/18/2016 06:31 PM, Mark Brown wrote:
On Mon, Apr 18, 2016 at 04:48:27PM +0530, Bhuvanchandra DV wrote:
+++ b/Documentation/ABI/testing/sysfs-bus-spi-spidev
@@ -0,0 +1,8 @@
+What: /sys/bus/spi/drivers/spidev/new_id
+Date: March 2016
+Description
On 04/18/2016 06:31 PM, Mark Brown wrote:
On Mon, Apr 18, 2016 at 04:48:27PM +0530, Bhuvanchandra DV wrote:
+++ b/Documentation/ABI/testing/sysfs-bus-spi-spidev
@@ -0,0 +1,8 @@
+What: /sys/bus/spi/drivers/spidev/new_id
+Date: March 2016
+Description
Add new sysfs 'num_chipselect' file to expose the maximum number
of chipselects a SPI master can support.
This allows to create a script in user space which automatically
creates a new spidev instance for every chipselect on a bus.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.
by Greg.
[1] http://thread.gmane.org/gmane.linux.kernel.spi.devel/20331/focus=20369
Suggested-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Signed-off-by: Stefan Agner <stefan.ag...@toradex.com>
---
Documentation
Add new sysfs 'num_chipselect' file to expose the maximum number
of chipselects a SPI master can support.
This allows to create a script in user space which automatically
creates a new spidev instance for every chipselect on a bus.
Signed-off-by: Bhuvanchandra DV
Signed-off-by: Stefan Agner
by Greg.
[1] http://thread.gmane.org/gmane.linux.kernel.spi.devel/20331/focus=20369
Suggested-by: Greg Kroah-Hartman
Signed-off-by: Bhuvanchandra DV
Signed-off-by: Stefan Agner
---
Documentation/ABI/testing/sysfs-bus-spi-spidev | 8 +++
drivers/spi/spidev.c | 75
This patchset adds support for loading spidev via sysfs new_id file.
Any comments/suggestions welcome!
Bhuvanchandra DV (2):
spi: spidev: Use 'new_id' sysfs file for enabling spidev
spi core: Add new sysfs 'num_chipselect' file
Documentation/ABI/testing/sysfs-bus-spi-spidev | 8
This patchset adds support for loading spidev via sysfs new_id file.
Any comments/suggestions welcome!
Bhuvanchandra DV (2):
spi: spidev: Use 'new_id' sysfs file for enabling spidev
spi core: Add new sysfs 'num_chipselect' file
Documentation/ABI/testing/sysfs-bus-spi-spidev | 8
Calculate and update max speed from bus clock for SoC's
using DSPI IP.
The bus clock factor's are taken from the data sheet's
of respective SoC's.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/spi/spi-fsl-dspi.c | 7 +++
1 file changed, 7 insertions(+)
Calculate and update max speed from bus clock for SoC's
using DSPI IP.
The bus clock factor's are taken from the data sheet's
of respective SoC's.
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/spi/spi-fsl
Add pinmux for UART_A RTS, CTS pin's.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <ste...@agner.ch>
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm
Add pinmux for UART_A RTS, CTS pin's.
Signed-off-by: Bhuvanchandra DV
Acked-by: Stefan Agner
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm/boot/dts/vf-colibri.dtsi
index e5949b9..700840f 100644
Ping!
On 01/09/2016 12:29 PM, Bhuvanchandra DV wrote:
Use pwm-backlight driver 'enable-gpios' property for backlight on/off
control.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/vf
Ping!
On 01/09/2016 12:29 PM, Bhuvanchandra DV wrote:
Use pwm-backlight driver 'enable-gpios' property for backlight on/off
control.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/boot/dts/vf-colibri.dtsi | 9 +
1 file changed, 9 insertions(+)
On 12/10/2015 12:45 PM, Alexander Stein wrote:
On Thursday 10 December 2015 11:25:30, Bhuvanchandra DV wrote:
DSPI instances in Vybrid have a different amount of chip selects
and CTARs (Clock and transfer Attributes Register). In case of
DSPI1 we only have 2 CTAR registers and 4 CS. In present
On 12/10/2015 12:45 PM, Alexander Stein wrote:
On Thursday 10 December 2015 11:25:30, Bhuvanchandra DV wrote:
DSPI instances in Vybrid have a different amount of chip selects
and CTARs (Clock and transfer Attributes Register). In case of
DSPI1 we only have 2 CTAR registers and 4 CS. In present
that is not
present, hence configure CTAS to use CTAR0.
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 59a1143..39412c9 100644
--- a/drivers/spi/spi
On 12/10/2015 02:11 AM, Mark Brown wrote:
On Wed, Dec 09, 2015 at 11:51:39AM +0530, Bhuvanchandra DV wrote:
DSPI instances in Vybrid have a different amount of chip selects
and CTARs (Clock and transfer Attributes Register). In case of
DSPI1 we only have 2 CTAR registers and 4 CS. In present
On 12/10/2015 02:11 AM, Mark Brown wrote:
On Wed, Dec 09, 2015 at 11:51:39AM +0530, Bhuvanchandra DV wrote:
DSPI instances in Vybrid have a different amount of chip selects
and CTARs (Clock and transfer Attributes Register). In case of
DSPI1 we only have 2 CTAR registers and 4 CS. In present
that is not
present, hence configure CTAS to use CTAR0.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/spi/spi-fsl-dspi.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 59a1143..3
that is not
present, hence configure CTAS to use CTAR0.
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 01fa95b..b21c3c0 100644
--- a/drivers/spi/spi
that is not
present, hence configure CTAS to use CTAR0.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/spi/spi-fsl-dspi.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 0
| VDDconv | ADCR@Temp25 |
| 3.0V| 0.696mV |30 | 950 |
| 3.3V| 0.699mV |33 | 867 |
Acked-by: Fugang Duan
Signed-off-by: Bhuvanchandra DV
---
drivers/iio/adc/vf610_adc.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git
| VDDconv | ADCR@Temp25 |
| 3.0V| 0.696mV |30 | 950 |
| 3.3V| 0.699mV |33 | 867 |
Acked-by: Fugang Duan <b38...@freescale.com>
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/iio/adc/vf610_adc.c | 19 ++-
Hi Stefan,
Sorry! for the delay.
On 10/08/2015 11:46 AM, Stefan Agner wrote:
Hi Bhuvan,
On 2015-09-23 06:43, Bhuvanchandra DV wrote:
There is an observed temperature difference of ~20°C with the
internal temperature reading and the temperature measured on
SoC package. Existing calculations
Hi Stefan,
Sorry! for the delay.
On 10/08/2015 11:46 AM, Stefan Agner wrote:
Hi Bhuvan,
On 2015-09-23 06:43, Bhuvanchandra DV wrote:
There is an observed temperature difference of ~20°C with the
internal temperature reading and the temperature measured on
SoC package. Existing calculations
Hi Fugang,
On 09/27/2015 09:23 PM, Jonathan Cameron wrote:
On 23/09/15 14:43, Bhuvanchandra DV wrote:
There is an observed temperature difference of ~20°C with the
internal temperature reading and the temperature measured on
SoC package. Existing calculations consider the typical values
Hi Fugang,
On 09/27/2015 09:23 PM, Jonathan Cameron wrote:
On 23/09/15 14:43, Bhuvanchandra DV wrote:
There is an observed temperature difference of ~20°C with the
internal temperature reading and the temperature measured on
SoC package. Existing calculations consider the typical values
-by: Bhuvanchandra DV
---
drivers/iio/adc/vf610_adc.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/adc/vf610_adc.c b/drivers/iio/adc/vf610_adc.c
index f4df2a7..e7abc13 100644
--- a/drivers/iio/adc/vf610_adc.c
+++ b/drivers/iio/adc/vf610_adc.c
-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
drivers/iio/adc/vf610_adc.c | 19 ++-
1 file changed, 14 insertions(+), 5 deletions(-)
diff --git a/drivers/iio/adc/vf610_adc.c b/drivers/iio/adc/vf610_adc.c
index f4df2a7..e7abc13 100644
--- a/drivers/iio/adc/vf610
On 06/08/2015 02:42 PM, Russell King - ARM Linux wrote:
On Mon, Jun 01, 2015 at 10:51:06AM +0530, Bhuvanchandra DV wrote:
+/*
+ * CTS/RTS can _only_ be handled
+ * automatically by the hardware.
+ */
That's really not acceptable. You need to do something here so that you
can
Hello,
On 06/08/2015 12:11 PM, Uwe Kleine-König wrote:
Hello,
On Mon, Jun 01, 2015 at 10:51:06AM +0530, Bhuvanchandra DV wrote:
The LPUART does not provide manual control of RTS/CTS signals,
those can only be controlled by the hardware directly. Therefore
manual control of those signals
On 06/08/2015 02:42 PM, Russell King - ARM Linux wrote:
On Mon, Jun 01, 2015 at 10:51:06AM +0530, Bhuvanchandra DV wrote:
+/*
+ * CTS/RTS can _only_ be handled
+ * automatically by the hardware.
+ */
That's really not acceptable. You need to do something here so that you
can
Hello,
On 06/08/2015 12:11 PM, Uwe Kleine-König wrote:
Hello,
On Mon, Jun 01, 2015 at 10:51:06AM +0530, Bhuvanchandra DV wrote:
The LPUART does not provide manual control of RTS/CTS signals,
those can only be controlled by the hardware directly. Therefore
manual control of those signals
Hello,
Ping!
On 06/01/2015 10:51 AM, Bhuvanchandra DV wrote:
Changes since V1:
Use common get/set mctrl control methods for both lpuart, lpuart32
and fix indention.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
tty: serial: fsl_lpuart: remove
Hello,
Ping!
On 06/01/2015 10:51 AM, Bhuvanchandra DV wrote:
Changes since V1:
Use common get/set mctrl control methods for both lpuart, lpuart32
and fix indention.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
tty: serial: fsl_lpuart: remove
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 56 +
1 file changed, 56 insertions(+)
diff --git a/drivers/tty/serial
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm/boot/dts/vf-colibri.dtsi
index 68ca125..ad6c5ca 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf
, hence remove the incorrect
implementation.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 63 +
1 file changed, 7 insertions(+), 56 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index
Changes since V1:
Use common get/set mctrl control methods for both lpuart, lpuart32
and fix indention.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl
tty: serial: fsl_lpuart: Add
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/tty/serial/fsl_lpuart.c | 56 +
1 file changed, 56 insertions
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm/boot/dts/vf-colibri.dtsi
index 68ca125..ad6c5ca 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
, hence remove the incorrect
implementation.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/tty/serial/fsl_lpuart.c | 63 +
1 file changed, 7 insertions(+), 56 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty
Changes since V1:
Use common get/set mctrl control methods for both lpuart, lpuart32
and fix indention.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl
tty: serial: fsl_lpuart: Add
On 05/29/2015 03:48 PM, Jakub Kiciński wrote:
On Fri, 29 May 2015 13:35:54 +0530, Bhuvanchandra DV wrote:
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c
Hello Jakub,
On 05/29/2015 03:34 PM, Jakub Kiciński wrote:
On Fri, 29 May 2015 13:35:53 +0530, Bhuvanchandra DV wrote:
The LPUART does not provide manual control of RTS/CTS signals,
those can only be controlled by the hardware directly. Therefore
manual control of those signals through mctrl
, hence remove the incorrect
implementation.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 56 -
1 file changed, 10 insertions(+), 46 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm/boot/dts/vf-colibri.dtsi
index 68ca125..ad6c5ca 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
+++ b/arch/arm/boot/dts/vf
- Add pinmux for UART_0 RTS/CTS pins.
- Since hardware can handle RTS/CTS flow control automatically,
remove manual control of RTS/CTS from set/get mctrl.
- Add RS-485 support for Vybird platform.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 60 +
1 file changed, 60 insertions(+)
diff --git a/drivers/tty/serial
- Add pinmux for UART_0 RTS/CTS pins.
- Since hardware can handle RTS/CTS flow control automatically,
remove manual control of RTS/CTS from set/get mctrl.
- Add RS-485 support for Vybird platform.
Bhuvanchandra DV (3):
ARM: dts: colibri-vf: Add pinmux for UART_0 aka UART_A RTS/CTS pins
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/tty/serial/fsl_lpuart.c | 60 +
1 file changed, 60 insertions
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri.dtsi
b/arch/arm/boot/dts/vf-colibri.dtsi
index 68ca125..ad6c5ca 100644
--- a/arch/arm/boot/dts/vf-colibri.dtsi
, hence remove the incorrect
implementation.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/tty/serial/fsl_lpuart.c | 56 -
1 file changed, 10 insertions(+), 46 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty
On 05/29/2015 03:48 PM, Jakub Kiciński wrote:
On Fri, 29 May 2015 13:35:54 +0530, Bhuvanchandra DV wrote:
Enable Vybrid's build-in support for RS-485 auto RTS for
controlling line direction of RS-485 transceiver driver.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers
Hello Jakub,
On 05/29/2015 03:34 PM, Jakub Kiciński wrote:
On Fri, 29 May 2015 13:35:53 +0530, Bhuvanchandra DV wrote:
The LPUART does not provide manual control of RTS/CTS signals,
those can only be controlled by the hardware directly. Therefore
manual control of those signals through mctrl
Move the check for spi->bits_per_word
before allocation, to avoid memory leak.
Signed-off-by: Dan Carpenter
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/
Move the check for spi-bits_per_word
before allocation, to avoid memory leak.
Signed-off-by: Dan Carpenter dan.carpen...@oracle.com
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/spi/spi-fsl-dspi.c | 13 +++--
1 file changed, 7 insertions(+), 6 deletions
MCP2515 CAN controller is available on Colibri Evaluation board.
Hence enable MCP2515 CAN.
Acked-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 31 +++
arch/arm/boot/dts/vf-colibri.dtsi | 15
MCP2515 CAN controller is available on Colibri Evaluation board.
Hence enable MCP2515 CAN.
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 31 +++
arch/arm/boot/dts/vf
- Add second dspi instance.
- Enable MCP2515 CAN controller which is avaialble on
Colibri evaluation board.
- Respin the stalled patches of dspi fixes.
Previous discussion at:
http://comments.gmane.org/gmane.linux.ports.arm.kernel/359542
Bhuvanchandra DV (4):
ARM: vf610: add second DSPI
-by: Bhuvanchandra DV
---
.../devicetree/bindings/spi/spi-fsl-dspi.txt | 2 +
drivers/spi/spi-fsl-dspi.c | 74 +++---
2 files changed, 68 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt
b/Documentation
From: Chao Fu
Add two functions:
- dspi_data_from_popr
- dspi_data_to_pushr
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 118 +++--
1 file changed, 60 insertions(+), 58 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers
in the driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/Kconfig| 1 -
drivers/spi/spi-fsl-dspi.c | 144 ++---
2 files changed, 71 insertions(+), 74 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9982998..6316d6d 100644
c80
r5:0006
[1.764399] r4:807a7bc8
[1.771813] [<80773d08>] (kernel_init_freeable) from [<8059f864>]
(kernel_init+0x10/0xf0)
[1.789660] r10:0000 r9:0000 r8: r7: r6:
r5:8059f854
[1.807381] r4:
[1.814668] [<8059f854&
Signed-off-by: Bhuvanchandra DV
---
drivers/spi/spi-fsl-dspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 9b80d54..5378148 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b/drivers/spi/spi-fsl-dspi.c
@@ -502,7
Acked-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf500.dtsi | 4
arch/arm/boot/dts/vfxxx.dtsi | 11 +++
2 files changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500.dtsi
index 1dbf8d2..f5f807c 100644
--- a/arch
MCP2515 CAN controller is available on Colibri Evaluation board.
Hence enable MCP2515 CAN.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 31 +++
arch/arm/boot/dts/vf-colibri.dtsi | 15 +++
2 files changed, 46
the bitbang in the driver.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/spi/Kconfig| 1 -
drivers/spi/spi-fsl-dspi.c | 144 ++---
2 files changed, 71 insertions(+), 74 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers
.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
.../devicetree/bindings/spi/spi-fsl-dspi.txt | 2 +
drivers/spi/spi-fsl-dspi.c | 74 +++---
2 files changed, 68 insertions(+), 8 deletions(-)
diff --git a/Documentation/devicetree
From: Chao Fu b44...@freescale.com
Add two functions:
- dspi_data_from_popr
- dspi_data_to_pushr
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/spi/spi-fsl-dspi.c | 118 +++--
1 file changed, 60 insertions(+), 58 deletions
ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/spi/spi-fsl-dspi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
index 9b80d54..5378148 100644
--- a/drivers/spi/spi-fsl-dspi.c
+++ b
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf500.dtsi | 4
arch/arm/boot/dts/vfxxx.dtsi | 11 +++
2 files changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/vf500.dtsi b/arch/arm/boot/dts/vf500
MCP2515 CAN controller is available on Colibri Evaluation board.
Hence enable MCP2515 CAN.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 31 +++
arch/arm/boot/dts/vf-colibri.dtsi | 15
trace f7f1c89f62e53de9 ]---
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/spi/spi-fsl-dspi.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c
- Add second dspi instance.
- Enable MCP2515 CAN controller which is avaialble on
Colibri evaluation board.
- Respin the stalled patches of dspi fixes.
Previous discussion at:
http://comments.gmane.org/gmane.linux.ports.arm.kernel/359542
Bhuvanchandra DV (4):
ARM: vf610: add second DSPI
Add support for clock gating of UART4 and UART5.
We use these UART's in a (not yet mainlined)
device tree.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/mach-imx/clk-vf610.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch/arm/mach-imx/clk-vf610.c
On i.MX28, the MDIO bus is shared between the
two RMII interfaces. However, in newer designs,
such as Vybrid, this is not the case. This patch
adds a quirk for the single MDIO case. This allows
to use both FEC interfaces working independently
on Vybird.
Signed-off-by: Bhuvanchandra DV
On i.MX28, the MDIO bus is shared between the
two RMII interfaces. However, in newer designs,
such as Vybrid, this is not the case. This patch
adds a quirk for the single MDIO case. This allows
to use both FEC interfaces working independently
on Vybird.
Signed-off-by: Bhuvanchandra DV
Add support for clock gating of UART4 and UART5.
We use these UART's in a (not yet mainlined)
device tree.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/mach-imx/clk-vf610.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-imx/clk-vf610.c b/arch
Add I2C support on Colibri VFxx moduels and enable M41T0M6 RTC
available on Colibri carrier boards.
Bhuvanchandra DV (2):
ARM: dts: vf-colibri: Add I2C support
ARM: dts: vf-colibri-eval-v3.dts: Enable ST-M41T0M6 RTC
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 12 +++-
arch/arm
ST-M41T0M6 is available on Colibri carrier boards.
Hence enable M41T0M6 RTC.
Acked-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
b/arch/arm
Acked-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 +-
arch/arm/boot/dts/vf-colibri.dtsi | 13 +
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
b/arch
Add I2C support on Colibri VFxx moduels and enable M41T0M6 RTC
available on Colibri carrier boards.
Bhuvanchandra DV (2):
ARM: dts: vf-colibri: Add I2C support
ARM: dts: vf-colibri-eval-v3.dts: Enable ST-M41T0M6 RTC
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 12 +++-
arch/arm
ST-M41T0M6 is available on Colibri carrier boards.
Hence enable M41T0M6 RTC.
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |6 +-
arch/arm/boot/dts/vf-colibri.dtsi | 13 +
2 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/arch/arm
101 - 200 of 240 matches
Mail list logo