[U-Boot] [PATCH V2] exynos: spl: Add a custom spi copy function

2013-05-29 Thread Rajeshwari Shinde
This patch implements a custom spi_copy funtion to copy u-boot from SF to RAM. This is faster then iROM spi_copy funtion as this runs spi at 50Mhz and also in WORD mode of operation. Changed a printf in pinmux.c to debug just to avoid the compilation error in SPL. Removed enum for boot mode from s

[U-Boot] [PATCH V2] spi: exynos: Support word transfers

2013-05-29 Thread Rajeshwari Shinde
Since SPI register access is so expensive, it is worth transferring data a word at a time if we can. This complicates the driver unfortunately. Use the byte-swapping feature to avoid having to convert to/from big endian in software. This change increases speed from about 2MB/s to about 4.5MB/s.

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Simon Glass
Hi Stephen, On Wed, May 29, 2013 at 10:11 PM, Stephen Warren wrote: > On 05/29/2013 10:46 PM, Simon Glass wrote: > > Hi, > > > > On Wed, May 29, 2013 at 4:07 PM, Stephen Warren > > wrote: > > > > On 05/29/2013 04:36 PM, Wolfgang Denk wrote: > > > Dear Stephe

[U-Boot] [PATCH V2] spi: exynos: Minimise access to SPI FIFO level

2013-05-29 Thread Rajeshwari Shinde
Accessing SPI registers is slow, but access to the FIFO level register in particular seems to be extraordinarily expensive (I measure up to 600ns). Perhaps it is required to synchronise with the SPI byte output logic which might run at 1/8th of the 40MHz SPI speed (just a guess). Reduce access to

[U-Boot] [PATCH 2/2 V3] spi: exynos: Support a delay after deactivate

2013-05-29 Thread Rajeshwari Shinde
For devices that need some time to react after a spi transaction finishes, add the ability to set a delay. Implement this as a delay on the first/next transaction to avoid any delay in the fairly common case where a SPI transaction is followed by other processing. Based on: "[U-Boot] [PATCH 0/2 V

[U-Boot] [PATCH 0/2 V3] exynos: Support a delay after deactivate for SPI

2013-05-29 Thread Rajeshwari Shinde
This patch set exports the function timer_get_us and adds a delay for devices that need some time to react after spi transation finishes This patch set is based on "EXYNOS: SPI: Support SPI_PREAMBLE mode" link: "http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/162269"; Changes in V2:

[U-Boot] [PATCH 1/2 V3] exynos: Export timer_get_us() to get microsecond timer

2013-05-29 Thread Rajeshwari Shinde
This function, if implemented by the board, provides a microsecond timer. The granularity may be larger than 1us if hardware does not support this. Signed-off-by: Simon Glass Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Removed #ifdefine for exported function. Changes in V3:

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/29/2013 10:46 PM, Simon Glass wrote: > Hi, > > On Wed, May 29, 2013 at 4:07 PM, Stephen Warren > wrote: > > On 05/29/2013 04:36 PM, Wolfgang Denk wrote: > > Dear Stephen Warren, > > > > In message <51a67ec1.2000...@wwwdotorg.org >

Re: [U-Boot] [PATCH V9 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-05-29 Thread Simon Glass
On Tue, May 28, 2013 at 11:36 PM, Rajeshwari Birje < rajeshwari.bi...@gmail.com> wrote: > Hi Andy, > > U seem to be busy. I you have no issues can I ask Minkyu Kang to take > them in u-boot-samsung tree. Please do reply. > It would be great to get this applied soon, thank you. > > -- > Regards,

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Simon Glass
Hi, On Wed, May 29, 2013 at 4:07 PM, Stephen Warren wrote: > On 05/29/2013 04:36 PM, Wolfgang Denk wrote: > > Dear Stephen Warren, > > > > In message <51a67ec1.2000...@wwwdotorg.org> you wrote: > >> > >> To keep this process in check a bit, we could always pick a specific git > >> commit or relea

Re: [U-Boot] [PATCH 0/2 V5] spi: Enable SPI_PREAMBLE Mode

2013-05-29 Thread Simon Glass
Hi, On Tue, May 28, 2013 at 11:10 PM, Rajeshwari Shinde < rajeshwar...@samsung.com> wrote: > This patch set enables PREAMBLE Mode for EXYNOS SPI. > > Changes in v2: > - Remove preamable_count variable which is not really needed > - Fix checkpatch warning (multiple assignments) > C

Re: [U-Boot] [PATCH 00/12] ARM: DRA7xx: Update support for DRA7xx Soc's

2013-05-29 Thread Lokesh Vutla
Hi, On Wednesday 29 May 2013 06:42 PM, Tom Rini wrote: On Wed, May 29, 2013 at 04:32:35PM +0530, Lokesh Vutla wrote: This series update support for DRA7xx family Socs and the data for DRA752 ES1.0 soc. This is on top of my recent Misc cleanup series: http://u-boot.10912.n7.nabble.com/PATCH-0-3-

[U-Boot] fopen/fwrite functions

2013-05-29 Thread TigerLiu
Hi, experts: Could i use fopen/fwrite standard C lib functions in U-boot code? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/29/2013 04:36 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <51a67ec1.2000...@wwwdotorg.org> you wrote: >> >> To keep this process in check a bit, we could always pick a specific git >> commit or release version of dtc that each U-Boot version (release) will >> be allowed to

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-29 Thread Scott Wood
On 05/28/2013 09:11:17 PM, Zhang Ying-B40530 wrote: -Original Message- From: Wood Scott-B07421 Sent: Wednesday, May 29, 2013 6:34 AM To: Zhang Ying-B40530 Cc: Wood Scott-B07421; u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Ilya Yanok Subject: Re: [PATCH 5/6] spl: Make

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/29/2013 03:33 PM, Wolfgang Denk wrote: > Dear Stephen, > > In message <51a634b5.5060...@wwwdotorg.org> you wrote: >> >>> I think this is not a good way to address this issue. The GCC >>> documentation (section "System-specific Predefined Macros" [1]) >>> desribes how this should be handled.

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Wolfgang Denk
Dear Stephen Warren, In message <51a67ec1.2000...@wwwdotorg.org> you wrote: > > To keep this process in check a bit, we could always pick a specific git > commit or release version of dtc that each U-Boot version (release) will > be allowed to assume. That will limit the number of times people nee

[U-Boot] [PATCH v3] OMAP: I2C: New read, write and probe functions

2013-05-29 Thread Lubomir Popov
Tested on OMAP4/5 only, but should work on older OMAPs and derivatives as well. - Rewritten i2c_read to operate correctly with all types of chips (old function could not read consistent data from some I2C slaves). - Optimised i2c_write. - New i2c_probe, optionally selectable via CONFIG_I2C_PROBE

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/29/2013 03:31 PM, Wolfgang Denk wrote: > Dear Stephen, > > In message <51a62f8d.9010...@wwwdotorg.org> you wrote: >> >> The Linux kernel chose to solve this by bundling the required dtc source >> inside the kernel source tree as a tool. This seems by far the simplest >> way to solve the prob

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Wolfgang Denk
Dear Stephen, In message <51a634b5.5060...@wwwdotorg.org> you wrote: > > > I think this is not a good way to address this issue. The GCC > > documentation (section "System-specific Predefined Macros" [1]) > > desribes how this should be handled. The "correct" (TM) way to fix > > this is by addin

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Wolfgang Denk
Dear Stephen, In message <51a62f8d.9010...@wwwdotorg.org> you wrote: > > The Linux kernel chose to solve this by bundling the required dtc source > inside the kernel source tree as a tool. This seems by far the simplest > way to solve the problem for U-Boot too. If not, it's not exactly hard to:

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Wolfgang Denk
Dear Simon, In message you wrote: > > > I think this is not a good way to address this issue. The GCC > > documentation (section "System-specific Predefined Macros" [1]) > > desribes how this should be handled. The "correct" (TM) way to fix > > this is by adding "-ansi" or any "-std" option t

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/28/2013 03:08 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1369769778-12455-1-git-send-email-...@chromium.org> you wrote: >> >> Some device tree files use the word 'linux' which gets replaced with '1' by >> many version of gcc, including version 4.7. So undefine this. > > I

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Stephen Warren
On 05/29/2013 09:59 AM, Simon Glass wrote: > Hi Stephen, > > On Tue, May 28, 2013 at 1:57 PM, Stephen Warren wrote: >> On 05/28/2013 01:36 PM, Simon Glass wrote: >>> There are a few partially conflicting requirements in compiling the device >>> tree, since U-Boot relies on whatever is installed o

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-05-29 Thread Albert ARIBAUD
Hi Tom, On Tue, 28 May 2013 14:16:41 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. > tools/checkpatch.pl is clean. > > The following changes since commit fd725691797

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Simon Glass
Hi Wolfgang, On Tue, May 28, 2013 at 2:08 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1369769778-12455-1-git-send-email-...@chromium.org> you wrote: >> >> Some device tree files use the word 'linux' which gets replaced with '1' by >> many version of gcc, including version 4.7. So

Re: [U-Boot] [PATCH] fdt: Enhance dts/Makefile to be all things to all men

2013-05-29 Thread Simon Glass
Hi Stephen, On Tue, May 28, 2013 at 1:57 PM, Stephen Warren wrote: > On 05/28/2013 01:36 PM, Simon Glass wrote: >> There are a few partially conflicting requirements in compiling the device >> tree, since U-Boot relies on whatever is installed on the build machine. >> >> Some versions of dtc supp

Re: [U-Boot] [PATCH v4 1/7] arm: vf610: Add IOMUX support for Vybrid VF610

2013-05-29 Thread Benoît Thébaudeau
Hi Stefano, On Wednesday, May 29, 2013 8:21:00 AM, Stefano Babic wrote: > On 29/05/2013 07:29, Wang Huan-B18965 wrote: > > >> Where is this one defined? I don't see it in include/configs/vf610twr.h. > >> > > [Alison Wang] CONFIG_IOMUX_SHARE_CONF_REG is defined in > > arch/arm/include/asm/arch-vf6

Re: [U-Boot] [PATCH v4 7/7] arm: vf610: Add basic support for Vybrid VF610TWR board

2013-05-29 Thread Benoît Thébaudeau
Hi Alison, On Wednesday, May 29, 2013 7:52:33 AM, Wang Huan-B18965 wrote: > Hi, Benoit, > > > > + > > > +#define CONFIG_CMD_PING > > > +#define CONFIG_CMD_DHCP > > > +#define CONFIG_CMD_MII > > > +#define CONFIG_CMD_NET > > > +#define CONFIG_FEC_MXC > > > +#define CONFIG_MII > > > +#define IMX_FE

Re: [U-Boot] [PATCH v4 2/7] arm: vf610: Add Vybrid VF610 CPU support

2013-05-29 Thread Benoît Thébaudeau
Hi Alison, On Wednesday, May 29, 2013 7:37:32 AM, Wang Huan-B18965 wrote: > Hi, Benoit, > > > > > diff --git a/doc/README.vf610 b/doc/README.vf610 new file mode > > > > 100644 index 000..38cf5cf > > > > --- /dev/null > > > > +++ b/doc/README.vf610 > > > > @@ -0,0 +1,10 @@ > > > > +U-Boot for

Re: [U-Boot] [PATCH 08/12] ARM: DRA7xx: Correct SRAM END address

2013-05-29 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/29/2013 09:33 AM, Sricharan R wrote: > On Wednesday 29 May 2013 06:36 PM, Tom Rini wrote: >> On Wed, May 29, 2013 at 04:32:43PM +0530, Lokesh Vutla wrote: >> >>> From: Sricharan R >>> >>> NON SECURE SRAM is 512KB in DRA7xx devices. So fixing i

Re: [U-Boot] U-Boot OMAP issues

2013-05-29 Thread Lubomir Popov
Hi Tom, On 29/05/13 16:24, Tom Rini wrote: > On 05/29/2013 02:34 AM, Lubomir Popov wrote: >> Hi Tom, >> >> On 29.05.2013 01:55, Tom Rini wrote: >>> On 05/27/2013 02:44 PM, Lubomir Popov wrote: >>> >>> P.S. I have an updated version of the I2C driver patch, with some >>> minor >>> impro

Re: [U-Boot] [PATCH 08/12] ARM: DRA7xx: Correct SRAM END address

2013-05-29 Thread Sricharan R
On Wednesday 29 May 2013 06:36 PM, Tom Rini wrote: > On Wed, May 29, 2013 at 04:32:43PM +0530, Lokesh Vutla wrote: > >> From: Sricharan R >> >> NON SECURE SRAM is 512KB in DRA7xx devices. >> So fixing it here. >> >> Signed-off-by: Sricharan R >> --- >> arch/arm/include/asm/arch-omap5/omap.h |

Re: [U-Boot] [PATCH 2/3] ARM: OMAP5: clocks: Do not enable sgx clocks

2013-05-29 Thread Sricharan R
On Wednesday 29 May 2013 06:10 PM, Tom Rini wrote: > On Wed, May 29, 2013 at 03:39:54PM +0530, Lokesh Vutla wrote: > >> From: Sricharan R >> >> SGX clocks should be enabled only for OMAP5 ES1.0. >> So this can be removed. >> >> Signed-off-by: Sricharan R >> --- >> arch/arm/cpu/armv7/omap5/hw_dat

Re: [U-Boot] [PATCH 00/12] ARM: DRA7xx: Update support for DRA7xx Soc's

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 04:32:35PM +0530, Lokesh Vutla wrote: > This series update support for DRA7xx family Socs and the data for > DRA752 ES1.0 soc. > This is on top of my recent Misc cleanup series: > http://u-boot.10912.n7.nabble.com/PATCH-0-3-ARM-OMAP4-Misc-Cleanup-tt155877.html > > Tested o

Re: [U-Boot] [PATCH 09/12] mmc: omap_hsmmc: add mmc1 pbias, ldo1

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 04:32:44PM +0530, Lokesh Vutla wrote: > From: Balaji T K > > add dra mmc pbias support and ldo1 power on > > Signed-off-by: Balaji T K > Signed-off-by: Lokesh Vutla [snip] > + udelay(150); /* wait 10 us */ > + value |= SDCARD_PWRDNZ; > + writel(value, (*ctrl

Re: [U-Boot] [PATCH 08/12] ARM: DRA7xx: Correct SRAM END address

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 04:32:43PM +0530, Lokesh Vutla wrote: > From: Sricharan R > > NON SECURE SRAM is 512KB in DRA7xx devices. > So fixing it here. > > Signed-off-by: Sricharan R > --- > arch/arm/include/asm/arch-omap5/omap.h |7 --- > include/configs/dra7xx_evm.h |3

Re: [U-Boot] [PATCH 07/12] ARM: DRA7xx: Correct the SYS_CLK to 20MHZ

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 04:32:42PM +0530, Lokesh Vutla wrote: > From: Sricharan R > > The sys_clk on the dra evm board is 20MHZ. > Changing the configuration for the same. > > Signed-off-by: Sricharan R > --- > include/configs/dra7xx_evm.h |4 > include/configs/omap5_common.h |

Re: [U-Boot] [PATCH v4 0/4] Factorize ARM relocate_code instances

2013-05-29 Thread Fabio Estevam
Hi Albert, On Tue, May 28, 2013 at 10:28 AM, Albert ARIBAUD wrote: > Did you manage this test? If you did and it succeeded, then I'll merge > the series into u-boot-arm. Unfortunately I did not manage to find some spare time to test this, sorry. Please go ahead and apply them. Hopefully I wil

Re: [U-Boot] [PATCH 2/3] ARM: OMAP5: clocks: Do not enable sgx clocks

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 03:39:54PM +0530, Lokesh Vutla wrote: > From: Sricharan R > > SGX clocks should be enabled only for OMAP5 ES1.0. > So this can be removed. > > Signed-off-by: Sricharan R > --- > arch/arm/cpu/armv7/omap5/hw_data.c |6 -- > 1 file changed, 6 deletions(-) > > dif

Re: [U-Boot] [RFC PATCH 3/7] Tidy up Makefiles to use COBJS consistently

2013-05-29 Thread Tom Rini
On Sun, May 12, 2013 at 07:25:36PM -0700, Simon Glass wrote: > Some Makefiles doen't define COBJS, but just use COBJS-y directly. This > messes with our Kconfig script which uses COBJS to decide which objects > are needed. > > Also, for directories where COBJS produces an empty list, COBJS- must b

Re: [U-Boot] [RFC PATCH 5/7] Adjust Kconfig scripts for use by U-Boot

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 09:47:34AM +0900, Masahiro Yamada wrote: > Hello, Simon. > > Please let me ask some more questions. > > By applying these series of commits, > U-Boot's config file scheme and Kconfig coexist. > > For example, scripts/Makefile.build includes > both auto.conf generated by K

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-29 Thread Tom Rini
On Wed, May 29, 2013 at 06:35:27AM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 28.05.2013 23:16, schrieb Tom Rini: > > On Tue, May 28, 2013 at 11:01:09PM +0200, Wolfgang Denk wrote: > >> Dear Tom, > >> > >> In message <20130528172309.GF5829@bill-the-cat> you wrote: > >>> > Of course thi

Re: [U-Boot] [U-BOOT] mmc: sdhci: Enable 8-bit bus width only for 3.0 spec onwards

2013-05-29 Thread Jagan Teki
Any help on this, was this a useful fix. Thanks, Jagan. On Mon, May 27, 2013 at 10:49 AM, Jagannadha Sutradharudu Teki wrote: > Request for an update on this. > > Thanks, > Jagan. > >> -Original Message- >> From: Jagannadha Sutradharudu Teki [mailto:jagannadha.sutradharudu- >> t...@xilin

[U-Boot] [PATCH 12/12] ARM: DRA7xx: EMIF: Change settings required for EVM board

2013-05-29 Thread Lokesh Vutla
From: Sricharan R DRA7 EVM board has the below configuration. Adding the settings for the same here. 2Gb_1_35V_DDR3L part * 2 on EMIF1 2Gb_1_35V_DDR3L part * 4 on EMIF2 Signed-off-by: Sricharan R Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap-common/emif-common.c | 26 +++-

[U-Boot] [PATCH 08/12] ARM: DRA7xx: Correct SRAM END address

2013-05-29 Thread Lokesh Vutla
From: Sricharan R NON SECURE SRAM is 512KB in DRA7xx devices. So fixing it here. Signed-off-by: Sricharan R --- arch/arm/include/asm/arch-omap5/omap.h |7 --- include/configs/dra7xx_evm.h |3 +++ include/configs/omap5_uevm.h |3 +++ 3 files changed, 6 insert

[U-Boot] [PATCH 11/12] ARM: DRA7xx: clocks: Update PLL values

2013-05-29 Thread Lokesh Vutla
Update PLL values. SYS_CLKSEL value for 20MHz is changed to 2. In other platforms SYS_CLKSEL value 2 represents reserved. But in sys_clk array ind 1 is used for 13Mhz. Since other platforms are not using 13Mhz, reusing index 1 for 20MHz. Signed-off-by: Lokesh Vutla Signed-off-by: Sricharan R ---

[U-Boot] [PATCH 07/12] ARM: DRA7xx: Correct the SYS_CLK to 20MHZ

2013-05-29 Thread Lokesh Vutla
From: Sricharan R The sys_clk on the dra evm board is 20MHZ. Changing the configuration for the same. Signed-off-by: Sricharan R --- include/configs/dra7xx_evm.h |4 include/configs/omap5_common.h |1 - include/configs/omap5_uevm.h |3 +++ 3 files changed, 7 insertions(+),

[U-Boot] [PATCH 04/12] ARM: OMAP5: DRA7xx: support class 0 optimized voltages

2013-05-29 Thread Lokesh Vutla
From: Nishanth Menon DRA752 now uses AVS Class 0 voltages which are voltages in efuse. This means that we can now use the optimized voltages which are stored as mV values in efuse and program PMIC accordingly. This allows us to go with higher OPP as needed in the system without the need for imp

[U-Boot] [PATCH 10/12] ARM: DRA7xx: Update pinmux data

2013-05-29 Thread Lokesh Vutla
Updating pinmux data as specified in the latest DM Signed-off-by: Lokesh Vutla Signed-off-by: Balaji T K --- arch/arm/include/asm/arch-omap5/mux_dra7xx.h |7 +++-- board/ti/dra7xx/mux_data.h | 38 -- 2 files changed, 29 insertions(+), 16 deletions

[U-Boot] [PATCH 01/12] ARM: DRA7xx: Add control id code for DRA7xx

2013-05-29 Thread Lokesh Vutla
The registers that are used for device identification are changed from OMAP5 to DRA7xx. Using the correct registers for DRA7xx. Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-omap5/clocks.h | 11 +++ arch/arm/include/asm/arch-omap5/omap.h |3 --- 2 files changed, 11 in

[U-Boot] [PATCH 02/12] ARM: DRA7xx: power Add support for tps659038 PMIC

2013-05-29 Thread Lokesh Vutla
TPS659038 is the power IC used in DRA7XX boards. Adding support for this and also adding pmic data for DRA7XX boards. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap-common/clocks-common.c | 23 ++ arch/arm/cpu/armv7/omap5/hw_data.c | 38 ++

[U-Boot] [PATCH 05/12] ARM: DRA7xx: Do not enable srcomp for DRA7xx Soc's

2013-05-29 Thread Lokesh Vutla
Slew rate compensation cells are not present for DRA7xx Soc's. So return from function srcomp_enable() if soc is not OMAP54xx. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap5/hwinit.c |3 +++ arch/arm/include/asm/omap_common.h |8 2 files changed, 11 insertions(+) dif

[U-Boot] [PATCH 06/12] ARM: DRA7xx: Change the Debug UART to UART1

2013-05-29 Thread Lokesh Vutla
From: Sricharan R Serial UART is connected to UART1. So add the change for the same. Signed-off-by: Sricharan R --- include/configs/dra7xx_evm.h |3 +++ include/configs/omap5_common.h |4 include/configs/omap5_uevm.h |4 3 files changed, 7 insertions(+), 4 deletions(-

[U-Boot] [PATCH 09/12] mmc: omap_hsmmc: add mmc1 pbias, ldo1

2013-05-29 Thread Lokesh Vutla
From: Balaji T K add dra mmc pbias support and ldo1 power on Signed-off-by: Balaji T K Signed-off-by: Lokesh Vutla --- arch/arm/include/asm/arch-omap5/omap.h |3 ++- drivers/mmc/omap_hsmmc.c | 26 ++ drivers/power/palmas.c | 25 +++

[U-Boot] [PATCH 03/12] ARM: DRA7xx: clocks: Fixing i2c_init for PMIC

2013-05-29 Thread Lokesh Vutla
In DRA7xx Soc's voltage scaling is done using GPI2C. So i2c_init should happen before scaling. I2C driver uses __udelay which needs timer to be initialized. So moving timer_init just before voltage scaling. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap-common/clocks-common.c |1 + a

[U-Boot] [PATCH 00/12] ARM: DRA7xx: Update support for DRA7xx Soc's

2013-05-29 Thread Lokesh Vutla
This series update support for DRA7xx family Socs and the data for DRA752 ES1.0 soc. This is on top of my recent Misc cleanup series: http://u-boot.10912.n7.nabble.com/PATCH-0-3-ARM-OMAP4-Misc-Cleanup-tt155877.html Tested on DRA752 ES1.0, OMAP5432 ES2.0, MAKEALL for all armv7 board has been verifi

[U-Boot] [PATCH 3/3] ARM: OMAP4+: pmic: Make generic bus init and write functions

2013-05-29 Thread Lokesh Vutla
Voltage scaling can be done in two ways: -> Using SR I2C -> Using GP I2C In order to support both, have a function pointer in pmic_data so that we can call as per our requirement. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap-common/clocks-common.c |6 ++ arch/arm/cpu/armv7/oma

[U-Boot] [PATCH 2/3] ARM: OMAP5: clocks: Do not enable sgx clocks

2013-05-29 Thread Lokesh Vutla
From: Sricharan R SGX clocks should be enabled only for OMAP5 ES1.0. So this can be removed. Signed-off-by: Sricharan R --- arch/arm/cpu/armv7/omap5/hw_data.c |6 -- 1 file changed, 6 deletions(-) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c in

[U-Boot] [PATCH 0/3] ARM: OMAP4+: Misc Cleanup

2013-05-29 Thread Lokesh Vutla
Misc cleanup. And also adding a Generic bus init and write functions for PMIC. This series is applied on top of u-boot-ti: git://git.denx.de/u-boot-ti.git Lokesh Vutla (2): ARM: OMAP4+: Cleanup header files ARM: OMAP4+: pmic: Make generic bus init and write functions Sricharan R (1): ARM: O

[U-Boot] [PATCH 1/3] ARM: OMAP4+: Cleanup header files

2013-05-29 Thread Lokesh Vutla
After having the u-boot clean up series, there are many definitions that are unused in header files. Removing all those unused ones. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/omap4/prcm-regs.c |3 +++ arch/arm/cpu/armv7/omap5/prcm-regs.c |2 ++ arch/arm/include/asm/arch-o