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
Use pwm-backlight driver 'enable-gpios' property for backlight on/off control.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/imx7-colibri.dtsi | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi
b/arch/arm/boo
Update #pwm-cells to 3 in order to support PWM signal polarity control.
Signed-off-by: Bhuvanchandra DV
---
Documentation/devicetree/bindings/pwm/imx-pwm.txt | 6 +++---
arch/arm/boot/dts/imx7s.dtsi | 8
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git
Configure PWM polarity control.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/imx7-colibri.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi
b/arch/arm/boot/dts/imx7-colibri.dtsi
index a9cc657..2af5e3e 100644
--- a/arch/arm
]
http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/294027.html
[2] https://www.spinics.net/lists/arm-kernel/msg530818.html
Bhuvanchandra DV (3):
arm: dts: imx7: Update #pwm-cells for PWM polarity control
arm: dts: imx7-colibri: Use pwm polarity control
arm: dts: imx7-colibri
| 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 a
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
---
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-vf
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
r7:807f1c80 r6:807f1c80
r5:0006
[1.764399] r4:807a7bc8
[1.771813] [<80773d08>] (kernel_init_freeable) from [<8059f864>]
(kernel_init+0x10/0xf0)
[ 1.789660] r10: r9: r8: r7: r6:
r5:8059f854
[1.807381] r4:
[1.81
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
--- a
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
: 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
- 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 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/s
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 | 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
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
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_lpu
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,
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 yo
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
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
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/s
Enabled pwm second instance and backlight control
Bhuvanchandra DV (3):
ARM: dts: vf610: Add PWM second instance
ARM: dts: vf610-colibri: Add PWM support
ARM: dts: vf610-colibri: Add backlight support
arch/arm/boot/dts/vf610-colibri-eval-v3.dts | 14
arch/arm/boot/dts/vf610
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf610.dtsi | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi
index 4d2ec32..fb00f13 100644
--- a/arch/arm/boot/dts/vf610.dtsi
+++ b/arch/arm/boot/dts/vf610.dtsi
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++
arch/arm/boot/dts/vf610-colibri.dtsi|7 +++
2 files changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
The Colibri standard defines four pins as PWM outputs, two of them (PWM
A and C) are routed to FTM instance 0 and the other two (PWM B and D)
are routed to FTM instance 1. Hence enable both FTM instances for the
Colibri module and mux the four pins accordingly.
Signed-off-by: Bhuvanchandra DV
On Thursday 18 September 2014 07:42 PM, Shawn Guo wrote:
> On Wed, Sep 17, 2014 at 01:46:29PM +0530, Bhuvanchandra DV wrote:
>> The Colibri standard defines four pins as PWM outputs, two of them (PWM
>> A and C) are routed to FTM instance 0 and the other two (PWM B and D)
>&g
On Thursday 18 September 2014 07:47 PM, Shawn Guo wrote:
> On Wed, Sep 17, 2014 at 01:46:30PM +0530, Bhuvanchandra DV wrote:
>> Signed-off-by: Bhuvanchandra DV
>> ---
>> arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++
>> arch/arm/boot/dts/vf610
Changes since v1:
[1] Sorted the node names alphabetically.
[2] Updated the node name 'bl: backlight' to 'backlight: bl'.
[3] Dropped the leading space in 'pwm-names' property of backlight.
Bhuvanchandra DV (2):
ARM: dts: vf610-colibri: Add PWM support
ARM: dts
The Colibri standard defines four pins as PWM outputs, two of them (PWM
A and C) are routed to FTM instance 0 and the other two (PWM B and D)
are routed to FTM instance 1. Hence enable both FTM instances for the
Colibri module and mux the four pins accordingly.
Signed-off-by: Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++
arch/arm/boot/dts/vf610-colibri.dtsi|6 ++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
On Friday 19 September 2014 09:30 PM, Stefan Agner wrote:
> Am 2014-09-19 15:38, schrieb Bhuvanchandra DV:
>> The Colibri standard defines four pins as PWM outputs, two of them (PWM
>> A and C) are routed to FTM instance 0 and the other two (PWM B and D)
>> are routed to
On Friday 19 September 2014 09:33 PM, Stefan Agner wrote:
> Am 2014-09-19 15:38, schrieb Bhuvanchandra DV:
>> Signed-off-by: Bhuvanchandra DV
>> ---
>> arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++
>> arch/arm/boot/dts/vf610-colibri.dtsi|6 +++
Changes since v2:
[1] Droped the changes done in the root node.
[2] Fix typo in backlight node.
Bhuvanchandra DV (2):
ARM: dts: vf610-colibri: Add PWM support
ARM: dts: vf610-colibri: Add backlight support
arch/arm/boot/dts/vf610-colibri-eval-v3.dts | 14 +
arch/arm/boot/dts
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf610-colibri-eval-v3.dts |6 ++
arch/arm/boot/dts/vf610-colibri.dtsi|5 +
2 files changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
b/arch/arm/boot/dts/vf610-colibri-eval-v3.dts
The Colibri standard defines four pins as PWM outputs, two of them (PWM
A and C) are routed to FTM instance 0 and the other two (PWM B and D)
are routed to FTM instance 1. Hence enable both FTM instances for the
Colibri module and mux the four pins accordingly.
Signed-off-by: Bhuvanchandra DV
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
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
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/boot/dts/vf-colibri.dtsi | 13 +
2 files changed, 24 insertions(+), 1 deletion
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 | 13 -
arch/arm
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/vf-colibri-eval-v3.dtsi |7 ++-
arch/arm/boot/dts/vf-colibri.dtsi | 13 +
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/vf-colibri-eval-v3.dtsi
b/arch/arm/boot/dts/vf-colibri
ST-M41T0M6 is available on Colibri carrier boards.
Hence enable M41T0M6 RTC.
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/boot/dts/vf-colibri-eval
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
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
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
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
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
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
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
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/
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:
+ This
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 the
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
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: St
ggested 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
Drop the clock change patch from v2 patchset[1] since it is applied.
Changes since v1:
Split suspend/resume patch.
[1] https://lkml.org/lkml/2016/6/28/124
Bhuvanchandra DV (5):
tty: serial: fsl_lpuart: Fix broken 8m/s1 support
tty: serial: fsl_lpuart: Use cyclic DMA for Rx
tty: serial
Enable Vybrid's build-in support for RS-485 auto RTS for controlling line
direction of RS-485 transceiver driver.
Enable RS485 feature by either using ioctrl 'TIOCSRS485' or enable it in the
device tree by setting 'linux,rs485-enabled-at-boot-time' property.
Signed
From: Stefan Agner
Add suspend/resume support.
Signed-off-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial
driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 483 +---
1 file changed, 258 insertions(+), 225 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 615f191..51d2b5a 100644
--- a/drivers
driver by checking whether the
TX DMA is in progress too.
Signed-off-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial
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
l required.
This leads to a FIFO underrun. To avoid this, follow the advice in the overrun
"Operation section": Unconditionally clear RXUF after using RXFLUSH.
Signed-off-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 9 ++---
1 file changed
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 a
Drop PIO to DMA switching and use scatter/gather DMA for Tx path to improve
performance.
Some part of the code is borrowed from imx serial driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 257 ++--
1 file changed, 113 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 a
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, th
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
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
driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 483 +---
1 file changed, 258 insertions(+), 225 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial/fsl_lpuart.c
index 615f191..51d2b5a 100644
--- a/drivers
From: Stefan Agner
Currently the tx_empty callback only considers the Transmit Complete
Flag (TC). The reference manual is not quite clear if the TC flag
covers the TX FIFO too. Debug prints on real hardware have shown that
from time to time the TC flag is asserted (indicating Transmitter
idle) w
Enable Vybrid's build-in support for RS-485 auto RTS for controlling
line direction of RS-485 transceiver driver.
Enable RS485 feature by either using ioctrl 'TIOCSRS485' or enable it in
the device tree by setting 'linux,rs485-enabled-at-boot-time' property.
Signed
Some part of the code is borrowed from imx serial driver.
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 257 ++--
1 file changed, 113 insertions(+), 144 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial
Ping!
On 06/28/16 11:02, Bhuvanchandra DV wrote:
Changes since v1:
Split suspend/resume patch.
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
tty: serial
On 10/07/16 03:43, Aaron Brice wrote:
In the case where head == 0 on the circular buffer, there should be one
DMA buffer, not two. The second zero-length buffer would break the
lpuart driver, transfer would never complete.
Tested-by: Bhuvanchandra DV
Signed-off-by: Aaron Brice
Use pwm-backlight driver 'enable-gpios' property for backlight on/off control.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/imx7-colibri.dtsi | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi
b/arch/arm/boo
Configure PWM polarity control.
Signed-off-by: Bhuvanchandra DV
---
arch/arm/boot/dts/imx7-colibri.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi
b/arch/arm/boot/dts/imx7-colibri.dtsi
index a9cc657..2af5e3e 100644
--- a/arch/arm
From: Lothar Wassmann
The i.MX pwm unit on i.MX27 and newer SoCs provides a configurable output
polarity. This patch adds support to utilize this feature where available.
Signed-off-by: Lothar Waßmann
Signed-off-by: Lukasz Majewski
Signed-off-by: Bhuvanchandra DV
Acked-by: Shawn Guo
Hi Lukasz,
On 10/06/16 12:06, Lukasz Majewski wrote:
Hi Bhuvanchandra,
From: Lothar Wassmann
Change the pwm chip driver registration, so that a chip driver that
supports polarity inversion can still be used with DTBs that don't
provide the 'PWM_POLARITY' flag.
This is
From: Lothar Wassmann
Make the messages that are printed in case of fatal errors actually
visible to the user without having to recompile the driver with
debugging enabled.
Signed-off-by: Lothar Waßmann
Signed-off-by: Bhuvanchandra DV
---
drivers/pwm/core.c | 4 ++--
1 file changed, 2
arm-kernel/msg530818.html
Bhuvanchandra DV (3):
arm: dts: imx7: Update #pwm-cells for PWM polarity control
arm: dts: imx7-colibri: Use pwm polarity control
arm: dts: imx7-colibri: Use enable-gpios for BL_ON
Lothar Wassmann (3):
pwm: print error messages with pr_err() instead of pr_de
g to modify all existing DTS files.
Signed-off-by: Lothar Wassmann
Signed-off-by: Lukasz Majewski
Signed-off-by: Bhuvanchandra DV
Suggested-by: Sascha Hauer
---
drivers/pwm/core.c | 22 --
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/drivers/pwm/core.c b/dri
Update #pwm-cells to 3 in order to support PWM signal polarity control.
Signed-off-by: Bhuvanchandra DV
Acked-by: Rob Herring
---
arch/arm/boot/dts/imx7s.dtsi | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi
On 12/03/2016 02:25 PM, Nikita Yushchenko wrote:
03.12.2016 10:06, Bhuvanchandra DV пишет:
On 12/03/2016 02:58 AM, Nikita Yushchenko wrote:
Problem found via lockdep:
- lpuart_set_termios() calls del_timer_sync(&sport->lpuart_timer) while
holding sport->port.lock
- sport->
On 12/03/2016 02:58 AM, Nikita Yushchenko wrote:
Problem found via lockdep:
- lpuart_set_termios() calls del_timer_sync(&sport->lpuart_timer) while
holding sport->port.lock
- sport->lpuart_timer routine is lpuart_timer_func() that calls
lpuart_copy_rx_to_tty() that acquires same lock.
T
Hello,
Any comments on this patchset?
On 07/19/16 13:13, Bhuvanchandra DV wrote:
Drop the clock change patch from v2 patchset[1] since it is applied.
Changes since v1:
Split suspend/resume patch.
[1] https://lkml.org/lkml/2016/6/28/124
Bhuvanchandra DV (5):
tty: serial: fsl_lpuart: Fix
Hi Andrew,
On 08/02/16 20:58, Andrew Lunn wrote:
On Tue, Aug 02, 2016 at 01:23:32PM +0530, Bhuvanchandra DV wrote:
Hello,
Any comments on this patchset?
I tested v1 on my Vybrid board and it fixed the corruption issues i
was seeing with the console on a serial port. I will try to test this
On 06/26/16 02:56, Greg KH wrote:
On Thu, Jun 09, 2016 at 08:40:32PM +0530, Bhuvanchandra DV wrote:
From: Stefan Agner
Currently the tx_empty callback only considers the Transmit Complete
Flag (TC). The reference manual is not quite clear if the TC flag
covers the TX FIFO too. Debug prints
driver by checking whether the
TX DMA is in progress too.
Signed-off-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/drivers/tty/serial/fsl_lpuart.c b/drivers/tty/serial
l required.
This leads to a FIFO underrun. To avoid this, follow the advice in the overrun
"Operation section": Unconditionally clear RXUF after using RXFLUSH.
Signed-off-by: Stefan Agner
Signed-off-by: Bhuvanchandra DV
---
drivers/tty/serial/fsl_lpuart.c | 9 ++---
1 file changed
1 - 100 of 120 matches
Mail list logo