/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
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
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
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
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
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
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
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_
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
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
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
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 ++
- 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
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
- 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
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
- 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
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
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
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
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
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 ++
- 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
- 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
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
- 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
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
/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-
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
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
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
- 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
- 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
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
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 ++
- 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
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
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
- 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
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
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
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
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
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
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
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
---
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
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
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
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 @@
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
---
include/configs/colibri_vf.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/configs/colibri_vf.h b/include/configs
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
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
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
---
arch/arm/include/asm/arch-vf610/iomux-vf610.h | 49 ++
board/toradex/colibri_vf/colibri_vf.c
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
: 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
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
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
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
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
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
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
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
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
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
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 - 100 of 111 matches
Mail list logo