Add GPIO driver support to Freescale VF610
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/imx-common/iomux-v3.c | 26 +
arch/arm/include/asm/arch-vf610/gpio.h | 29 +
arch/arm/include/asm/arch-vf610/imx-regs.h | 5 +
arch/arm/include/asm/imx
, VF61
modules and both works fine.
- The patchset is based and tested on the latest master branch.
Bhuvanchandra DV (9):
dm: gpio: uclass: Add flag to control sequence numbering
dm: gpio: vf610: Add GPIO driver support
colibri_vf: Add pinmux entries for GPIOs
colibri_vf: Enable GPIO support
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
configs/colibri_vf_defconfig | 1 +
include/configs/colibri_vf.h | 5 +
2 files changed, 6 insertions(+)
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index 0df337c..a527086 100644
--- a/configs
using the driver with device trees.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/gpio/gpio-uclass.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index 530bb3e..bf982b9 100644
--- a/drivers/gpio/gpio-uclass.c
Add iomux definitions for DSPI second instance.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 9 +
board/toradex/colibri_vf/colibri_vf.c | 21 +
2 files changed, 30 insertions(+)
diff --git
From: Sanchayan Maity maitysancha...@gmail.com
Add IOMUX for the pad used as USB pen. This needs to be driven low for
the Iris and Viola boards where it is pulled up high by default. This is
required for the USB host functionality to work on these boards. Use the
board specific weak
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/cpu/armv7/vf610/generic.c | 7 +++
arch/arm/include/asm/arch-vf610/clock.h| 1 +
arch/arm/include/asm/arch-vf610/crm_regs.h | 4
3 files changed, 12 insertions(+)
diff --git a/arch/arm/cpu/armv7/vf610
Add device tree files for Freescale Vybrid platform and
Toradex Colibri VF50, VF61 modules.
Device tree files are taken from upstream Kernel.
Removed the stuff which are not used/supported yet in U-Boot.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/dts/Makefile
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
include/configs/colibri_vf.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 42555fb..25a9bf9 100644
--- a/include/configs/colibri_vf.h
+++ b/include
-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
configs/colibri_vf_dtb_defconfig | 6 ++
1 file changed, 6 insertions(+)
create mode 100644 configs/colibri_vf_dtb_defconfig
diff --git a/configs/colibri_vf_dtb_defconfig b/configs/colibri_vf_dtb_defconfig
new file mode 100644
index 000..28ff1e9
From: Sanchayan Maity maitysancha...@gmail.com
Add a weak function board_ehci_hcd_init which can be used by the board
file for board specific initialisation.
Signed-off-by: Sanchayan Maity maitysancha...@gmail.com
---
drivers/usb/host/ehci-vf.c | 8
1 file changed, 8 insertions(+)
Inorder to use the pins as GPIO, apart from setting the alt-function,
pinmuxing need to be done, this patch adds pinmux entries of
few GPIOs.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++
board/toradex
Hello Stefano,
Ping!
On 06/01/2015 06:37 PM, Bhuvanchandra DV wrote:
Changes since V2:
Add defconfig and device tree files list to Toradex boards maintainer file.
Invert the logic for enabling the DSPI support.
Bhuvanchandra DV (9):
dm: gpio: uclass: Add flag to control sequence numbering
On 06/09/2015 07:54 PM, Axel Lin wrote:
It's confusing to use gpio as gpio offset parameter so rename it to offset
for better readability.
Agreed, but IMHO these offsets any way at the end are the gpio numbers
of individual gpio chip instances. e.g: gpio 2 of gpio chip 1 which is
gpio 34.
Hello Axel,
On 06/09/2015 02:45 PM, Axel Lin wrote:
Pass correct gpio argument to gpio_set_value().
The calcualation of gpio = gpio + (gpios-chip * VYBRID_GPIO_COUNT);
is required for calling imx_iomux_gpio_* functions so move them close to
improve readability.
Signed-off-by: Axel Lin
On 06/09/2015 06:49 PM, Axel Lin wrote:
2015-06-09 20:58 GMT+08:00 Bhuvanchandra DV bhuvanchandra...@toradex.com:
Hello Axel,
On 06/09/2015 02:45 PM, Axel Lin wrote:
Pass correct gpio argument to gpio_set_value().
The calcualation of gpio = gpio + (gpios-chip * VYBRID_GPIO_COUNT
Hello,
On 05/26/2015 04:57 PM, Stefano Babic wrote:
Hi,
On 24/05/2015 21:34, Bhuvanchandra DV wrote:
Hello Stefano,
On 05/18/2015 06:36 PM, Bhuvanchandra DV wrote:
This patch-set adds GPIO driver, DSPI and device tree support
for Freescale Vybrid platform and Toradex Colibri Vybrid VF50
From: Sanchayan Maity maitysancha...@gmail.com
Add a weak function board_ehci_hcd_init which can be used by the board
file for board specific initialisation.
Signed-off-by: Sanchayan Maity maitysancha...@gmail.com
---
drivers/usb/host/ehci-vf.c | 8
1 file changed, 8 insertions(+)
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
include/configs/colibri_vf.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 195102b..56e6d97 100644
--- a/include/configs/colibri_vf.h
+++ b/include
Add device tree files for Freescale Vybrid platform and
Toradex Colibri VF50, VF61 modules.
Device tree files are taken from upstream Kernel.
Removed the stuff which are not used/supported yet in U-Boot.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/dts/Makefile
Inorder to use the pins as GPIO, apart from setting the alt-function,
pinmuxing need to be done, this patch adds pinmux entries of
few GPIOs.
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49
ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
board/toradex/colibri_vf/MAINTAINERS | 4
configs/colibri_vf_dtb_defconfig | 8
2 files changed, 12 insertions(+)
create mode 100644 configs/colibri_vf_dtb_defconfig
diff --git a/board/toradex
From: Sanchayan Maity maitysancha...@gmail.com
Add IOMUX for the pad used as USB pen. This needs to be driven low for
the Iris and Viola boards where it is pulled up high by default. This is
required for the USB host functionality to work on these boards. Use the
board specific weak
On 06/01/2015 04:05 PM, Stefan Agner wrote:
On 2015-06-01 10:51, Bhuvanchandra DV wrote:
Most of the drivers available for Vybrid are not yet converted
to OF model to use device tree model, only few drivers
like SPI and GPIO drivers use device trees.
Add separate defconfig for who needs to use
Hello Stefan,
On 06/01/2015 04:02 PM, Stefan Agner wrote:
On 2015-06-01 10:51, Bhuvanchandra DV wrote:
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
include/configs/colibri_vf.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/colibri_vf.h
Add GPIO driver support to Freescale VF610
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/imx-common/iomux-v3.c | 26 +
arch/arm/include/asm/arch-vf610/gpio.h | 29 +
arch/arm/include/asm/arch-vf610/imx-regs.h | 5 +
arch/arm/include/asm/imx
Add iomux definitions for DSPI second instance.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 9 +
board/toradex/colibri_vf/colibri_vf.c | 21 +
2 files changed, 30 insertions(+)
diff --git
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/cpu/armv7/vf610/generic.c | 7 +++
arch/arm/include/asm/arch-vf610/clock.h| 1 +
arch/arm/include/asm/arch-vf610/crm_regs.h | 4
3 files changed, 12 insertions(+)
diff --git a/arch/arm/cpu/armv7/vf610
using the driver with device trees.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/gpio/gpio-uclass.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index 530bb3e..bf982b9 100644
--- a/drivers/gpio/gpio-uclass.c
Changes since V2:
Add defconfig and device tree files list to Toradex boards maintainer file.
Invert the logic for enabling the DSPI support.
Bhuvanchandra DV (9):
dm: gpio: uclass: Add flag to control sequence numbering
dm: gpio: vf610: Add GPIO driver support
colibri_vf: Add pinmux
Acked-by: Stefan Agner ste...@agner.ch
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
configs/colibri_vf_defconfig | 1 +
include/configs/colibri_vf.h | 5 +
2 files changed, 6 insertions(+)
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index
Hello Stefano,
On 06/01/2015 01:15 PM, Stefano Babic wrote:
Hi Bhuvanchandra,
On 18/05/2015 15:06, Bhuvanchandra DV wrote:
Most of the drivers available for Vybrid are not yet converted
to OF model to use device tree model, only few drivers
like SPI and GPIO drivers use device trees.
Add
From: Sanchayan Maity maitysancha...@gmail.com
Add IOMUX for the pad used as USB pen. This needs to be driven low for
the Iris and Viola boards where it is pulled up high by default. This is
required for the USB host functionality to work on these boards. Use the
board specific weak
Add GPIO driver support to Freescale VF610
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/imx-common/iomux-v3.c | 26 +
arch/arm/include/asm/arch-vf610/gpio.h | 29 +
arch/arm/include/asm/arch-vf610/imx-regs.h | 5 +
arch/arm/include/asm/imx
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/cpu/armv7/vf610/generic.c | 7 +++
arch/arm/include/asm/arch-vf610/clock.h| 1 +
arch/arm/include/asm/arch-vf610/crm_regs.h | 4
3 files changed, 12 insertions(+)
diff --git a/arch/arm/cpu/armv7/vf610
using the driver with device trees.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
drivers/gpio/gpio-uclass.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c
index 530bb3e..bf982b9 100644
--- a/drivers/gpio/gpio-uclass.c
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
include/configs/colibri_vf.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/colibri_vf.h b/include/configs/colibri_vf.h
index 195102b..3e57417 100644
--- a/include/configs/colibri_vf.h
+++ b/include
-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
configs/colibri_vf_dtb_defconfig | 8
1 file changed, 8 insertions(+)
create mode 100644 configs/colibri_vf_dtb_defconfig
diff --git a/configs/colibri_vf_dtb_defconfig b/configs/colibri_vf_dtb_defconfig
new file mode 100644
index 000
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
configs/colibri_vf_defconfig | 1 +
include/configs/colibri_vf.h | 5 +
2 files changed, 6 insertions(+)
diff --git a/configs/colibri_vf_defconfig b/configs/colibri_vf_defconfig
index 3b1f66a..0715267 100644
--- a/configs
Changes since V1:
Fix the broken patches
Bhuvanchandra DV (9):
dm: gpio: uclass: Add flag to control sequence numbering
dm: gpio: vf610: Add GPIO driver support
colibri_vf: Add pinmux entries for GPIOs
colibri_vf: Enable GPIO support
arm: vf610: Add clock support for DSPI
arm: vf610
Inorder to use the pins as GPIO, apart from setting the alt-function,
pinmuxing need to be done, this patch adds pinmux entries of
few GPIOs.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++
board/toradex
From: Sanchayan Maity maitysancha...@gmail.com
Add a weak function board_ehci_hcd_init which can be used by the board
file for board specific initialisation.
Signed-off-by: Sanchayan Maity maitysancha...@gmail.com
---
drivers/usb/host/ehci-vf.c | 8
1 file changed, 8 insertions(+)
Add iomux definitions for DSPI second instance.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 9 +
board/toradex/colibri_vf/colibri_vf.c | 21 +
2 files changed, 30 insertions(+)
diff --git
Add device tree files for Freescale Vybrid platform and
Toradex Colibri VF50, VF61 modules.
Device tree files are taken from upstream Kernel.
Removed the stuff which are not used/supported yet in U-Boot.
Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com
---
arch/arm/dts/Makefile
Hello Stefano,
On 05/18/2015 06:36 PM, Bhuvanchandra DV wrote:
This patch-set adds GPIO driver, DSPI and device tree support
for Freescale Vybrid platform and Toradex Colibri Vybrid VF50,
VF61 modules.
Following cases are tested with Vybrid GPIO driver:
- with DM, without DT
- with DM and DT
Hi Bin,
On 01/12/2016 12:21 PM, Bin Meng wrote:
Hi Bhuvanchandra,
On Tue, Jan 12, 2016 at 2:43 PM, Bhuvanchandra DV
<bhuvanchandra...@toradex.com> wrote:
Hi Bin,
On 01/12/2016 11:05 AM, Bin Meng wrote:
Hi Bhuvanchandra,
On Tue, Jan 12, 2016 at 12:28 PM, Bhuvanchandra DV
<bhuv
Hi Bin,
On 01/13/2016 11:43 AM, Bin Meng wrote:
Hi Bhuvan,
On Wed, Jan 13, 2016 at 1:49 PM, Bhuvanchandra DV
<bhuvanchandra...@gmail.com> wrote:
Hi Bin,
With reference to the discussion here[1].
Unfortunately the lpuart driver is now broken for legacy code and also
the driver doesn'
Hi Bin,
With reference to the discussion here[1].
Unfortunately the lpuart driver is now broken for legacy code and also
the driver doesn't
work with serial driver model enabled on Toradex Colibri VF50/VF61,
Freescale VF610twr
and Phytec pcm052 boards. Did some one tested this patchset on these
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
configs/ls1021atwr_nor_lpuart_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/ls1021atwr_nor_lpuart_defconfig
b/configs/ls1021atwr_nor_lpuart_defconfig
index d7afca9..d52181b 100644
--- a/c
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
board/freescale/vf610twr/vf610twr.c | 13 +
include/configs/vf610twr.h | 6 +++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/board/freescale/vf610twr/vf610twr.c
b/board/fre
Convert lpuart driver to driver model and remove the legacy code.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/include/asm/arch-vf610/serial.h | 16
drivers/serial/Kconfig | 6 ++
drivers/serial/serial_lpuart.c
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
board/phytec/pcm052/pcm052.c | 13 +
include/configs/pcm052.h | 6 +++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/board/phytec/pcm052/pcm052.c b/board/phytec/pcm052/pcm052.c
index e
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/include/asm/arch-ls102xa/serial.h | 16
board/freescale/ls1021atwr/ls1021atwr.c| 15 ++-
include/configs/ls1021atwr.h | 1 +
3 files changed, 31 insertions(+), 1 de
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
configs/vf610twr_defconfig | 1 +
configs/vf610twr_nand_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/configs/vf610twr_defconfig b/configs/vf610twr_defconfig
index dc8df5c..46b4e00 100644
--- a/c
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
board/toradex/colibri_vf/colibri_vf.c | 13 +
include/configs/colibri_vf.h | 6 +++---
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/board/toradex/colibri_vf/colibri_vf.c
b/board/t
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
configs/pcm052_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/pcm052_defconfig b/configs/pcm052_defconfig
index 9125645..12fdc0c 100644
--- a/configs/pcm052_defconfig
+++ b/configs/pcm052_defconfig
@
Hi Bin,
On 01/12/2016 11:05 AM, Bin Meng wrote:
Hi Bhuvanchandra,
On Tue, Jan 12, 2016 at 12:28 PM, Bhuvanchandra DV
<bhuvanchandra...@toradex.com> wrote:
- Convert lpuart driver to driver model and remove the legacy code.
- Update Toradex Colibri VF50/VF61 serial support with driver
support with driver model.
- Tested the driver on Toradex Colibri VF50/VF61 hardware.
- Compile checked board files for vf610twr, ls1021atwr and pcm052
since I don't have access to such hardware at my end. Reviewers
and testers welcome!
Bhuvanchandra DV (8):
dm: lpuart: Add driver model support
On 01/14/2016 07:54 AM, Bin Meng wrote:
Hi Stefan,
On Thu, Jan 14, 2016 at 3:20 AM, Stefan Agner <ste...@agner.ch> wrote:
On 2016-01-13 00:19, Bin Meng wrote:
+Simon
Hi Bhuvan,
On Wed, Jan 13, 2016 at 4:07 PM, Bhuvanchandra DV
<bhuvanchandra...@toradex.com> wrote:
Hi Bin,
On 0
On 01/14/2016 09:09 AM, Bin Meng wrote:
This adds driver model support to lpuart serial driver.
Tested on Toradex Colibri VF50/VF61 h/w with legacy and DT, works fine
as expected.
Signed-off-by: Bin Meng <bmeng...@gmail.com>
Acked-by: Bhuvanchandra DV <bhuvanchandra...@toradex.
- Enable lpuart support on Toradex Colibri VF50/VF61
- Use UART0 for stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <stefan.ag...@toradex.com>
---
arch/arm/dts/vf-colibri.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/
Since SPDX license is already there, drop the full one.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/vf-colibri.dtsi | 5 -
arch/arm/dts/vf.dtsi | 5 -
arch/arm/dts/vf500-colibri.dts | 5 -
arch/arm/dts/vf610-colibri.dts | 5 --
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/gpio/vybrid_gpio.c | 18 --
board's.
- Compile checked for vf610twr and pcm052 since I don't have access
to such hardware at my end. Reviewer's and tester's welcome!
Bhuvanchandra DV (9):
arm: vybrid: Enable lpuart support
arm: vybrid: Update the license string
arm: colibri-vf: Enable serial support
arm: vybrid: Drop
Add device tree node's for lpuart on Vybrid platform
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/vf.dtsi | 43 +++
1 file changed, 43 insertions(+)
diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi
index 7
- Add device tree files for NXP/Freescale VF610 Tower Board.
- Enable lpuart support on NXP/Freescale VF610 Tower Board.
- Use UART1 as stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/vf610-twr.dt
Remove the legacy way of enabling GPIO, SPI and UART on Vybrid
based boards since these driver's now only supports DT mode.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
include/configs/colibri_vf.h | 13 -
include/configs/pcm052.h | 3 ---
include/c
On 01/25/2016 10:54 PM, Stefan Agner wrote:
On 2016-01-25 09:03, Bhuvanchandra DV wrote:
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Hm, dropping the legacy code at this point probably leads to a broken
state
Add device tree node's for lpuart on Vybrid platform
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <stefan.ag...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
arch/arm/dts/vf.dtsi | 43 +
for pointing this.
- Dropped the legacy way of enabling GPIO, UART and SPI on NXP/Freescale Vybrid
based board's.
- Compile checked for vf610twr and pcm052 since I don't have access
to such hardware at my end. Reviewer's and tester's welcome!
Bhuvanchandra DV (9):
arm: vybrid: Enable lpuart support
Since SPDX license is already there, drop the full one.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <stefan.ag...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
arch/arm/dts/vf-colibri.dtsi | 5 -
arch/arm/dts/vf.
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/gpio/vybrid_gpio.c | 18 --
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/serial/serial_lp
Remove the legacy way of enabling GPIO, SPI and UART on Vybrid
based boards since these driver's now only supports DT mode.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <stefan.ag...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.co
defconfigs for Phytec phyCORE-vybrid
Board with DT.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Acked-by: Stefan Agner <stefan.ag...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
configs/colibri_vf_defconfig | 8
configs/colibri_vf_
- Add device tree files for NXP/Freescale VF610 Tower Board.
- Enable lpuart support on NXP/Freescale VF610 Tower Board.
- Use UART1 as stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
arch/arm/dts/Makefile |
- Add device tree files for Phytec phyCORE-Vybrid Board.
- Enable lpuart support for Phytec phyCORE-Vybrid Board.
- Use UART1 for stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
arch/arm/dts/Makefile | 3 ++-
- Enable lpuart support on Toradex Colibri VF50/VF61
- Use UART0 for stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
arch/arm/dts/vf-colibri.dtsi | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arc
Ping!
On 01/27/2016 10:31 AM, Bhuvanchandra DV wrote:
Changes since v3:
- Add missing space in device tree.
- Reorder the patchset to avoid broken state.
Changes since v2:
- Split the patch for updating the license string.
- Reorder the patchset to avoid broken state.
Changes since v1
Hi Simon,
On 01/22/2016 08:46 AM, Simon Glass wrote:
Hi,
On 12 January 2016 at 02:30, Bhuvanchandra DV
<bhuvanchandra...@toradex.com> wrote:
Hi Bin,
On 01/12/2016 12:21 PM, Bin Meng wrote:
Hi Bhuvanchandra,
On Tue, Jan 12, 2016 at 2:43 PM, Bhuvanchandra DV
<bhuvanchandra...@to
Add device tree node for lpuart on Vybrid platform
---
arch/arm/dts/vf.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/dts/vf.dtsi b/arch/arm/dts/vf.dtsi
index 78706e1..5f5bd4c 100644
--- a/arch/arm/dts/vf.dtsi
+++ b/arch/arm/dts/vf.dtsi
@@ -17,6 +17,8 @@
Add device tree files and enable serial support
---
arch/arm/dts/Makefile| 3 ++-
arch/arm/dts/pcm052.dts | 27 +++
configs/pcm052_dtb_defconfig | 10 ++
3 files changed, 39 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/dts/pcm052.dts
Let's go with pure DT solution!
Since in long run U-Boot anyway is evolving to pure DT solution.
---
configs/colibri_vf_defconfig | 11 ---
configs/pcm052_defconfig | 6 --
configs/vf610twr_defconfig | 9 -
3 files changed, 26 deletions(-)
delete mode 100644
Remove the legacy way of handling serial ports on Vybrid based
boards since lpuart driver now only supports DT mode.
---
include/configs/colibri_vf.h | 3 ---
include/configs/pcm052.h | 3 ---
include/configs/vf610twr.h | 3 ---
3 files changed, 9 deletions(-)
diff --git
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
---
drivers/serial/serial_lpuart.c | 101 +
1 file changed, 2 insertions(+), 99 deletions(-)
diff --git
---
arch/arm/dts/vf-colibri.dtsi | 10 ++
configs/colibri_vf_dtb_defconfig | 1 +
2 files changed, 11 insertions(+)
diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi
index 7a8e9bee..0718486 100644
--- a/arch/arm/dts/vf-colibri.dtsi
+++
defconfigs for Vybrid based boards.
- Compile checked for vf610twr and pcm052 since I don't have access
to such hardware at my end. Reviewers and testers welcome!
Bhuvanchandra DV (7):
arm: vf: Enable lpuart support
arm: colibri-vf: Enable serial support
arm: vf610-twr: Add device tree files
arm
Add device tree files and enable serial support
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/vf610-twr.dts | 27 +++
configs/vf610twr_dtb_defconfig | 13 +
3 files changed, 42 insertions(+), 1 deletion(-)
create mode 100644
On 01/22/2016 03:22 PM, Bin Meng wrote:
Hi Bhuvanchandra,
On Fri, Jan 22, 2016 at 3:49 PM, Bhuvanchandra DV
<bhuvanchandra...@toradex.com> wrote:
Add device tree files and enable serial support
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/vf610-twr.dts
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/serial/serial_lp
defconfigs for Phytec phyCORE-vybrid
Board with DT.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
configs/colibri_vf_defconfig | 8
configs/colibri_vf_dtb_defconfig | 14 --
configs/pcm052_defconfig | 7 +++
configs/vf610twr_def
- Add device tree files for Phytec phyCORE-Vybrid Board.
- Enable lpuart support for Phytec phyCORE-Vybrid Board.
- Use UART1 for stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/pcm052.dts | 22 +++
Remove the legacy way of enabling UART, GPIO and SPI on Vybrid
based boards since these driver's now only supports DT mode.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
include/configs/colibri_vf.h | 13 -
include/configs/pcm052.h | 3 ---
include/c
and tester's welcome!
Bhuvanchandra DV (8):
arm: vybrid: Enable lpuart support
arm: colibri-vf: Enable serial support
dm: lpuart: Drop the legacy code
dm: vybrid_gpio: Drop legacy code
arm: vybrid: Drop enabling gpio, uart and spi in legacy mode
arm: vf610-twr: Add device tree files
- Add device tree node's for lpuart on Vybrid platform
- Update the license string.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/vf.dtsi | 47 +-
arch/arm/dts/vf500-colibri.dts | 5 -
arch/arm/dts
- Add device tree files for NXP/Freescale VF610 Tower Board.
- Enable lpuart support on NXP/Freescale VF610 Tower Board.
- Use UART1 as stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/Makefile | 3 ++-
arch/arm/dts/vf610-twr.dt
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/gpio/vybrid_gpio.c | 18 --
- Enable lpuart support on Toradex Colibri VF50/VF61
- Use UART0 for stdout.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
arch/arm/dts/vf-colibri.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibr
defconfigs for Phytec phyCORE-vybrid
Board with DT.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
---
configs/colibri_vf_defconfig | 8
configs/colibri_vf_dtb_defconfig | 14 --
configs/pcm052_defconfig | 7 +++
configs/vf610twr_def
All boards using this driver are with device tree support,
hence drop the legacy code in driver to have a pure DT solution.
Signed-off-by: Bhuvanchandra DV <bhuvanchandra...@toradex.com>
Reviewed-by: Bin Meng <bmeng...@gmail.com>
---
drivers/serial/serial_lp
1 - 100 of 110 matches
Mail list logo