[U-Boot] [PATCH 02/11] dm: gpio: vf610: Add GPIO driver support

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 00/11] Add GPIO driver for Freescale Vybrid platform

2015-05-18 Thread Bhuvanchandra DV
, 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

[U-Boot] [PATCH 04/11] colibri_vf: Enable GPIO support

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 01/11] dm: gpio: uclass: Add flag to control sequence numbering

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 06/11] arm: vf610: Add iomux support for DSPI

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 11/11] colibri_vf: Enable board specific USB initialisation for USB pen gpio

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 05/11] arm: vf610: Add clock support for DSPI

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 07/11] vf610: dts: Add device tree support

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 08/11] colibri-vf: Enable SPI support

2015-05-18 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 09/11] colibri_vf: Add separate defconfig for device tree support

2015-05-18 Thread Bhuvanchandra DV
-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

[U-Boot] [PATCH 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-05-18 Thread Bhuvanchandra DV
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(+)

[U-Boot] [PATCH 03/11] colibri_vf: Add pinmux entries for GPIOs

2015-05-18 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH V3 00/11] Add GPIO driver for Freescale Vybrid platform

2015-06-08 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH] gpio: vybrid: Use proper parameter name for gpio offset

2015-06-09 Thread Bhuvanchandra DV
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.

Re: [U-Boot] [PATCH RFT] gpio: vybrid: Fix up setting output value in vybrid_gpio_direction_output

2015-06-09 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH RFT] gpio: vybrid: Fix up setting output value in vybrid_gpio_direction_output

2015-06-09 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 00/11] Add GPIO driver for Freescale Vybrid platform

2015-05-31 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-06-01 Thread Bhuvanchandra DV
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(+)

[U-Boot] [PATCH V3 08/11] colibri-vf: Enable SPI support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 07/11] vf610: dts: Add device tree support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 03/11] colibri_vf: Add pinmux entries for GPIOs

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 09/11] colibri_vf: Add separate defconfig for device tree support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 11/11] colibri_vf: Enable board specific USB initialisation for USB pen gpio

2015-06-01 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH V2 09/11] colibri_vf: Add separate defconfig for device tree support

2015-06-01 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH V2 08/11] colibri-vf: Enable SPI support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 02/11] dm: gpio: vf610: Add GPIO driver support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 06/11] arm: vf610: Add iomux support for DSPI

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 05/11] arm: vf610: Add clock support for DSPI

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 01/11] dm: gpio: uclass: Add flag to control sequence numbering

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 00/11] Add GPIO driver for Freescale Vybrid platform

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V3 04/11] colibri_vf: Enable GPIO support

2015-06-01 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 09/11] colibri_vf: Add separate defconfig for device tree support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 11/11] colibri_vf: Enable board specific USB initialisation for USB pen gpio

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 02/11] dm: gpio: vf610: Add GPIO driver support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 05/11] arm: vf610: Add clock support for DSPI

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 01/11] dm: gpio: uclass: Add flag to control sequence numbering

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 08/11] colibri-vf: Enable SPI support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 09/11] colibri_vf: Add separate defconfig for device tree support

2015-06-01 Thread Bhuvanchandra DV
-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

[U-Boot] [PATCH V2 04/11] colibri_vf: Enable GPIO support

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 00/11] Add GPIO driver for Freescale Vybrid platform

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 03/11] colibri_vf: Add pinmux entries for GPIOs

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 10/11] usb: ehci-vf: Add weak function for board specific initialisation

2015-06-01 Thread Bhuvanchandra DV
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(+)

[U-Boot] [PATCH V2 06/11] arm: vf610: Add iomux support for DSPI

2015-06-01 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH V2 07/11] vf610: dts: Add device tree support

2015-06-01 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 00/11] Add GPIO driver for Freescale Vybrid platform

2015-05-24 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-12 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-13 Thread Bhuvanchandra DV
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'

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-13 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 5/8] arm: ls102xa: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 4/8] vf610twr: Update enabling lpuart with driver model

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 1/8] dm: lpuart: Add driver model support for the serial driver

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 8/8] pcm052: Update enabling lpuart support with driver model

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 6/8] ls1021x: Update enabling lpuart with driver model

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 3/8] arm: vf610twr: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 2/8] colibri_vf: Update enabling lpuart support with driver model

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 7/8] arm: pcm052: Enable driver model support

2016-01-11 Thread Bhuvanchandra DV
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 @

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-11 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH v2 7/9] serial: lpuart: Add driver model serial support

2016-01-14 Thread Bhuvanchandra DV
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.

[U-Boot] [PATCHv3 3/9] arm: colibri-vf: Enable serial support

2016-01-26 Thread Bhuvanchandra DV
- 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/

[U-Boot] [PATCHv3 2/9] arm: vybrid: Update the license string

2016-01-26 Thread Bhuvanchandra DV
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 --

[U-Boot] [PATCHv3 9/9] dm: vybrid_gpio: Drop legacy code

2016-01-26 Thread Bhuvanchandra DV
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 --

[U-Boot] [PATCHv3 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv3 1/9] arm: vybrid: Enable lpuart support

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv3 5/9] arm: vf610-twr: Add device tree file's

2016-01-26 Thread Bhuvanchandra DV
- 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

[U-Boot] [PATCHv3 4/9] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode

2016-01-26 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv4 1/9] arm: vybrid: Enable lpuart support

2016-01-26 Thread Bhuvanchandra DV
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 +

[U-Boot] [PATCHv4 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv4 2/9] arm: vybrid: Update the license string

2016-01-26 Thread Bhuvanchandra DV
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.

[U-Boot] [PATCHv4 9/9] dm: vybrid_gpio: Drop legacy code

2016-01-26 Thread Bhuvanchandra DV
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 --

[U-Boot] [PATCHv4 8/9] dm: lpuart: Drop the legacy code

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv4 7/9] arm: vybrid: Drop enabling GPIO, SPI and UART in legacy mode

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv4 6/9] arm: vybrid: Update defconfig's

2016-01-26 Thread Bhuvanchandra DV
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_

[U-Boot] [PATCHv4 4/9] arm: vf610-twr: Add device tree file's

2016-01-26 Thread Bhuvanchandra DV
- 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 |

[U-Boot] [PATCHv4 5/9] arm: pcm052: Add device tree file's

2016-01-26 Thread Bhuvanchandra DV
- 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 ++-

[U-Boot] [PATCHv4 3/9] arm: colibri-vf: Enable serial support

2016-01-26 Thread Bhuvanchandra DV
- 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

Re: [U-Boot] [PATCHv4 0/9] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-02-02 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 0/8] Convert lpuart serial driver to driver model

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 1/7] arm: vf: Enable lpuart support

2016-01-21 Thread Bhuvanchandra DV
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 @@

[U-Boot] [PATCH 4/7] arm: pcm052: Add device tree files

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 7/7] arm: vf: Remove the legacy defconfigs

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 6/7] arm: vybrid: Drop enabling serial in legacy mode

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 5/7] dm: lpuart: Drop the legacy code

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 2/7] arm: colibri-vf: Enable serial support

2016-01-21 Thread Bhuvanchandra DV
--- 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 +++

[U-Boot] [PATCH 0/7] Add/enable lpuart support on Vybrid based boards

2016-01-21 Thread Bhuvanchandra DV
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

[U-Boot] [PATCH 3/7] arm: vf610-twr: Add device tree files

2016-01-21 Thread Bhuvanchandra DV
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

Re: [U-Boot] [PATCH 3/7] arm: vf610-twr: Add device tree files

2016-01-22 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv2 3/8] dm: lpuart: Drop the legacy code

2016-01-25 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv2 8/8] arm: vybrid: Update defconfig's

2016-01-25 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv2 7/8] arm: pcm052: Add device tree file's

2016-01-25 Thread Bhuvanchandra DV
- 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 +++

[U-Boot] [PATCHv2 5/8] arm: vybrid: Drop enabling GPIO, UART and SPI in legacy mode

2016-01-25 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv2 0/8] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-25 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv2 1/8] arm: vybrid: Enable lpuart support

2016-01-25 Thread Bhuvanchandra DV
- 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

[U-Boot] [PATCHv2 6/8] arm: vf610-twr: Add device tree file's

2016-01-25 Thread Bhuvanchandra DV
- 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

[U-Boot] [PATCHv2 4/8] dm: vybrid_gpio: Drop legacy code

2016-01-25 Thread Bhuvanchandra DV
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 --

[U-Boot] [PATCHv2 2/8] arm: colibri-vf: Enable serial support

2016-01-25 Thread Bhuvanchandra DV
- 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

[U-Boot] [PATCHv3 7/9] arm: vybrid: Update defconfig's

2016-01-26 Thread Bhuvanchandra DV
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

[U-Boot] [PATCHv3 8/9] dm: lpuart: Drop the legacy code

2016-01-26 Thread Bhuvanchandra DV
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   2   >