[U-Boot] [PATCH] OMAP5: Fix bug in omap5_es1_prcm struct

2013-05-26 Thread Lubomir Popov
econd (warm) reset at startup. Add .prm_rsttime init to the ES1.0 struct to fix the issue. Signed-off-by: Lubomir Popov --- Based on current u-boot-ti/master; does not apply to mainline yet. arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/

[U-Boot] [PATCH v2] OMAP5: Fix bug in omap5_es1_prcm struct

2013-05-26 Thread Lubomir Popov
(warm) reset at startup. Add .prm_rsttime address init to the ES1.0 struct. Signed-off-by: Lubomir Popov --- V2 gives the correct prm_rsttime reg address for ES1.0. Copy-paste from ES2.0 in V1, sorry. arch/arm/cpu/armv7/omap5/prcm-regs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ar

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 upda

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

2013-05-29 Thread Lubomir Popov
). - Driver now supports up to I2C5 (OMAP5). Signed-off-by: Lubomir Popov --- V3 changes: - Removed old functions and conditional compilation. New functions are now built unconditionally for all SoCs using this driver. The only chip that should break is the OMAP2420 dinosaur. - Interrupts are

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

2013-05-30 Thread Lubomir Popov
Hi Lokesh, On 30/05/13 16:19, 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 > --- > arch/arm/include/asm/arch-omap5/omap.h |3 ++- > drivers/mmc/omap_hsmmc.c | 26

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

2013-05-30 Thread Lubomir Popov
Hi Tom, On 30/05/13 17:37, Tom Rini wrote: > On Thu, May 30, 2013 at 01:24:42AM +0300, Lubomir Popov wrote: > >> 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 chip

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

2013-05-30 Thread Lubomir Popov
Hi Tom, > On Thu, May 30, 2013 at 10:37:42AM -0400, Tom Rini wrote: >> On Thu, May 30, 2013 at 01:24:42AM +0300, Lubomir Popov wrote: >> >> > Tested on OMAP4/5 only, but should work on older OMAPs and >> > derivatives as well. >> > >> > - Rewrit

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

2013-05-30 Thread Lubomir Popov
Hi Tom, > On Thu, May 30, 2013 at 10:37:42AM -0400, Tom Rini wrote: >> On Thu, May 30, 2013 at 01:24:42AM +0300, Lubomir Popov wrote: >> >> > Tested on OMAP4/5 only, but should work on older OMAPs and >> > derivatives as well. >> > >> > - Rewrit

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

2013-05-31 Thread Lubomir Popov
Hi Tom, On 30/05/13 20:07, Tom Rini wrote: > On Thu, May 30, 2013 at 10:37:42AM -0400, Tom Rini wrote: >> On Thu, May 30, 2013 at 01:24:42AM +0300, Lubomir Popov wrote: >> >>> Tested on OMAP4/5 only, but should work on older OMAPs and >>> derivatives as well

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

2013-05-31 Thread Lubomir Popov
Hi Tom, [snip] >> But, crap, breaks am335x_evm (and probably beaglebones, etc). I'll >> dig into this more to see if I can spot something obvious tomorrow. > Made it work on the am335x_evm (tested, with AM3359 on board). > Problem was in the new i2c_probe, which on this board is called by > the

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

2013-05-31 Thread Lubomir Popov
identify unconfigured bus. - Status functions now read irqstatus_raw as per TRM guidelines (except for OMAP243X and OMAP34XX). - Driver now supports up to I2C5 (OMAP5). Signed-off-by: Lubomir Popov --- V4 changes: - New i2c_probe is built unconditionally, old code is removed

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

2013-06-01 Thread Lubomir Popov
identify unconfigured bus. - Status functions now read irqstatus_raw as per TRM guidelines (except for OMAP243X and OMAP34XX). - Driver now supports up to I2C5 (OMAP5). Signed-off-by: Lubomir Popov --- V5 changes: - Replaced some printf() with puts(). - Minor formatting touches, checkpatch-clean. V4

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

2013-06-02 Thread Lubomir Popov
> Hello Lubomir, > > Am 01.06.2013 18:44, schrieb Lubomir Popov: >> New i2c_read, i2c_write and i2c_probe functions, tested on OMAP4 >> (4430/60/70), OMAP5 (5430) and AM335X (3359); should work on older >> OMAPs and derivatives as well. The only anticipated excepti

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

2013-06-03 Thread Lubomir Popov
Hi Lokesh, > Hi Lubomir, > On Thursday 30 May 2013 07:56 PM, Lubomir Popov wrote: >> Hi Lokesh, >> >> On 30/05/13 16:19, Lokesh Vutla wrote: >>> From: Balaji T K >>> >>> add dra mmc pbias support and ldo1 power on >>> &g

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

2013-06-03 Thread Lubomir Popov
Hi Heiko, On 04/06/13 07:26, Heiko Schocher wrote: > Hello Lubomir, > > Am 03.06.2013 07:13, schrieb Heiko Schocher: >> Hello Lubomir, >> >> Am 02.06.2013 13:42, schrieb Lubomir Popov: >>>> Hello Lubomir, >>>> >>>> Am 01.06.2013

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

2013-06-05 Thread Lubomir Popov
Hi Tom, On 05/06/13 00:06, Tom Rini wrote: > On Mon, Jun 03, 2013 at 10:58:27PM +0300, Lubomir Popov wrote: >> Hi Lokesh, >> >>> Hi Lubomir, >>> On Thursday 30 May 2013 07:56 PM, Lubomir Popov wrote: >>>> Hi Lokesh, >>>> >>&

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

2013-06-05 Thread Lubomir Popov
Hi Nishanth, On 05/06/13 17:01, Nishanth Menon wrote: > On Wed, Jun 5, 2013 at 3:03 AM, Lubomir Popov wrote: >> Hi Tom, >> >> On 05/06/13 00:06, Tom Rini wrote: >>> On Mon, Jun 03, 2013 at 10:58:27PM +0300, Lubomir Popov wrote: >>>> Hi Lokesh, >>&g

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

2013-06-05 Thread Lubomir Popov
Hi Nishanth, > On Wed, Jun 5, 2013 at 11:35 AM, Lubomir Popov wrote: >> Hi Nishanth, >> >> On 05/06/13 17:01, Nishanth Menon wrote: >>> On Wed, Jun 5, 2013 at 3:03 AM, Lubomir Popov wrote: >>>> Hi Tom, >>>> >>>> On 05/06/13 00:

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

2013-06-06 Thread Lubomir Popov
Hi Tom, On 05/06/13 16:45, Tom Rini wrote: > On Wed, Jun 05, 2013 at 11:03:26AM +0300, Lubomir Popov wrote: > >> Hi Tom, >> >> On 05/06/13 00:06, Tom Rini wrote: >>> On Mon, Jun 03, 2013 at 10:58:27PM +0300, Lubomir Popov wrote: >>>> Hi Lokesh, &g

Re: [U-Boot] [PATCH v2] OMAP5: Fix bug in omap5_es1_prcm struct

2013-06-06 Thread Lubomir Popov
Hi Tom, On 26/05/13 23:03, Lubomir Popov wrote: > The newly introduced function setup_warmreset_time(), called > from within prcm_init(), tries to write to the prm_rsttime > OMAP5 register. The struct member holding this register's > address is however initialized for OMAP5 ES2

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

2013-06-06 Thread Lubomir Popov
Hi Lokesh, On 06/06/13 14:26, Lokesh Vutla wrote: > Hi Lubomir, > On Thursday 06 June 2013 12:55 PM, Lubomir Popov wrote: >> Hi Tom, >> >> On 05/06/13 16:45, Tom Rini wrote: >>> On Wed, Jun 05, 2013 at 11:03:26AM +0300, Lubomir Popov wrote: >>> [snip] >

[U-Boot] [PATCH V3] ARM: OMAP5: Power: Add more functionality to Palmas driver

2013-06-06 Thread Lubomir Popov
Add some useful functions, and the corresponding definitions. Add support for powering on the dra7xx_evm SD/MMC LDO (courtesy Lokesh Vutla ). Signed-off-by: Lubomir Popov --- V3 does some cleanup and adds support for the dra7xx_evm board (power on LDO1 used for the SD/MMC interface). V2

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

2013-06-06 Thread Lubomir Popov
Hi Tom, On 06/06/13 16:26, Tom Rini wrote: > On Thu, Jun 06, 2013 at 04:58:44PM +0530, Lokesh Vutla wrote: >> Hi Tom, >> On Thursday 30 May 2013 06:49 PM, 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 recen

[U-Boot] [PATCH V4] ARM: OMAP5: Power: Add more functionality to Palmas driver

2013-06-06 Thread Lubomir Popov
Add some useful functions, and the corresponding definitions. Add support for powering on the dra7xx_evm SD/MMC LDO (courtesy Lokesh Vutla ). Signed-off-by: Lubomir Popov --- V4 checkpatch-clean (except for one long printf string). V3 does some cleanup and adds support for the dra7xx_evm

Re: [U-Boot] [PATCH v4] arm: dra7xx: Update the EXTRA_ENV_SETTINGS

2013-06-06 Thread Lubomir Popov
Hi Dan, > Update the EXTRA_ENV_SETTING for the dra7xx. > The console needs to be set to ttyO0 and the > findfdt needs to be updated to load the > dra7xx-evm.dtb file. > > Signed-off-by: Dan Murphy > --- > v4 - Remove check for undefined fdtfile and save for another patch - > http://patchwork.ozl

Re: [U-Boot] Please pull u-boot-ti/master

2013-06-08 Thread Lubomir Popov
Hi Tom, Michael, > Hello, > > The following changes since commit 3da0e5750b24a9491058df6126c7be577a276c09: > > arm: factorize relocate_code routine (2013-05-30 20:24:38 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-ti.git master > > for you to fetch changes up

Re: [U-Boot] Please pull u-boot-ti/master

2013-06-10 Thread Lubomir Popov
Hi Michael, On 10/06/13 00:37, Michael Trimarchi wrote: > Hi > > On 06/08/2013 10:43 PM, Lubomir Popov wrote: >> Hi Tom, Michael, >> >>> Hello, >>> >>> The following changes since commit 3da0e5750b24a9491058df6126c7be577a276c09: >>> >&g

Re: [U-Boot] Please pull u-boot-ti/master

2013-06-10 Thread Lubomir Popov
Hi Michael, On 10/06/13 12:55, Michael Trimarchi wrote: > Hi > > On Mon, Jun 10, 2013 at 11:54:31AM +0300, Lubomir Popov wrote: >> Hi Michael, >> >> On 10/06/13 00:37, Michael Trimarchi wrote: >>> Hi >>> >>> On 06/08/2013 10:43 PM, Lubom

Re: [U-Boot] [PATCH] usb: omap: ulpi: fix ulpi reading/writing functions

2013-06-10 Thread Lubomir Popov
;< 24) | >OMAP_ULPI_RD_OPSEL | ((u32)reg << 16); > > err = ulpi_request(ulpi_vp, val); > As for the patch itself, tested on a custom OMAP5430 board with a TUSB1210 ULPI PHY on USBB1: Tested-by: Lubomir Popov ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] usb: omap: ulpi: fix ulpi reading/writing functions

2013-06-10 Thread Lubomir Popov
Hi Michael, On 10/06/13 17:23, Michael Trimarchi wrote: > Fix ulpi reading and writing function. > * Both functions need to have the bit31 setted. > * Right now uboot use 0 to enumerate port 1 and 1 to >enumerate port 2 and so on. Omap code use 1 for port 1 and 2 for port 2. >Add a +1 fi

Re: [U-Boot] [PATCH v3 0/6] Optimize ARM relocation

2013-06-11 Thread Lubomir Popov
W target and see if they > still get a prompt, if command completion still works, etc. Applied the series to a relatively fresh (yesterday's) u-boot-ti/master and tested on a custom OMAP5430 board. Boots normally. USB storage and Ethernet (dhcp & ping), S

Re: [U-Boot] [ANN] v2013.07-rc1

2013-06-16 Thread Lubomir Popov
Hi Tom, > Hey all, > > I've tagged and pushed v2013.07-rc1. Lots of things all over the place. > If you've got changes outstanding still, please start gently poking > custodians with patchwork links. I've got a good bit of stuff I need to > deal with myself still, but please prod me all the same

Re: [U-Boot] [ANN] v2013.07-rc1

2013-06-16 Thread Lubomir Popov
Hi Simon, > Hi Lubo, > > On Sun, Jun 16, 2013 at 4:49 AM, Lubomir Popov wrote: > >> Hi Tom, >> >> > Hey all, >> > >> > I've tagged and pushed v2013.07-rc1. Lots of things all over the place. >> > If you've got changes outsta

Re: [U-Boot] [ANN] v2013.07-rc1

2013-06-16 Thread Lubomir Popov
Hi Simon, > Hi Lubo, > > On Sun, Jun 16, 2013 at 9:35 AM, Lubomir Popov wrote: > >> Hi Simon, >> >> > Hi Lubo, >> > >> > On Sun, Jun 16, 2013 at 4:49 AM, Lubomir Popov >> wrote: >> > >> >> Hi Tom, >> >>

Re: [U-Boot] [PATCH] image: Use ENOENT instead of ENOMEDIUM for better compatibility

2013-06-17 Thread Lubomir Popov
On 16.06.2013 17:46, Simon Glass wrote: This error may not be defined on some platforms such as MacOS so host compilation will fail. Use one of the more common errors instead. Signed-off-by: Simon Glass Tested-by: Lubomir Popov on MacOS X 10.8.3 with the following tools used for building U

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Lubomir Popov
Hi Axel, On 21/06/13 06:07, Axel Lin wrote: > AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. > > Signed-off-by: Axel Lin > --- > v2: define OMAP_MAX_GPIO and use it. > This change is mainly based on Stefan's comment, however I use > OMAP_MAX_GPIO instead of CONFIG_OMAP_M

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Lubomir Popov
Hi Axel, On 21/06/13 10:13, Axel Lin wrote: > 2013/6/21 Lubomir Popov : >> Hi Axel, >> >> On 21/06/13 06:07, Axel Lin wrote: >>> AM33XX has 4 gpio banks, thus the valid gpio range should be 0 ... 127. >>> >>> Signed-off-by: Axel Lin >>&

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Lubomir Popov
do you think? Thanks, Lubo On 21/06/13 10:29, Lubomir Popov wrote: > Hi Axel, > > On 21/06/13 10:13, Axel Lin wrote: >> 2013/6/21 Lubomir Popov : >>> Hi Axel, >>> >>> On 21/06/13 06:07, Axel Lin wrote: >>>> AM33XX has 4 gpio banks, thus the

Re: [U-Boot] [PATCH v2] gpio: omap_gpio: Fix valid gpio range for AM33XX

2013-06-21 Thread Lubomir Popov
Hi Heiko, Axel, On 21/06/13 11:44, Heiko Schocher wrote: > Hello Lubomir, > > Am 21.06.2013 09:44, schrieb Lubomir Popov: >> One more thing that perhaps seems more reasonable in general: >> >> These OMAP_MAX_GPIO defines could go into the corresponding .../arch-omap*

Re: [U-Boot] [PATCH 2/2] OMAP: gpio: Introduce get_omap_gpio_count() function to get gpio count

2013-06-21 Thread Lubomir Popov
Axel, Why do you introduce a function when this stuff is constant and known to the compiler? Just put a #define in every header. You are now uselessly inflating code... Regards, Lubo On 21/06/13 11:50, Axel Lin wrote: > Now the omap_gpio driver is used by AM33XX, OMAP3/4, OMAP54XX and DRA7XX SoC

Re: [U-Boot] [PATCH] ARM: OMAP: GPIO: Fix valid range and enable usage of all GPIOs on OMAP5

2013-06-21 Thread Lubomir Popov
1. Move define of OMAP_MAX_GPIO to all arch/arm/include/asm/arch-omap*/gpio.h. > 2. Update gpio bank settings and enable GPIO modules 7 & 8 clocks for OMAP5. > > Thanks for Lubomir Popov to provide valuable comments to fix this issue. > > Signed-off-by: Axel Lin > --- > This patch s

Re: [U-Boot] [PATCH] mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE

2013-06-28 Thread Lubomir Popov
Hi Simon, On 28/06/13 10:02, Andreas Bießmann wrote: > Hi Simon, > > On 28.06.13 08:52, Simon Glass wrote: >> Hi Andreas, >> >> On Thu, Jun 27, 2013 at 11:48 PM, Andreas Bießmann >> mailto:andreas.de...@googlemail.com>> wrote: > > > >> > +# TODO(s...@chromium.org

Re: [U-Boot] [PATCH 1/3] lib/rsa/rsa-sig.c: compile on OS X

2013-07-01 Thread Lubomir Popov
Bießmann > --- Entire series Tested-by: Lubomir Popov on MacOS X 10.8.3 with the following tools used for building U-Boot for one ARM (OMAP) board: arm-none-eabi-gcc (GCC) 4.7.2 GNU ld (GNU Binutils) 2.23.1 Best regards, Lubo ___ U-Boot maili

Re: [U-Boot] [PATCH 2/3] tools/proftool: add missing definition

2013-07-01 Thread Lubomir Popov
> BSD (like OS X) variants of regex.h do not declare REG_NOERROR, add a simple > define for them. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mai

Re: [U-Boot] [PATCH 3/3] Makefile: fix readelf usage

2013-07-01 Thread Lubomir Popov
> Some OS (like OS X) do not provide a generic readelf. We should enforce to use > the toochain provided readelf instead, to do so use $(CROSS_COMPILE)readelf. > > Signed-off-by: Andreas Bießmann > --- Tested-by: Lubomir Popov ___

Re: [U-Boot] [ANN] v2013.07-rc2

2013-07-01 Thread Lubomir Popov
Hi Tom, Marek, On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > Hey all, > > I've tagged and pushed v2013.07-rc2. A bit more over the place than I > should have gone, but picked up a lot of things that have been > outstanding for a while. The big thing is a refactor of the boot loop. > Everyt

[U-Boot] [RFC PATCH V4 1/2] ARM: OMAP4/5: Add alternative method for HSIC USB devices reset

2013-12-19 Thread Lubomir Popov
all OMAP543x-ES1.0 ports. Signed-off-by: Lubomir Popov --- V4 is just a resend from another machine. V1/2/3 were corrupted during transmission. drivers/usb/host/ehci-hcd.c | 15 drivers/usb/host/ehci-omap.c | 174 ++- 2 files changed, 170 insertions

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-28 Thread Lubomir Popov
Hi Heiko, > Hello Lubomir, > > Am 24.11.2014 17:00, schrieb Lubomir Popov: >> I2C chips do exist that require a write of some multi-byte data to occur in >> a single bus transaction (aka atomic transfer), otherwise either the write >> does not come into effect at

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-28 Thread Lubomir Popov
Hi Heiko, > Hello Lubomir, > > Am 28.01.2015 09:32, schrieb Lubomir Popov: >> Hi Heiko, >> >>> Hello Lubomir, >>> >>> Am 24.11.2014 17:00, schrieb Lubomir Popov: >>>> I2C chips do exist that require a write of some multi-byte data to

[U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-01-30 Thread Lubomir Popov
iven number of bytes in a single bus transaction if the '-s' option is specified as a final command argument. Else the current re-addressing method is used. Signed-off-by: Lubomir Popov --- Changes in V3: Rebased on current master. Changes in V2: The option to use bulk transfer vs re-addr

Re: [U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-02-03 Thread Lubomir Popov
Hi Simon, > Hi, > > On 30 January 2015 at 10:56, Lubomir Popov wrote: >> I2C chips do exist that require a write of some multi-byte data to occur in >> a single bus transaction (aka atomic transfer), otherwise either the write >> does not come into effect at all, or n

Re: [U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-02-06 Thread Lubomir Popov
Hi Heiko, > Hello Simon, Lubomir, > > Am 03.02.2015 01:59, schrieb Simon Glass: >> Hi, >> >> On 30 January 2015 at 10:56, Lubomir Popov wrote: >>> I2C chips do exist that require a write of some multi-byte data to occur in >>> a single bus transactio

[U-Boot] [PATCH] OMAP: Fix copy-paste bug that did not enable UART4 clock

2013-03-29 Thread Lubomir Popov
UART3 was enabled twice instead of UART4. One more cosmetic change in a comment on EMIF clock. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap-common/clocks-common.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/clocks

[U-Boot] [PATCH] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-03-29 Thread Lubomir Popov
This fix is needed (but not sufficient) for USB EHCI operation. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/hw_data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c index ced274e

[U-Boot] [PATCH] OMAP5: I2C: Enable i2c5 clocks

2013-03-29 Thread Lubomir Popov
I2C5 is used on all known OMAP5 hardware platforms, therefore enable. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/hw_data.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c index e5e41fd..5698876 100644

[U-Boot] [PATCH] OMAP5: I2C: Add I2C4 and I2C5 bases

2013-03-29 Thread Lubomir Popov
Need to add these base addresses in order to use I2C4 and I2C5. Signed-off-by: Lubomir Popov --- arch/arm/include/asm/arch-omap5/cpu.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h index 5e62013..044ab55

[U-Boot] [PATCH] OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

2013-03-29 Thread Lubomir Popov
Needed in order to be able to select I2C4 and I2C5 via "i2c dev". Signed-off-by: Lubomir Popov --- arch/arm/include/asm/arch-omap5/i2c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-omap5/i2c.h b/arch/arm/include/asm/arch-omap5/i

[U-Boot] [PATCH 1/2] OMAP4/5: I2C: New I2C driver, Makefile fix

2013-03-29 Thread Lubomir Popov
See PATCH 2/2 on new I2C driver. Signed-off-by: Lubomir Popov --- drivers/i2c/Makefile |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile index 5dbdbe3..8afc621 100644 --- a/drivers/i2c/Makefile +++ b/drivers/i2c/Makefile @@ -36,6 +36,8 @@ COBJS

[U-Boot] [PATCH 2/2] OMAP4/5: I2C: New I2C driver files added

2013-03-29 Thread Lubomir Popov
configurable (e.g. in the board config header). Signed-off-by: Lubomir Popov --- The main feature of this new driver is that now i2c_read operates correctly with chips that have addressable registers wider than 8 bits (such as TI temperature sensors), or that have multiple non-addressable registers that

[U-Boot] [PATCH] OMAP5: Power: Added more functionality to twl6035 driver

2013-04-01 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- This patch adds some new functions that were used for the SOM5_EVB bringup, but might be useful for other OMAP5 designs as well. drivers/power/twl6035.c | 140 +++ include/twl6035.h | 83

[U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-04-01 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- The som5_evb is an evaluation board for the APM-5 - a OMAP5430-based SOM (system On a Module) designed by MMS and manufactured under license by Jorjin Technologies. arch/arm/include/asm/mach-types.h | 13 ++ board/mms/som5_evb/Makefile | 49

[U-Boot] [PATCH] OMAP4/5: Add USB EHCI support

2013-04-01 Thread Lubomir Popov
omap5_som5_evb.h as an example. Note that this additional reset is not needed for OMAP4 HSIC (tested on OMAP4460 and 4470). 4. Can somebody explain why arch/arm/include/asm/arch-omap5/ehci.h has disappeared? It is in fact needed for EHCI USB. Adding it. Signed-off-by: Lubomir Popov

[U-Boot] [PATCH] OMAP5: Enable USB Ethernet support with LAN9730

2013-04-01 Thread Lubomir Popov
Added the LAN9730 to list of supported devices. This chip is used in the sEVM, uEVM and som5_evb. Tested on the som5_evb with dhcp and ping. Signed-off-by: Lubomir Popov --- NOTE: For things to work, 'usb start' must be executed first, and we must have the Ethernet device found. Oth

[U-Boot] Subject: [PATCH 1/2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-03 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- arch/arm/include/asm/omap_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 091ddb5..f042c10 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm

[U-Boot] [PATCH 2/2] OMAP4: Add basic support for OMAP4470/TWL6032

2013-04-03 Thread Lubomir Popov
H/W used for test: TI Blaze/Tablet OMAP4470 Processor Board (750-2173-005) mounted on a custom main board (MMS benvolio4). Fixed bug in vcores_data omap4460_volts struct referencing tps62361 instead of twl6030 for core and mm voltages. Fixed some comments. Signed-off-by: Lubomir Popov

[U-Boot] [PATCH 0/1] OMAP4/5: I2C: New read/write/probe functions

2013-04-04 Thread Lubomir Popov
The main feature of this new OMAP4/5 driver is that now i2c_read operates correctly with chips that have addressable registers wider than 8 bits (such as TI temperature sensors), or that have multiple non-addressable registers that have to be retrieved in a bulk transaction (such as TI clock distri

[U-Boot] [PATCH 1/1] OMAP4/5: I2C: New read/write/probe functions

2013-04-04 Thread Lubomir Popov
identify unconfigured bus. - New i2c_probe performs write access vs read. Optionally selectable via CONFIG_I2C_PROBE_WRITE. - Driver supports up to I2C5 (OMAP5; I2C_BASE5 must be defined). Signed-off-by: Lubomir Popov --- drivers/i2c/omap24xx_i2c.c | 332

[U-Boot] [PATCH v2] OMAP: Fix copy-paste bug that did not enable UART4 clock

2013-04-04 Thread Lubomir Popov
V2 fixes line wrap issue of the patch itself. UART3 was enabled twice instead of UART4. One more cosmetic change in a comment on EMIF clock. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap-common/clocks-common.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[U-Boot] [PATCH v2] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-04-04 Thread Lubomir Popov
V2 fixes line wrap issue of the patch itself. This fix is needed (but not sufficient) for USB EHCI operation. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/hw_data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch

[U-Boot] [PATCH v2] OMAP5: I2C: Enable i2c5 clocks

2013-04-04 Thread Lubomir Popov
V2 fixes line wrap issue of the patch itself. I2C5 is used on all known OMAP5 hardware platforms, therefore enable. Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/hw_data.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu

[U-Boot] [PATCH v2] OMAP5: I2C: Add I2C4 and I2C5 bases

2013-04-04 Thread Lubomir Popov
V2 fixes line wrap issue of the patch itself. Need to add these base addresses in order to use I2C4 and I2C5. Signed-off-by: Lubomir Popov --- arch/arm/include/asm/arch-omap5/cpu.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm

[U-Boot] [PATCH v2] OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

2013-04-04 Thread Lubomir Popov
V2 fixes line wrap issue of the patch itself. Needed in order to be able to select I2C4 and I2C5 via "i2c dev". Signed-off-by: Lubomir Popov --- arch/arm/include/asm/arch-omap5/i2c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-o

[U-Boot] [PATCH v2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-04 Thread Lubomir Popov
V2 fixes garbled subject. Signed-off-by: Lubomir Popov --- arch/arm/include/asm/omap_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 091ddb5..f042c10 100644 --- a/arch/arm/include/asm/omap_common.h

Re: [U-Boot] [PATCH v2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-04 Thread Lubomir Popov
Hello, On 04/04/13 19:00, Nishanth Menon wrote: > On 18:57-20130404, Lubomir Popov wrote: >> V2 fixes garbled subject. > move this to diffstat section - here and in the rest of the patches. >> >> Signed-off-by: Lubomir Popov >> >> --- >> arch/arm/inclu

Re: [U-Boot] [PATCH v2] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-04-08 Thread Lubomir Popov
Hello Sricharan, On 08/04/13 09:05, Sricharan R wrote: > On Thursday 04 April 2013 09:21 PM, Lubomir Popov wrote: >> V2 fixes line wrap issue of the patch itself. >> >> This fix is needed (but not sufficient) for USB EHCI operation. >> >> Signed-off-by: Lubomir

Re: [U-Boot] [PATCH v2] OMAP5: I2C: Enable i2c5 clocks

2013-04-08 Thread Lubomir Popov
Hi Sricharan, On 08/04/13 09:09, Sricharan R wrote: > On Thursday 04 April 2013 09:22 PM, Lubomir Popov wrote: >> V2 fixes line wrap issue of the patch itself. >> >> I2C5 is used on all known OMAP5 hardware platforms, therefore enable. >> >> Signed-off-by: Lubo

[U-Boot] [PATCH V3 0/3] OMAP5: I2C: Enable support of I2C4 and I2C5 buses

2013-04-08 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. Enable their use in U-Boot. Lubomir Popov (3): OMAP5: I2C: Enable i2c5 clocks OMAP5: I2C: Add I2C4 and I2C5 bases OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5 arch/arm/cpu/armv7/omap5/hw_data.c|1 + arch

[U-Boot] [PATCH V3 1/3] OMAP5: I2C: Enable i2c5 clocks

2013-04-08 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- V3 consolidates this patch into a series. arch/arm/cpu/armv7/omap5/hw_data.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c index e5e41fd..5698876 100644 --- a/arch/arm/cpu/armv7

[U-Boot] [PATCH V3 2/3] OMAP5: I2C: Add I2C4 and I2C5 bases

2013-04-08 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- V3 consolidates this patch into a series. arch/arm/include/asm/arch-omap5/cpu.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-omap5/cpu.h b/arch/arm/include/asm/arch-omap5/cpu.h index 5e62013..044ab55 100644 --- a/arch/arm

[U-Boot] [PATCH V3 3/3] OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

2013-04-08 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- V3 consolidates this patch into a series. arch/arm/include/asm/arch-omap5/i2c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-omap5/i2c.h b/arch/arm/include/asm/arch-omap5/i2c.h index 68be03b..ec39a53 100644

Re: [U-Boot] [PATCH V3 1/3] OMAP5: I2C: Enable i2c5 clocks

2013-04-08 Thread Lubomir Popov
Hi Sricharan, On 09/04/13 09:34, Sricharan R wrote: > Hi Lubomir, > > On Monday 08 April 2013 04:03 PM, Lubomir Popov wrote: >> Signed-off-by: Lubomir Popov >> --- >> V3 consolidates this patch into a series. >> >> arch/arm/cpu/armv7/omap5/hw_data.c |

[U-Boot] [PATCH V4 0/3] OMAP5: I2C: Enable support of I2C4 and I2C5 buses

2013-04-09 Thread Lubomir Popov
. Changes since V1: Fixed line wrap issues. Lubomir Popov (3): OMAP5: I2C: Enable i2c5 clocks OMAP5: I2C: Add I2C4 and I2C5 bases OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5 arch/arm/cpu/armv7/omap5/hw_data.c|1 + arch/arm/include/asm/arch-omap5/cpu.h |2 ++ arch/arm

[U-Boot] [PATCH V4 1/3] OMAP5: I2C: Enable i2c5 clocks

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. The i2c5 clock was however not enabled; do this here. Signed-off-by: Lubomir Popov --- Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Changes since V1: Fixed

[U-Boot] [PATCH V4 2/3] OMAP5: I2C: Add I2C4 and I2C5 bases

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. The I2C4 and I2C5 base addresses were however not defined; do this here. Signed-off-by: Lubomir Popov --- Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Changes

[U-Boot] [PATCH V4 3/3] OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

2013-04-09 Thread Lubomir Popov
-off-by: Lubomir Popov --- Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Changes since V1: Fixed line wrap issues. arch/arm/include/asm/arch-omap5/i2c.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH] OMAP4: Fix bug in omap4460_volts struct

2013-04-09 Thread Lubomir Popov
The omap4460_volts struct was incorrectly referencing tps62361 instead of twl6030 as PMIC for the core and mm voltages (the tps is used for mpu supply only). This shall lead to bad OPP settings while booting kernel. Fixing it. Fix some comments as well. Signed-off-by: Lubomir Popov --- This

[U-Boot] [PATCH v3] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-04-11 Thread Lubomir Popov
Boot. Signed-off-by: Lubomir Popov --- V3 updates commit comments only. V2 fixes line wrap issue of the patch itself. arch/arm/cpu/armv7/omap5/hw_data.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap5/hw_data.c b/arch/arm/cpu/armv7/omap5/hw_data.c in

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-04-26 Thread Lubomir Popov
Hi Tom, On 25/04/13 22:01, Tom Rini wrote: > On Mon, Apr 01, 2013 at 05:06:16PM +0300, Lubomir Popov wrote: > >> Signed-off-by: Lubomir Popov > > Thought I had reviewed this already, sorry. Thanks for your review. During the past month U-Boot has changed; I have tried

Re: [U-Boot] [PATCH 1/1] OMAP4/5: I2C: New read/write/probe functions

2013-05-09 Thread Lubomir Popov
Hi Tom, On 09/05/13 18:25, Tom Rini wrote: > On Thu, Apr 04, 2013 at 04:40:16PM +0300, Lubomir Popov wrote: > >> These new functions are built for OMAP4 and OMAP5 only. The major >> improvement is that the new i2c_read fixes the inability to read >> correctly from ce

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-14 Thread Lubomir Popov
e see some more comments inline below. On 13/05/13 22:37, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 04/26/2013 11:59 AM, Lubomir Popov wrote: >> Hi Tom, >> >> On 25/04/13 22:01, Tom Rini wrote: >>> On Mon, Apr 01, 2013 at 05:06

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-14 Thread Lubomir Popov
Hi Tom, On 14/05/13 17:52, Tom Rini wrote: > On Tue, May 14, 2013 at 01:24:41PM +0300, Lubomir Popov wrote: >> Hi Tom, >> >> I'm currently busy with other work; on the other hand, careful >> rebasing shall require some time, especially the Palmas stuff. >&g

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-14 Thread Lubomir Popov
Hi Tom, Just a couple of things to clarify below. > On Tue, May 14, 2013 at 07:09:33PM +0300, Lubomir Popov wrote: >> Hi Tom, >> >> On 14/05/13 17:52, Tom Rini wrote: >> > On Tue, May 14, 2013 at 01:24:41PM +0300, Lubomir Popov wrote: >> >> Hi Tom, >

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, On 15/05/13 08:11, Sricharan R wrote: > Hi, > On Tuesday 14 May 2013 10:11 PM, Tom Rini wrote: >> On Tue, May 14, 2013 at 07:09:33PM +0300, Lubomir Popov wrote: >>> Hi Tom, >>> >>> On 14/05/13 17:52, Tom Rini wrote: >>>> On Tue, Ma

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, On 15/05/13 12:04, Sricharan R wrote: > Hi, > > On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote: >> Hi Sricharan, >> >> On 15/05/13 08:11, Sricharan R wrote: >>> Hi, >>> On Tuesday 14 May 2013 10:11 PM, Tom Rini wrote: >>&

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
Hi Sricharan, Tom, On 15/05/13 14:25, Sricharan R wrote: > On Wednesday 15 May 2013 04:16 PM, Lubomir Popov wrote: >> Hi Sricharan, >> >> On 15/05/13 12:04, Sricharan R wrote: >>> Hi, >>> >>> On Wednesday 15 May 2013 01:25 PM, Lubomir Popov wrote

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-15 Thread Lubomir Popov
OK, thanks. On 15/05/13 16:43, Tom Rini wrote: > On Wed, May 15, 2013 at 04:10:46PM +0300, Lubomir Popov wrote: >> Hi Sricharan, Tom, > [snip] >> Now on USB in general: u-boot-ti master lags behind mainline master in >> respect to >> drivers/usb/host/ehci-hcd.c (t

[U-Boot] [PATCH] OMAP5: Enable access to auxclk registers

2013-05-15 Thread Lubomir Popov
auxclk0 and auxclk1 are utilized on some OMAP5 boards. Define the infrastructure needed for accessing them without using magic numbers. Also remove unrelated TPS62361 defines from clocks.h Signed-off-by: Lubomir Popov --- arch/arm/cpu/armv7/omap5/prcm-regs.c |8 arch/arm

[U-Boot] [PATCH V2] OMAP5: Power: Add more functionality to Palmas driver

2013-05-15 Thread Lubomir Popov
Add some useful functions, and the corresponding definitions. Signed-off-by: Lubomir Popov --- V2 aligns to changed PMIC name (and file names accordingly) from twl6035 to Palmas and is based on current u-boot-ti master. drivers/power/palmas.c | 108

[U-Boot] [PATCH RFC] OMAP5: uEVM: Enable USB EHCI functionality (preliminary, not tested)

2013-05-15 Thread Lubomir Popov
Prerequisites: appropriate patches to the USB EHCI and Eth drivers, and to the OMAP5 clock register definitions. Signed-off-by: Lubomir Popov --- Assumption is that this code shall run on TI 750-2628-21X hardware (also known as OMAP5432 ES2.0 PandaBoard5) - the GPIOs that I used used for HSIC

[U-Boot] [PATCH] OMAP5: uEVM: Fix pinmux for USB support

2013-05-16 Thread Lubomir Popov
Set mux mode to GPIO for the pads used for HSIC USB device reset. Remove useless pinmux for USBB1_HSIC - the OMAP5432 does not have this port bonded out. Signed-off-by: Lubomir Popov --- I shall again point out that this mux_data.h file comes from the sEVM board without any modification at all

  1   2   >