[PATCH 1/3] sdio: allow non-standard SDIO cards

2010-06-29 Thread Grazvydas Ignotas
and rely on init_card() to fill all SDIO structures instead. As those cards are usually embedded chips, all the required information can be obtained from machine board files by the host driver when it's called through init_card() callback. Signed-off-by: Grazvydas Ignotas nota...@gmail.com

[PATCH 2/3] omap_hsmmc: add init_card pass-through callback

2010-06-29 Thread Grazvydas Ignotas
This will allow us to set up special cards in machine drivers just after they are detected by MMC core. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/plat-omap/include/plat/mmc.h |2 ++ drivers/mmc/host/omap_hsmmc.c | 10 ++ 2 files changed, 12 insertions

[PATCH 3/3] omap: pandora: pass wl1251 information to SDIO core

2010-06-29 Thread Grazvydas Ignotas
Pandora has TI WL1251 attached on MMC3, which is non-standard SDIO chip. Make use MMC_QUIRK_NONSTD_SDIO to tell SDIO core about it. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/mach-omap2/board-omap3pandora.c | 16 arch/arm/mach-omap2/hsmmc.c

Re: [PATCH 3/9] omap: generic: introduce a single check_revision

2010-06-25 Thread Grazvydas Ignotas
On Wed, Jun 23, 2010 at 5:16 AM, Nishanth Menon n...@ti.com wrote: Introduce a single omap generic check_revision that routes the request to the right revision of check_revision. Cc: Tony Lindgren t...@atomide.com Cc: Angelo Arrifano mik...@gmail.com Cc: Zebediah C. McClure z...@lurian.net

Re: [PATCH] OMAP FB code to set DISPC_TIMING_{H,V} doesn't match TRM

2010-06-21 Thread Grazvydas Ignotas
(CC Tomi) On Thu, Jun 17, 2010 at 12:43 AM, Zygo Blaxell vger-linux-omap-esightc...@mailtoo.hungrycats.org wrote: The TRM and the OMAP FB driver have different ideas about the widths of various bit fields in the DISPC_TIMING_{H,V} registers.  This patch is based on what the TRM (TI document

Re: [PATCH] OMAP: DSS: Fix for dsi_pll to dpll4 clk switch

2010-06-21 Thread Grazvydas Ignotas
when sending DSS patches, CC Tomi and fbdev. On Thu, Jun 17, 2010 at 8:12 AM, Nagarajan, Rajkumar x0133...@ti.com wrote: When switching between clocks, The new functional clock is effective when the next vertical blanking interval occurs. GOLCD bit has to be set for the new clock to take

Re: [PATCH 3/5] arm: omap: switch over to gpio_set_debounce

2010-06-16 Thread Grazvydas Ignotas
On Mon, May 17, 2010 at 1:02 PM, felipe.ba...@nokia.com wrote: From: Felipe Balbi felipe.ba...@nokia.com stop using the omap-specific implementations for gpio debouncing now that gpiolib provides its own support. hmm, this gives me: [0.00] WARNING: at drivers/gpio/gpiolib.c:104

Re: [PATCH] ARM: OMAP: Fix board data to support device only, host only and OTG roles.

2010-05-31 Thread Grazvydas Ignotas
On Fri, May 28, 2010 at 9:32 PM, David Brownell davi...@pacbell.net wrote: --- On Fri, 5/28/10, Steve Sakoman sako...@gmail.com wrote: By the way ... the #ifdeffery should indeed vanish from all board configs except the Davinci DM6446 EVM.  That board is kind of quirky in terms of USB

[PATCH] omap: pandora: add support for wl1251 wifi chip

2010-05-27 Thread Grazvydas Ignotas
Define platform data and setup GPIOs so that TI wl1251 wifi chip and it's driver can function. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- I could have sent this earlier but it depended on the wifi tree, hope this can still go in for -rc2, it's just platform data anyway. arch/arm

Re: [RFC] Initial attempt to make ARM use LMB

2010-05-17 Thread Grazvydas Ignotas
On Fri, May 14, 2010 at 1:16 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: because it also uses reserve_bootmem() in drivers/video/omap2/vram.c and later ioremap on RAM. Perhaps LMB can be used to fix that too? WTF is reserve_bootmem doing in a driver? IIRC Tony refused any new

Re: [RFC] Initial attempt to make ARM use LMB

2010-05-14 Thread Grazvydas Ignotas
On Fri, May 14, 2010 at 10:24 AM, Shilimkar, Santosh santosh.shilim...@ti.com wrote: On Thu, May 13, 2010 at 03:01:39PM -0700, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [100513 14:53]: On Thu, May 13, 2010 at 02:19:51PM -0700, Tony Lindgren wrote: * Russell

Re: [PATCH 1/1] omap-hsmmc.c: re-organize dma line population

2010-05-11 Thread Grazvydas Ignotas
On Tue, May 11, 2010 at 11:32 AM, Madhvapathi Sriram srira...@ti.com wrote:  - This moves the dma line population from omap_hsmmc.c to plat-omap/devices.c  - This is done to keep platform specific code inside the platform directory   rather than the host driver  - This makes the porting work

Re: [PATCH] OMAP: DSS: ensure clocks are disabled on failed init

2010-04-27 Thread Grazvydas Ignotas
CC Tomi in case he missed this. On Mon, Apr 26, 2010 at 10:12 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Currently, if init fails for whatever reason, various DSS related clocks will be left enabled and prevent the chip from hitting retention or off-mode. This patch ensures the

Re: [PATCH] i2c: omap: fix OOPS in omap_i2c_unidle() during probe

2010-04-16 Thread Grazvydas Ignotas
as the mainline doesn't boot otherwise on OMAP. Uhm why does this patch (or Tony's version) doesn't reach mainline for so long? It's critical for all OMAPs except the very old ones. If it helps: Tested-by: Grazvydas Ignotas nota...@gmail.com Tested-by: Jarkko Nikula jhnik...@gmail.com

Re: [PATCHv3 0/5] OMAP: RX51: Add LCD Panel Support for N900

2010-04-15 Thread Grazvydas Ignotas
Something's strange with Tomi's mail path I guess, I always send patches with git send-email and he still received some of them (but not all) mangled. On Thu, Apr 15, 2010 at 3:08 PM, Roger Quadros roger.quad...@nokia.com wrote: Tarball attached in case checkpatch complains. -roger Quadros

[PATCH] OMAP: DSS2: TPO-TD03MTEA1: fix Kconfig dependency

2010-04-15 Thread Grazvydas Ignotas
This panel depends on SPI, not I2C. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- drivers/video/omap2/displays/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/omap2/displays/Kconfig b/drivers/video/omap2/displays/Kconfig index dfb57ee

Re: [PATCHV3] OMAP3: SDRC : Errata 1.176 Fix - Accesses to DDR stall in SDRC after a Warm-reset

2010-04-14 Thread Grazvydas Ignotas
On Tue, Apr 13, 2010 at 3:37 PM, Vishwanath BS vishwanath...@ti.com wrote: From: Teerth Reddy tee...@ti.com This patch has the workaround for errata 1.176. In some cases, user is not able to access DDR memory after warm-reset.This situation occurs while the warm-reset happens during a read

Re: [PATCH v3] board-omap3-beagle: add DSS2 support

2010-04-14 Thread Grazvydas Ignotas
On Wed, Apr 14, 2010 at 2:37 PM, Koen Kooi koen.k...@gmail.com wrote: This patch adds DSS2 support to the beagleboard boardfile. DVI and TV-out are supported. Changes since v1:        * removed beagle_panel_enable_tv() and beagle_panel_disable_tv() oh no you didn't, they're still there :)

Re: [RFC/PATCHv2 2/4] arm: omap: gpio: implement set_debounce method

2010-04-01 Thread Grazvydas Ignotas
On Thu, Apr 1, 2010 at 12:32 PM, Felipe Balbi felipe.ba...@nokia.com wrote: On Thu, Apr 01, 2010 at 11:29:16AM +0200, ext Grazvydas Ignotas wrote: Hmh, dbck is shared by the whole GPIO bank, so what happens if someone calls _set_gpio_debounce(bank, 1, 310) and then _set_gpio_debounce(bank, 2

Re: [RFC/PATCHv2 2/4] arm: omap: gpio: implement set_debounce method

2010-04-01 Thread Grazvydas Ignotas
On Thu, Apr 1, 2010 at 1:10 PM, Felipe Balbi felipe.ba...@nokia.com wrote: On Thu, Apr 01, 2010 at 11:37:16AM +0200, ext Grazvydas Ignotas wrote: On Thu, Apr 1, 2010 at 12:32 PM, Felipe Balbi felipe.ba...@nokia.com wrote: On Thu, Apr 01, 2010 at 11:29:16AM +0200, ext Grazvydas Ignotas wrote

Re: [PATCHv2 0/3] Add support for TCA6416 based Keypad driver.

2010-03-12 Thread Grazvydas Ignotas
On Fri, Mar 12, 2010 at 11:18 AM, Sriramakrishnan s...@ti.com wrote: AM3517 EVM with APPS board includes keys interfaced to TCA6416 IO expander User keys are connected as GPIO lines to TCA6416 IO expander. Unlike the case with generic gpio-keypad driver individual keys do not generate an

[PATCH] omap3: pandora: add missing i2c3 board_info

2010-03-10 Thread Grazvydas Ignotas
This will allow BQ27500 fuel gauge to function. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- BQ27500 support got in during this merge window, so would be nice to see this in some -rc. arch/arm/mach-omap2/board-omap3pandora.c | 10 +- 1 files changed, 9 insertions(+), 1

Re: [PATCHv3 2/4] Regulator: OMAP: Modifying Kconfig/Makefile to choose from available PMICs

2010-03-02 Thread Grazvydas Ignotas
On Tue, Mar 2, 2010 at 12:29 PM, Anuj Aggarwal anuj.aggar...@ti.com wrote: Kconfig is modified for OMAP3 EVM so that user can choose the appropriate PMIC (currently only TWL4030). Config options for other PMICs will be added later on. Makefile is modified so that twl4030-pmic.c gets compiled

Re: [PATCH 01/13] OMAP: DSS2: enable VDDS_DSI when using DPI

2010-02-15 Thread Grazvydas Ignotas
On Mon, Feb 15, 2010 at 2:11 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: -Original Message- From: Tomi Valkeinen [mailto:tomi.valkei...@nokia.com] Sent: Monday, February 15, 2010 4:28 PM To: Hiremath, Vaibhav Cc: linux-omap@vger.kernel.org; linux-fb...@vger.kernel.org Subject: RE:

Re: [PATCH 00/17] OMAP DSS2 model restructuring

2010-02-13 Thread Grazvydas Ignotas
-by: Grazvydas Ignotas nota...@gmail.com Tomi Valkeinen (17):  OMAP: DSS2: DSI: change DSI bus_lock to semaphore  OMAP: DSS2: DSI: remove auto-update perf measurement  OMAP: DSS2: move run_test()  OMAP: DSS2: move memory_read()  OMAP: DSS2: move set/get_mirror()  OMAP: DSS2: move get

[PATCH v2] Input: ads7846: add regulator support

2010-02-13 Thread Grazvydas Ignotas
. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- drivers/input/touchscreen/ads7846.c | 28 +++- 1 files changed, 27 insertions(+), 1 deletions(-) diff --git a/drivers/input/touchscreen/ads7846.c b/drivers/input/touchscreen/ads7846.c index 52d2ca1..8b05d8e 100644

Re: [PATCH 14/17] OMAP: DSS2: move enable/disable/suspend/resume

2010-02-09 Thread Grazvydas Ignotas
On Mon, Feb 8, 2010 at 5:57 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Move enable/disable/suspend/resume from omap_dss_device to omap_dss_driver. This is part of a larger patch-set, which moves the control from omapdss driver to the display driver. Signed-off-by: Tomi Valkeinen

[PATCH -next] omap3: pandora: update regulator setup

2010-02-06 Thread Grazvydas Ignotas
Update pandora's regulator setup: - add new regulators: VAUX2, VAUX4 and VSIM - add new consumers: ads7846, nub controllers, USB PHY, audio DAC - use dev names instead of struct device pointers Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/mach-omap2/board-omap3pandora.c | 111

[PATCH -next] omap3: pandora: update defconfig

2010-02-06 Thread Grazvydas Ignotas
Enable DSS2 and update defconfig for current kernel. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/configs/omap3_pandora_defconfig | 678 ++ 1 files changed, 513 insertions(+), 165 deletions(-) diff --git a/arch/arm/configs/omap3_pandora_defconfig

[PATCH] Input: ads7846: add regulator support

2010-02-04 Thread Grazvydas Ignotas
The ADS7846/TSC2046 touchscreen controllers can (and usually are) connected to various regulators for power, so add regulator support. Make it optional for now to avoid breaking all current users of this driver. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- drivers/input/touchscreen

Re: [PATCH] Input: ads7846: add regulator support

2010-02-04 Thread Grazvydas Ignotas
On Thu, Feb 4, 2010 at 4:24 PM, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Thu, Feb 04, 2010 at 03:39:18PM +0200, Grazvydas Ignotas wrote: The ADS7846/TSC2046 touchscreen controllers can (and usually are) connected to various regulators for power, so add regulator support. Make

Re: linux-next: manual merge of the omap_dss2 tree with the omap tree

2010-02-03 Thread Grazvydas Ignotas
         = 4, From 6ef850a159b4e57b792d7f84e18c443ef15fe3e5 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas nota...@gmail.com Date: Wed, 13 Jan 2010 22:19:07 +0100 Subject: [PATCH] OMAP: pandora: add DSS2 support and related regulators This patch adds configuration data for DSS2 and sets up display related

Re: [PATCH 1/2] OMAP: DSS: Add display board file for zoom boards

2010-01-20 Thread Grazvydas Ignotas
On Tue, Jan 19, 2010 at 7:52 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: -Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Y, Kishore Sent: Tuesday, January 19, 2010 6:42 PM To: Tomi Valkeinen Cc:

Re: issue with panel drivers in DSS2

2010-01-15 Thread Grazvydas Ignotas
On Fri, Jan 15, 2010 at 12:07 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Thu, 2010-01-14 at 21:59 +0100, ext Grazvydas Ignotas wrote: Hi, there is an issue related to panel drivers: even if panel driver provides get_rotate/set_rotate and/or get_mirror/set_mirror functions, those

Re: [PATCH] omap3: pandora: add DSS2 support and related regulators

2010-01-14 Thread Grazvydas Ignotas
On Thu, Jan 14, 2010 at 4:05 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: On Wed, 2010-01-13 at 22:01 +0100, ext Grazvydas Ignotas wrote: On Wed, Jan 13, 2010 at 5:02 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, This doesn't apply, can you resend based on Linus' tree or my

issue with panel drivers in DSS2

2010-01-14 Thread Grazvydas Ignotas
Hi, there is an issue related to panel drivers: even if panel driver provides get_rotate/set_rotate and/or get_mirror/set_mirror functions, those cannot be accessed over sysfs, even though corresponding entries are created in omapdss/displayX. This is because panel driver fills omap_dss_driver

Re: [PATCH] omap3: pandora: add DSS2 support and related regulators

2010-01-13 Thread Grazvydas Ignotas
On Wed, Jan 13, 2010 at 5:02 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, This doesn't apply, can you resend based on Linus' tree or my DSS2 tree? ok, will resend shortly. BTW, what about enabling vdds_dsi/vdds_sdi regulators we talked about earlier? This patch already sets up those

[PATCHv2] OMAP: pandora: add DSS2 support and related regulators

2010-01-13 Thread Grazvydas Ignotas
This patch adds configuration data for DSS2 and sets up display related regulators. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/mach-omap2/board-omap3pandora.c | 109 ++ 1 files changed, 109 insertions(+), 0 deletions(-) diff --git a/arch/arm

Re: [PATCH 3/6] Regulator: Use common regulator supplies and init data structs

2010-01-12 Thread Grazvydas Ignotas
On Tue, Jan 12, 2010 at 8:40 AM, Aggarwal, Anuj anuj.aggar...@ti.com wrote: Your common supply file has VMMC2 supply configured for 1.8V which is wrong for pandora (it uses 3.1V because it has a transceiver attached to MMC2 that handles level shifting transparently). I think you should leave

Re: [PATCH 09/15] MAINTAINERS: Combine DSS2 and OMAPFB2 into one entry

2010-01-11 Thread Grazvydas Ignotas
On Fri, Jan 8, 2010 at 3:22 PM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: There isn't really any reason to divide those. Signed-off-by: Tomi Valkeinen tomi.valkei...@nokia.com ---  MAINTAINERS |   13 ++---  1 files changed, 2 insertions(+), 11 deletions(-) diff --git

Re: [PATCH 3/6] Regulator: Use common regulator supplies and init data structs

2010-01-11 Thread Grazvydas Ignotas
On Fri, Jan 8, 2010 at 7:57 PM, Anuj Aggarwal anuj.aggar...@ti.com wrote: Common TWL4030 specific regulator supplies and init data structs are used instead of platform specific ones. Only one copy of the common structs will be included in the image, built for multiple OMAP3 based platforms.

Re: [PATCH 05/12] omap1: Add 7xx clocks and pin muxes for SPI

2010-01-07 Thread Grazvydas Ignotas
snip diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 23ded2d..17ebb47 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c @@ -14,6 +14,7 @@  #include linux/init.h  #include linux/platform_device.h  #include linux/io.h +#include

[PATCH] OMAP: DSS: add TPO TD043MTEA1 panel

2009-12-11 Thread Grazvydas Ignotas
Add support of TPO TD043MTEA1 TFT LCD panel to DSS2 driver. This panel is used by OMAP3 Pandora device. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- drivers/video/omap2/displays/Kconfig |6 + drivers/video/omap2/displays/Makefile |1 + .../video/omap2

[PATCH] omap3: pandora: add DSS2 support and related regulators

2009-12-11 Thread Grazvydas Ignotas
This patch adds configuration data for DSS2 and sets up display related regulators. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- This patch depends on 'omap3: pandora: board file updates for .33' in Tony's queue. arch/arm/mach-omap2/board-omap3pandora.c | 109

Re: DSS2 and power supplies

2009-12-10 Thread Grazvydas Ignotas
On Thu, Dec 10, 2009 at 3:23 PM, Hiremath, Vaibhav hvaib...@ti.com wrote: snip To me the fig 15-1 does not tell that the powers are needed. The DSS_DATA[] pins do not come from SDI/DSI blocks, but from the main DSS block. And the pin muxing component is outside also. This of course

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-10 Thread Grazvydas Ignotas
On Thu, Dec 3, 2009 at 1:03 PM, Felipe Balbi felipe.ba...@nokia.com wrote: Hi, On Thu, Dec 03, 2009 at 11:55:12AM +0100, ext Grazvydas Ignotas wrote: TPS65950 is catalog part of TWL4030 and has documentation here: http://focus.ti.com/docs/prod/folders/print/tps65950.html#technicaldocuments

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-10 Thread Grazvydas Ignotas
On Thu, Dec 10, 2009 at 6:51 PM, Felipe Balbi felipe.ba...@nokia.com wrote: Hi, On Thu, Dec 10, 2009 at 03:44:11PM +0100, ext Anton Vorontsov wrote: Yep. The only thing I'm afraid of is that once the driver is in, then nobody will bother with improving it to do the right thing. But an

Re: DSS2 and power supplies

2009-12-07 Thread Grazvydas Ignotas
On Mon, Dec 7, 2009 at 10:44 AM, Tomi Valkeinen tomi.valkei...@nokia.com wrote: Hi, On Fri, 2009-12-04 at 11:53 +0100, ext Grazvydas Ignotas wrote: hi, it seems DSS block in OMAP needs SDI/DSI supplies to operate properly even with parallel displays, or else it doesn't drive some data lines

Re: [PATCH] omap: pandora: board file updates for .33

2009-12-06 Thread Grazvydas Ignotas
On Sun, Dec 6, 2009 at 1:10 AM, Felipe Balbi m...@felipebalbi.com wrote: Hi, On Sat, 2009-12-05 at 20:44 +0200, Grazvydas Ignotas wrote:  static struct omap_board_config_kernel omap3pandora_config[] __initdata = { -     { OMAP_TAG_LCD,         omap3pandora_lcd_config },  }; if you don't

[PATCH] omap: pandora: board file updates for .33

2009-12-05 Thread Grazvydas Ignotas
on l-o or mainline kernels due to missing panel driver, so remove unneeded pandora_lcd platform_device. This also removes last OMAP_TAG from the board file. LCD support will be added for DSS2 driver. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- I can split this if needed, but I

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-03 Thread Grazvydas Ignotas
On Thu, Dec 3, 2009 at 10:39 AM, Felipe Balbi felipe.ba...@nokia.com wrote: Hi, On Wed, Dec 02, 2009 at 11:59:22PM +0100, ext Anton Vorontsov wrote: On Thu, Dec 03, 2009 at 12:31:56AM +0200, Felipe Balbi wrote: Hi, On Wed, Dec 02, 2009 at 10:54:42PM +0100, ext Anton Vorontsov wrote: As

Re: [PATCH 1/4]: OMAP: ZOOM: Introducing 'board-zoom-flash.c' for NAND init in ZOOM boards

2009-12-03 Thread Grazvydas Ignotas
On Thu, Dec 3, 2009 at 4:15 PM, Vimal Singh vimal.neww...@gmail.com wrote: From 948584f4157a9eb99ba085968d23add28cbfd160 Mon Sep 17 00:00:00 2001 From: Vimal Singh vimalsi...@ti.com Date: Tue, 1 Dec 2009 11:36:56 +0530 Subject: [PATCH] OMAP: ZOOM: Introducing 'board-zoom-flash.c' This patch

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Grazvydas Ignotas
On Wed, Dec 2, 2009 at 7:33 PM, Felipe Balbi felipe.ba...@nokia.com wrote: Hi, On Fri, Nov 27, 2009 at 03:44:20PM +0100, ext Grazvydas Ignotas wrote: diff --git a/drivers/power/Makefile b/drivers/power/Makefile index b96f29d..9cea9b5 100644 --- a/drivers/power/Makefile +++ b/drivers/power

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Grazvydas Ignotas
On Mon, Nov 30, 2009 at 8:58 PM, Anton Vorontsov avoront...@ru.mvista.com wrote: On Mon, Nov 30, 2009 at 12:45:20PM -0600, Madhusudhan wrote: [...] +   case POWER_SUPPLY_PROP_VOLTAGE_NOW: +           /* charging must be active for meaningful result */ +           if (!is_charging) { How

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Grazvydas Ignotas
On Wed, Dec 2, 2009 at 10:49 PM, Felipe Balbi felipe.ba...@nokia.com wrote: Hi, On Wed, Dec 02, 2009 at 09:34:00PM +0100, ext Grazvydas Ignotas wrote: +#define BCI_DELAY              100 100ms ??? that's too quick for battery monitoring. Imagine that you'll have 10 i2c transfers per

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-12-02 Thread Grazvydas Ignotas
On Wed, Dec 2, 2009 at 11:27 PM, Anton Vorontsov avoront...@ru.mvista.com wrote: On Wed, Dec 02, 2009 at 10:38:31PM +0200, Grazvydas Ignotas wrote: On Mon, Nov 30, 2009 at 8:58 PM, Anton Vorontsov avoront...@ru.mvista.com wrote: On Mon, Nov 30, 2009 at 12:45:20PM -0600, Madhusudhan wrote

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-11-30 Thread Grazvydas Ignotas
On Mon, Nov 30, 2009 at 8:45 PM, Madhusudhan madhu...@ti.com wrote: -Original Message- From: Grazvydas Ignotas [mailto:nota...@gmail.com] Sent: Friday, November 27, 2009 8:44 AM To: linux-ker...@vger.kernel.org Cc: Anton Vorontsov; Madhusudhan Chikkature; linux-omap@vger.kernel.org

[PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-11-27 Thread Grazvydas Ignotas
TWL4030/TPS65950 is a multi-function device with integrated charger, which allows charging from AC or USB. This driver enables the charger and provides several monitoring functions. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- For this driver to work, TWL4030-core needs to be patched

Re: [PATCH] power_supply: Add driver for TWL4030/TPS65950 BCI charger

2009-11-27 Thread Grazvydas Ignotas
On Fri, Nov 27, 2009 at 4:54 PM, Anton Vorontsov avoront...@ru.mvista.com wrote: On Fri, Nov 27, 2009 at 04:44:20PM +0200, Grazvydas Ignotas wrote: TWL4030/TPS65950 is a multi-function device with integrated charger, which allows charging from AC or USB. This driver enables the charger

Re: DSS2 panel question

2009-11-25 Thread Grazvydas Ignotas
On Mon, Nov 23, 2009 at 7:41 PM, TAO HU tgh...@motorola.com wrote: Hi, One idea as below struct spi_dss_device { struct omap_dss_device dss_dev; struct spi_dss_dev_priv  * spi_data; } spi_dss_dev; Hm, omap_dss_register_device() takes omap_dss_driver, not

Re: [PATCH] omap: update Pandora defconfig

2009-11-09 Thread Grazvydas Ignotas
On Mon, Nov 9, 2009 at 11:24 PM, Tony Lindgren t...@atomide.com wrote: * Grazvydas Ignotas nota...@gmail.com [091107 14:32]: This patch updates defconfig to enable options needed to properly boot OMAP3 pandora board. It also enables MMC, OTG, GPIO LEDs, TWL4030 GPIO and sound drivers. Could

[PATCH] omap: update Pandora defconfig

2009-11-07 Thread Grazvydas Ignotas
This patch updates defconfig to enable options needed to properly boot OMAP3 pandora board. It also enables MMC, OTG, GPIO LEDs, TWL4030 GPIO and sound drivers. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/configs/omap3_pandora_defconfig | 474

Re: [PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

2009-10-23 Thread Grazvydas Ignotas
On Fri, Oct 23, 2009 at 2:09 AM, Kevin Hilman khil...@deeprootsystems.com wrote: From: Tero Kristo tero.kri...@nokia.com For HS/EMU devices, these additional features are also used: - DMA interrupt disable routine added - Added DMA controller reset to DMA context restore Signed-off-by:

Re: [PATCH 2/2] OMAP: remove OMAP_TAG_UART

2009-08-24 Thread Grazvydas Ignotas
On Mon, Aug 24, 2009 at 10:41 AM, Kevin Hilmankhil...@deeprootsystems.com wrote: Kalle Valo kalle.v...@iki.fi writes: Omap tags are deprecrated and convert all OMAP_TAG_UART cases to use omap_uart_platform_data instead. Tested on rx51 and n8x0. Compile tested on omap_osk_5912.

[PATCH] OMAP3: update Pandora defconfig

2009-08-13 Thread Grazvydas Ignotas
This patch enables MMC, EHCI, OTG, GPIO LEDs, TWL4030 GPIO and sound drivers in Pandora's defconfig. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- FYI, OMAP3: defconfigs: remove SYSFS_DEPRECATED flag still applies cleanly after this. arch/arm/configs/omap3_pandora_defconfig | 401

Re: [PATCH 2/2] OMAP: remove OMAP_TAG_UART

2009-08-07 Thread Grazvydas Ignotas
On Fri, Aug 7, 2009 at 9:03 AM, Kalle Valokalle.v...@iki.fi wrote: Pandita, Vikram vikram.pand...@ti.com writes: Omap tags are deprecrated and convert all OMAP_TAG_UART cases to use omap_uart_platform_data instead. Tested on rx51 and n8x0. Compile tested on omap_osk_5912. Signed-off-by: Kalle

Re: MMC3 Overo

2009-08-05 Thread Grazvydas Ignotas
u-boot_snip  MUX_VAL(CP(ETK_CLK_ES2),       (IDIS | PTU | EN  | M2)) /*MMC3_CLK*/\ You must have input enable on CLK line for MMC3 or it won't work for some reason (MMC 1 and 2 doesn't need that). Without this part of the host controller hardware doesn't get the clock I guess, or something like

Re: USB charging over TPS65950 BCI

2009-08-02 Thread Grazvydas Ignotas
On Fri, Jul 31, 2009 at 4:49 PM, pramod guravpramodfo...@gmail.com wrote: Hi All, I was trying to get the USB battery charging working over TPS65950 BCI on the OMAP3430 custom board. I am working with linux-omap-2.6 v2.6.28-omap1 tag. I enabled the TWL4030 MADC and TWL4030 BCI drivers. I

Re: OMAP3xxx hsmmc : MMC3 doesn't work, always times out?

2009-06-11 Thread Grazvydas Ignotas
On Thu, Jun 11, 2009 at 10:43 AM, Hugo Vincenthugo.vinc...@gmail.com wrote: On 11/06/2009, at 6:08 PM, Peter Barada wrote: On Thu, 2009-06-11 at 15:35 +1200, Hugo Vincent wrote: On Thu, Jun 11, 2009 at 2:39 PM, Pandita, Vikramvikram.pand...@ti.com wrote: Hugo -Original Message-

Re: [RFC][PATCH] OMAP3: add support for 2 SDRAM chip selects (was: Re: Beagleboard rev C memory timings suspend/resume)

2009-06-08 Thread Grazvydas Ignotas
omap3pandora_map_io(void) -- 1.6.2.5.168.g3823 On Saturday 06 June 2009 12:50:42 Grazvydas Ignotas wrote: On Fri, Jun 5, 2009 at 10:14 PM, Paul Walmsleyp...@pwsan.com wrote: Hi Jean, On Fri, 5 Jun 2009, Jean Pihet wrote: Some notes: - all calls to omap2_init_common_hw have been

Re: [RFC][PATCH] OMAP3: add support for 2 SDRAM chip selects (was: Re: Beagleboard rev C memory timings suspend/resume)

2009-06-06 Thread Grazvydas Ignotas
On Fri, Jun 5, 2009 at 10:14 PM, Paul Walmsleyp...@pwsan.com wrote: Hi Jean, On Fri, 5 Jun 2009, Jean Pihet wrote: Some notes: - all calls to omap2_init_common_hw have been adapted in the board files. it looks like 2430SDP and Pandora board files are broken since they use only one param.

[PATCH] ARM: OMAP3: pandora: add support for mode devices

2009-05-27 Thread Grazvydas Ignotas
Add support for keypad, GPIO keys and LEDs. Also enable hardware debounce feature for GPIO keys. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- This patch was somehow left out, so Tony suggested posting it directly here. arch/arm/mach-omap2/board-omap3pandora.c | 149

Re: [PATCH] OMAP: UART: don't initialize membase and mapbase when its port is not enabled

2009-05-14 Thread Grazvydas Ignotas
2009/5/14 Kim Kyuwon chamm...@gmail.com: Hi All, We are using two UARTs port in OMAP3430 board shown as following  UART 1 - not used  UART 2 - BT  UART 3 - console (console=ttyS2,115200n8 in 'bootargs' of bootloader) Because we are not using UART port 1, I configured our board file as

[PATCH] pandora: add support for keypad, GPIO keys and LEDs

2009-05-10 Thread Grazvydas Ignotas
Also enable hardware debounce feature for GPIO keys. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- arch/arm/mach-omap2/board-omap3pandora.c | 148 ++ 1 files changed, 148 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b

[PATCH] mmc-twl4030: use correct controller in twl_mmc23_set_power

2009-05-01 Thread Grazvydas Ignotas
twl_mmc23_set_power() has MMC2 twl_mmc_controller hardcoded in it, which breaks MMC3. Find the right controller to use instead. Signed-off-by: Grazvydas Ignotas nota...@gmail.com Cc: David Brownell davi...@pacbell.net --- arch/arm/mach-omap2/mmc-twl4030.c | 13 - 1 files changed

Re: Overo broken with current top of tree

2009-04-30 Thread Grazvydas Ignotas
On Wed, Apr 29, 2009 at 7:03 PM, Steve Sakoman sako...@gmail.com wrote: I tried an Overo build from the current top of tree and ran into a number of twl4030 platform data errors: twl4030: PIH (irq 7) chaining IRQs 368..375 twl4030: power (irq 373) chaining IRQs 376..383 twl4030_gpio: use

Re: dss2 and dsi

2009-04-30 Thread Grazvydas Ignotas
On Wed, Apr 29, 2009 at 8:26 PM, Rebecca Schultz Zavin rebe...@android.com wrote: I have a question on the intended use of pan_display v. the update_window ioctl in dss2.  I'm using a dsi panel and it seems like the only way I can get new data out to the display is by calling display-update.  

Re: [rft/rfc/patch-v2.6.29-rc5+ 00/23] ehci cleanup series

2009-04-27 Thread Grazvydas Ignotas
On Mon, Feb 23, 2009 at 9:55 PM, Felipe Balbi m...@felipebalbi.com wrote: Hi all, Please give the following patches a good test. I don't have hw to test them so any comments will be really welcome. We still have lots to do before getting this driver upstream, let's try to keep track of our

Card detect IRQ errors

2009-04-27 Thread Grazvydas Ignotas
With current l-o head when I insert or remove SD card I'm getting this: [ 20.733489] [ cut here ] [ 20.738159] WARNING: at kernel/irq/handle.c:366 handle_IRQ_event+0x4c/0x14c() [ 20.745330] BUG: IRQ handler called from non-hardirq context!Modules linked in: [

[PATCH] OMAP: pandora: setup regulator framework for MMC

2009-04-26 Thread Grazvydas Ignotas
Setup regulators for MMC1 and MMC2 to get those SD slots working again. Signed-off-by: Grazvydas Ignotas nota...@gmail.com CC: David Brownell davi...@pacbell.net --- arch/arm/mach-omap2/board-omap3pandora.c | 45 ++ 1 files changed, 45 insertions(+), 0 deletions

Re: [PATCH 07/12] ARM: OMAP3: mmc-twl4030 add MMC3 support

2009-03-15 Thread Grazvydas Ignotas
On Sun, Mar 15, 2009 at 6:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Mar 10, 2009 at 02:10:00PM -0700, Tony Lindgren wrote: ... Array size for hsmmc[] is specified because hsmmc[2].name is needed for MMC3 name. I see nothing in this patch which requires that.

Re: [PATCH] Add new C state

2009-03-13 Thread Grazvydas Ignotas
On Tue, Mar 10, 2009 at 6:01 PM, Peter 'p2' De Schrijver peter.de-schrij...@nokia.com wrote: This patch introduces a new C state which allows MPU to go to WFI but keeps the core domain active. This offers a much better wakeup latency (3us vs 10s of us for the current C1) at the cost of a higher

Re: [rft/rfc/patch-v2.6.29-rc5+ 00/23] ehci cleanup series

2009-02-24 Thread Grazvydas Ignotas
hi, On Mon, Feb 23, 2009 at 8:52 PM, Felipe Balbi m...@felipebalbi.com wrote: Hi all, Please give the following patches a good test. I don't have hw to test them so any comments will be really welcome. We still have lots to do before getting this driver upstream, let's try to keep track of

Re: [rft/rfc/patch-v2.6.29-rc5+ 16/23] usb: host: ehci: add platform_data

2009-02-24 Thread Grazvydas Ignotas
On Mon, Feb 23, 2009 at 8:55 PM, Felipe Balbi m...@felipebalbi.com wrote: Adding a platform_data to the driver allow us to remove some of the ifdeferry in the code. snip diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c index b8a78c0..08215c0

Re: [rft/rfc/patch-v2.6.29-rc5+ 17/23] usb: host: ehci: fix register definitions

2009-02-24 Thread Grazvydas Ignotas
On Mon, Feb 23, 2009 at 8:55 PM, Felipe Balbi m...@felipebalbi.com wrote: Make the register definitions in ehci-omap.c more sane. Also change the parameter passed omap_start/stop_ehc(). Signed-off-by: Felipe Balbi m...@felipebalbi.com ---  drivers/usb/host/ehci-omap.c |  219

Re: McSPI3 on the BeagleBoard

2009-02-20 Thread Grazvydas Ignotas
- MUX setup for USB ehci has never worked in the kernel. It's why the beagleaboard rev-C ehci patch has been transfered to u-boot. Do you have CONFIG_OMAP_MUX enabled? It's disabled in beagle's defconfig. -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a

Re: omapfb: 24bpp not working?

2009-02-12 Thread Grazvydas Ignotas
On Thu, Feb 12, 2009 at 11:50 AM, Matthias Ludwig matthias.lud...@gmx.net wrote: Hi all, I selected a 1024x768x24bpp in the drivers/video/omap/lcd_xxx file for a new platform (very similar to OMAP3EVM) which has a display connected to the CPU using a LVDS-transmitter. Everything works find,

Re: MMC not working on 3430SDP

2009-02-03 Thread Grazvydas Ignotas
On Tue, Feb 3, 2009 at 1:21 PM, kishore kadiyala kishore.kadiy...@ti.com wrote: Hi , On 3430 SDP , the MMC card insertion and removal is not working on the linux -omap tree ! It seems like interrupts are not getting triggered on Card insertion removal ! I wonder if it has to do

[PATCH] hsmmc: Add MMC3 support

2009-01-27 Thread Grazvydas Ignotas
. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- This patch applies on top of David Brownel's recent 2 patches. arch/arm/mach-omap2/board-omap3pandora.c |6 ++ arch/arm/mach-omap2/mmc-twl4030.c| 18 -- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git

[PATCH] OMAP HSMMC: fix MMC3 dma

2009-01-27 Thread Grazvydas Ignotas
Data transfers on third OMAP3 MMC controller don't work because DMA line numbers are only defined for MMC1 and MMC2. Fix that and store line numbers in mmc_omap_host structure to reduce code size. Tested on OMAP3 pandora board. Signed-off-by: Grazvydas Ignotas nota...@gmail.com --- drivers/mmc

Re: [PATCH] OMAP HSMMC: fix MMC3 dma

2009-01-27 Thread Grazvydas Ignotas
On Tue, Jan 27, 2009 at 2:02 PM, Adrian Hunter ext-adrian.hun...@nokia.com wrote: Grazvydas Ignotas wrote: Data transfers on third OMAP3 MMC controller don't work because DMA line numbers are only defined for MMC1 and MMC2. Fix that and store line numbers in mmc_omap_host structure to reduce

Re: status of USB on omap35xx ?

2008-12-12 Thread Grazvydas Ignotas
On Fri, Dec 12, 2008 at 1:09 AM, Paul Walmsley p...@pwsan.com wrote: Hello Grazvydas, On Fri, 12 Dec 2008, Grazvydas Ignotas wrote: On Thu, Dec 11, 2008 at 11:07 PM, Paul Walmsley p...@booyaka.com wrote: Gravyzdas, can you send us a commit ID that results in successful device enumeration

Re: status of USB on omap35xx ?

2008-12-12 Thread Grazvydas Ignotas
On Fri, Dec 12, 2008 at 10:35 PM, Steve Sakoman sako...@gmail.com wrote: On Fri, Dec 12, 2008 at 12:15 PM, Grazvydas Ignotas nota...@gmail.com wrote: On Fri, Dec 12, 2008 at 7:59 PM, Steve Sakoman sako...@gmail.com wrote: What PHY chip are you using on Pandora? From the schematic it appears

Re: status of USB on omap35xx ?

2008-12-11 Thread Grazvydas Ignotas
Can you please post whatever patches you need to apply to make it work occasionally so others can also look at the issue? For pandora, making infinite while loops finite doesn't help much, kernel crashes later on. Steve had this too: http://marc.info/?l=linux-omapm=122378604027303w=2 I did

Re: status of USB on omap35xx ?

2008-12-11 Thread Grazvydas Ignotas
On Thu, Dec 11, 2008 at 7:38 PM, Steve Sakoman sako...@gmail.com wrote: On Thu, Dec 11, 2008 at 8:49 AM, Paul Walmsley p...@booyaka.com wrote: Hi Grazvydas, Steve, On Thu, 11 Dec 2008, Grazvydas Ignotas wrote: Can you please post whatever patches you need to apply to make it work

[PATCH 1/2] Add support for GPIO LEDs on pandora

2008-11-27 Thread Grazvydas Ignotas
Pandora has some LEDs and backlights connected to OMAP GPIOs and TWL4030/TPS65950 LED/PWM signals. This patch registers them all with leds-gpio driver. TWL4030/TPS65950 controlled ones will be switched to PWM driver when it's ready. Signed-off-by: Grazvydas Ignotas [EMAIL PROTECTED] --- arch/arm

Re: PWM drivers for TWL4030

2008-11-26 Thread Grazvydas Ignotas
On Wed, Nov 26, 2008 at 3:42 AM, David Brownell [EMAIL PROTECTED] wrote: On Tuesday 25 November 2008, Grazvydas Ignotas wrote: If they're using the LEDA or LEDB PWMs, providing and exporting a brightness control would be easy. If they're using the other two PWMs, it'd be more work

PWM drivers for TWL4030

2008-11-25 Thread Grazvydas Ignotas
Hi, TWL4030 and compatibles have 2 pulse-width modulation (PWM) generators (PWM0 and PWM1). They are used for backlight control and charger LED in pandora board. I wasn't able to find any drivers for them in linux-omap tree. Is there anyone working on these? If not, what would be the proper way

Re: [PATCH 5/9] OMAP: HSMMC: Fix oops in omap_mmc_remove

2008-11-21 Thread Grazvydas Ignotas
On Fri, Nov 21, 2008 at 5:27 PM, Jarkko Lavinen [EMAIL PROTECTED] wrote: On Fri, Nov 21, 2008 at 04:03:25PM +0200, ext Grazvydas Ignotas wrote: ... Also, HCTL SDVSDET bit will never be set for MMC2 and MMC3, causing mentioned omap_mmc_switch_opcond() to be called unconditionally here

Re: [PATCH 1/2] HSMMC: Make loopback clock configurable

2008-11-14 Thread Grazvydas Ignotas
On Fri, Nov 14, 2008 at 8:41 AM, Steve Sakoman [EMAIL PROTECTED] wrote: On Thu, Nov 13, 2008 at 3:06 PM, Tony Lindgren [EMAIL PROTECTED] wrote: * Grazvydas Ignotas [EMAIL PROTECTED] [081113 13:40]: Some boards use input clock from external pin for MMC/SDIO modules in OMAP chips. Make

<    1   2   3   4   5   >