Re: [U-Boot] [PATCH V2 14/20] serial: lpuart: restructure lpuart driver

2016-12-29 Thread Bhuvanchandra DV
/little endian. For 8Bit register access, still use the orignal code. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Bhuvanchandra DV Cc: York Sun Cc: Shaohui Xie Cc: Alison Wang --- V2: New. I do not have vf610 and LSx board, please help test if you have the board. Tested on Toradex Colibri

Re: [U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Bhuvanchandra DV
On 04/18/2016 10:23 AM, Heiko Schocher wrote: Hello Bhuvanchandra DV, Am 15.04.2016 um 16:09 schrieb Bhuvanchandra DV: On 04/15/2016 04:28 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Warning (unit_address_vs_reg): Node /soc/ifc@153/board-control@3,0/mdio

Re: [U-Boot] [PATCH v2] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Bhuvanchandra DV
On 04/18/2016 02:56 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Freescale Vybrid and ls1021xx are different SoCs, may be we can split this patchset. Apart from that. Reviewed-by: Bhuvanchandra DV Warning (unit_address_vs_reg): Node /soc/ifc@153/board

Re: [U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

2016-04-15 Thread Bhuvanchandra DV
On 04/15/2016 04:28 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Warning (unit_address_vs_reg): Node /soc/ifc@153/board-control@3,0/mdio-mux-emi1 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /soc/aips-bus@4000 has a un

Re: [U-Boot] [PATCH 0/3] Fix multipe typos "choosen" instead of "chosen" in dts/code

2016-03-19 Thread Bhuvanchandra DV
On 03/17/2016 08:14 PM, Alexander Merkle wrote: The dts files for NXP/Freescale Vybrid series were broken. Fixed some other typos in comments & printfs to. I guess this is not typo the node name is 'chosen'. Some documentation is here[1]. [1] http://lxr.free-electrons.com/source/Documentatio

Re: [U-Boot] [PATCH 0/3] Fix multipe typos "choosen" instead of "chosen" in dts/code

2016-03-18 Thread Bhuvanchandra DV
stdout-path = &uart1; }; Regards, Alex Alexander Merkle System Engineer Lauterbach GmbH Altlaufstraße 40 85635 Hoehenkirchen-Siegertsbrunn Germany Tel +49 8102 9876-147 mailto:alexander.mer...@lauterbach.com http://www.lauterbach.com On 17.03.2016 16:06, Bhuvanchandra

[U-Boot] [PATCH] colibri-vf: Disable pull-up configuration in GPIO pin mux

2016-02-24 Thread Bhuvanchandra DV
d-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-vf610/iomux-vf610.h b/arch/arm/include/asm/arch-vf610/iomux-vf610.h index 0e2bd53..a140be0 100644 --- a/arch/arm/include/asm

Re: [U-Boot] ls1021aqds_nor_lpuart_ boards

2016-02-21 Thread Bhuvanchandra DV
Hi Stefano, Adding Bin Meng. On 02/21/2016 05:01 PM, Stefano Babic wrote: Hi Bhuvanchandra, your applied patch: commit 5160def267739518950e8e3bb78e0e6c3941cb3e Author: Bhuvanchandra DV Date: Wed Jan 27 10:31:52 2016 +0530 dm: lpuart: Drop the legacy code braks ls1021aqds_

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

[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 Reviewed-by: Bin Meng --- drivers/serial/serial_lpuart.c | 101 + 1 file changed, 2 insertions

[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 Reviewed-by: Bin Meng --- drivers/gpio/vybrid_gpio.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/gpio

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

2016-01-26 Thread Bhuvanchandra DV
the legacy defconfigs for Phytec phyCORE-vybrid Board with DT. Signed-off-by: Bhuvanchandra DV Acked-by: Stefan Agner Reviewed-by: Bin Meng --- configs/colibri_vf_defconfig | 8 configs/colibri_vf_dtb_defconfig | 14 -- configs/pcm052_defconfig | 7 ++

[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 Reviewed-by: Bin Meng --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 22

[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 Acked-by: Stefan Agner Reviewed-by: Bin Meng --- include/configs/colibri_vf.h | 13 - include/configs/pcm052.h

[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 Reviewed-by: Bin Meng --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/pcm052.dts | 22 ++ 2 files

[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 Acked-by: Stefan Agner Reviewed-by: Bin Meng --- 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

[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 Reviewed-by: Bin Meng --- arch/arm/dts/vf-colibri.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/vf-colibri.dtsi b/arch/arm/dts/vf-colibri.dtsi index

[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 Acked-by: Stefan Agner Reviewed-by: Bin Meng --- arch/arm/dts/vf.dtsi | 43 +++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/vf.dtsi b/arch/ar

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

2016-01-26 Thread Bhuvanchandra DV
code. Thanks! Stefan 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

[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 Reviewed-by: Bin Meng --- drivers/gpio/vybrid_gpio.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/gpio

[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 Reviewed-by: Bin Meng --- drivers/serial/serial_lpuart.c | 101 + 1 file changed, 2 insertions

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

2016-01-26 Thread Bhuvanchandra DV
the legacy defconfigs for Phytec phyCORE-vybrid Board with DT. Signed-off-by: Bhuvanchandra DV --- configs/colibri_vf_defconfig | 8 configs/colibri_vf_dtb_defconfig | 14 -- configs/pcm052_defconfig | 7 +++ configs/vf610twr_defconfig | 7 ++

[U-Boot] [PATCHv3 6/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 --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/pcm052.dts | 22 ++ 2 files changed, 24 insertions

[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 --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 22 ++ 2 files changed, 24

[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 --- include/configs/colibri_vf.h | 13 - include/configs/pcm052.h | 3 --- include/configs/vf610twr.h | 3 --- 3

[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 Acked-by: Stefan Agner --- 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-colibri.dtsi index

[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 --- 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 - 4 files changed, 20 deletions

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

2016-01-26 Thread Bhuvanchandra DV
/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 arm: vybrid: Update the license string arm: colibri-

[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 --- 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 78706e1..7aa4c91 100644 --- a/arc

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] [PATCHv2 0/8] Migrate NXP/Freescale Vybrid based boards to support pure DT

2016-01-25 Thread Bhuvanchandra DV
such hardware at my end. Reviewer's 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

[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 --- arch/arm/dts/vf.dtsi | 47 +- arch/arm/dts/vf500-colibri.dts | 5 - arch/arm/dts/vf610-colibri.dts | 5 - 3

[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 --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/pcm052.dts | 22 ++ 2 files changed, 24 insertions

[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 --- include/configs/colibri_vf.h | 13 - include/configs/pcm052.h | 3 --- include/configs/vf610twr.h | 3 --- 3

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

2016-01-25 Thread Bhuvanchandra DV
the legacy defconfigs for Phytec phyCORE-vybrid Board with DT. Signed-off-by: Bhuvanchandra DV --- configs/colibri_vf_defconfig | 8 configs/colibri_vf_dtb_defconfig | 14 -- configs/pcm052_defconfig | 7 +++ configs/vf610twr_defconfig | 7 ++

[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 --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 22 ++ 2 files changed, 24

[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 Reviewed-by: Bin Meng --- drivers/gpio/vybrid_gpio.c | 18 -- 1 file changed, 18 deletions(-) diff --git a/drivers/gpio

[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 Reviewed-by: Bin Meng --- drivers/serial/serial_lpuart.c | 101 + 1 file changed, 2 insertions

[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 --- 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-colibri.dtsi index 7a8e9bee..13a1dba 100644

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

2016-01-22 Thread Bhuvanchandra DV
On 01/22/2016 03:25 PM, Bin Meng wrote: Hi Bhuvanchandra, On Fri, Jan 22, 2016 at 3:49 PM, Bhuvanchandra DV wrote: 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_defc

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

2016-01-22 Thread Bhuvanchandra DV
Hi Bin, On 01/22/2016 03:22 PM, Bin Meng wrote: Hi Bhuvanchandra, On Fri, Jan 22, 2016 at 3:49 PM, Bhuvanchandra DV wrote: --- Please always include a commit message. Okay arch/arm/dts/vf-colibri.dtsi | 10 ++ configs/colibri_vf_dtb_defconfig | 1 + 2 files changed

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 wrote: Add device tree files and enable serial support --- arch/arm/dts/Makefile | 3 ++- arch/arm/dts/vf610-twr.dts | 27 +++ configs

[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 crea

[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 configs/co

[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 a/include/configs/c

[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 arch/arm/dts/vf610-t

[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 +++ b/arch/arm/dts/vf-colibri

[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

[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 a/drivers/serial/serial_lpuar

[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 @@

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 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 wrote: Hi Bin, On 01/12/2016 11:05 AM, Bin Meng wrote

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 Acked-by: Bhuvanchandra DV also Tested-by: Bhuvanchandra DV --- Changes in

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 wrote: On 2016-01-13 00:19, Bin Meng wrote: +Simon Hi Bhuvan, On Wed, Jan 13, 2016 at 4:07 PM, Bhuvanchandra DV wrote: Hi Bin, On 01/13/2016 11:43 AM, Bin Meng wrote: Hi Bhuvan, On Wed

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 b

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 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't work with serial driver

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 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 wrote: - Convert lpuart driver to driver

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 wrote: - Convert lpuart driver to driver model and remove the legacy code. - Update Toradex Colibri VF50/VF61 serial support with driver model. - Update Freescale vf610twr

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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 deletion(-) create mode 100644 arch/arm

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/configs/vf610twr_defconfig +++ b/configs

[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 --- 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/toradex/colibri_vf/colibri_vf.c index

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/configs/ls1021atwr_nor_lpuart_defconfig +++ b

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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 e4f61e1..3f2ed38 100644 --- a/board

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/freescale/vf610twr/vf610twr.c index 37b241d

[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 --- arch/arm/include/asm/arch-vf610/serial.h | 16 drivers/serial/Kconfig | 6 ++ drivers/serial/serial_lpuart.c | 148 --- 3 files

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

2016-01-11 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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 @@ -1,5 +1,6 @@ CONFIG_ARM=y

[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 su

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. S

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 : 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 call

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 --- Hi

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

2015-06-07 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

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/configs/colibri_vf.h @@ -272,4

[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 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 --- drivers/usb/host/ehci-vf.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/host/ehci-vf.c b/drivers/us

[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 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 initialisation function, to drive the

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/colibri_vf/MAINTAINERS b/board/toradex

[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 Signed-off-by: Bhuvanchandra DV --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++ board/toradex

[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 --- arch/arm/dts/Makefile | 3 ++ arch/arm/dts

[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 --- 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-common/iomux-v3.h | 6

[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 --- 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 a/arch/arm/include/asm/arch

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/generic.c b/arch/arm/cpu

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

2015-06-01 Thread Bhuvanchandra DV
Acked-by: Stefan Agner Signed-off-by: Bhuvanchandra DV --- 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 V3 01/11] dm: gpio: uclass: Add flag to control sequence numbering

2015-06-01 Thread Bhuvanchandra DV
failure when using the driver with device trees. Signed-off-by: Bhuvanchandra DV --- 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 +++ b/driv

[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

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 --- include/configs/colibri_vf.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/configs/colibri_vf.h b/include/configs

[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 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 --- drivers/usb/host/ehci-vf.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/host/ehci-vf.c b/drivers/us

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/colibri_vf_defconfig +++ b

[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 --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++ board/toradex/colibri_vf/colibri_vf.c

[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 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 initialisation function, to drive the

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

2015-06-01 Thread Bhuvanchandra DV
: Bhuvanchandra DV --- 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..d4c8c58 --- /dev/null +++ b

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/configs/colibri_vf.h

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

2015-06-01 Thread Bhuvanchandra DV
failure when using the driver with device trees. Signed-off-by: Bhuvanchandra DV --- 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 +++ b/driv

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

2015-06-01 Thread Bhuvanchandra DV
Signed-off-by: Bhuvanchandra DV --- 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/generic.c b/arch/arm/cpu

[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 --- 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-common/iomux-v3.h | 6

[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 --- arch/arm/dts/Makefile | 3 ++ arch/arm/dts

[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 --- 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 a/arch/arm/include/asm/arch

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

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

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

[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 --- arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++ board/toradex/colibri_vf/colibri_vf.c

  1   2   >