Re: [PATCH v10 05/18] OMAP2,3 DSS2 Change driver name to omap_display

2011-02-27 Thread archit taneja
Hi, On Monday 28 February 2011 12:49 PM, Valkeinen, Tomi wrote: On Mon, 2011-02-28 at 01:09 -0600, Taneja, Archit wrote: Hi, On Monday 28 February 2011 12:23 PM, Valkeinen, Tomi wrote: On Thu, 2011-02-24 at 03:27 -0600, Tomi Valkeinen wrote: Hi, On Mon, 2011-01-24 at 11:51 +0530, ext Sumit

Re: [PATCH 5/8] omap3: pm: TWL5030 version checking

2011-02-27 Thread Krishnamoorthy, Balaji T
On Sat, Feb 26, 2011 at 5:55 PM, Lesly A M wrote: Minor comment you missed version number in subject. > +/** > + * twl_get_si_type - api to get TWL Si type. > + * > + * Api to get the TWL Si type from IDCODE value. > + */ > +int twl_get_si_type(void) > +{ > +       return TWL_SIL_TYPE(twl_idco

Re: [PATCH v10 05/18] OMAP2,3 DSS2 Change driver name to omap_display

2011-02-27 Thread Tomi Valkeinen
On Mon, 2011-02-28 at 01:09 -0600, Taneja, Archit wrote: > Hi, > > On Monday 28 February 2011 12:23 PM, Valkeinen, Tomi wrote: > > On Thu, 2011-02-24 at 03:27 -0600, Tomi Valkeinen wrote: > >> Hi, > >> > >> On Mon, 2011-01-24 at 11:51 +0530, ext Sumit Semwal wrote: > >>> From: Senthilvadivu Gurusw

RE: omap: pm: assumptions on TWL and SmartReflex.

2011-02-27 Thread Vishwanath Sripathy
Sanjeev, > -Original Message- > From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- > ow...@vger.kernel.org] On Behalf Of Menon, Nishanth > Sent: Thursday, February 24, 2011 12:02 AM > To: Premi, Sanjeev > Cc: linux-omap@vger.kernel.org > Subject: Re: omap: pm: assumptions on TWL an

Re: [PATCH v10 05/18] OMAP2,3 DSS2 Change driver name to omap_display

2011-02-27 Thread archit taneja
Hi, On Monday 28 February 2011 12:23 PM, Valkeinen, Tomi wrote: On Thu, 2011-02-24 at 03:27 -0600, Tomi Valkeinen wrote: Hi, On Mon, 2011-01-24 at 11:51 +0530, ext Sumit Semwal wrote: From: Senthilvadivu Guruswamy Change the driver name from omapdss to omap_display as the driver takes care o

Re: [PATCH v10 05/18] OMAP2,3 DSS2 Change driver name to omap_display

2011-02-27 Thread Tomi Valkeinen
On Thu, 2011-02-24 at 03:27 -0600, Tomi Valkeinen wrote: > Hi, > > On Mon, 2011-01-24 at 11:51 +0530, ext Sumit Semwal wrote: > > From: Senthilvadivu Guruswamy > > > > Change the driver name from omapdss to omap_display as the driver takes > > care of > > the display devices ie number of panels

Re: [PATCH 5/8] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS drivers interface

2011-02-27 Thread Tomi Valkeinen
On Mon, 2011-02-28 at 00:30 -0600, K, Mythri P wrote: > Hi Tomi, > > On Mon, Feb 28, 2011 at 11:57 AM, Tomi Valkeinen > wrote: > > On Mon, 2011-02-28 at 00:11 -0600, K, Mythri P wrote: > >> Hi Tomi, > >> > >> On Sun, Feb 27, 2011 at 3:47 PM, Tomi Valkeinen > >> wrote: > > > >> >> + * HDMI inte

[PATCH 3/3] OMAP2PLUS: DSS2: DSI: Generalize DSI PLL Clock Naming

2011-02-27 Thread Archit Taneja
DSI PLL output clock names have been made more generic. The clock name describes what the source of the clock and what clock is used for. Some of DSI PLL parameters like dividers and DSI PLL source have also been made more generic. dsi1_pll_fclk and dsi2_pll_fclk have been changed as dsi_pll_hsdiv

[PATCH 2/3] OMAP2PLUS: DSS2: Use dss features to get clock source names of current OMAP

2011-02-27 Thread Archit Taneja
Clock source names vary across OMAP2/3 and OMAP4, the clock source enum names have been made generic in the driver, but for purposes of debugging and dumping clock sources, it is better to preserve the actual TRM name of the clock. Introduce a dss feature function 'dss_feat_get_clk_source_name()'

[PATCH 1/3] OMAP2PLUS: DSS2: Make members of dss_clk_source generic

2011-02-27 Thread Archit Taneja
The enum members of 'dss_clk_source' have clock source names specific to OMAP2/3. Change the names to more generic terms such that they now describe where the clocks come from and what they are used for. Also, change the enum member names to have "DSS_CLK_SRC" instead of "DSS_SRC" for more clarity

[PATCH 0/3] OMAP: DSS2: Generalize DSS clock source names

2011-02-27 Thread Archit Taneja
The OMAP Display Subsystem has multiple clock sources available for its modules. One of these sources has to be selected through a global control register called DSS_CTRL. For example, on OMAP4, the Display Controller Module's (DISPC) functional clock can be derived from: a) output of DPLL_PER's M

Re: [PATCH 3/8] OMAP4 : DSS : HDMI: HDMI specific display controller and dss change.

2011-02-27 Thread Tomi Valkeinen
On Mon, 2011-02-28 at 00:21 -0600, K, Mythri P wrote: > Hi Tomi, > > On Sun, Feb 27, 2011 at 2:53 PM, Tomi Valkeinen wrote: > > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > >> Adding changes to set gamma table bit for TV interface and function to > >> select > >> between VENC and HDMI

[PATCH] OMAP: DSS2: Use dss features to provide the max fck supported

2011-02-27 Thread Archit Taneja
The maximum supported frequency for DSS has increased from 173 to 186 Mhz on OMAP4. Introduce a dss feature function to get the max_fck to replace DISPC_MAX_FCK macro. Signed-off-by: Archit Taneja --- Note: Patch can be tested on: http://dev.omapzoom.org/?p=axelcx/kernel-display.git;a=shortlog;h

[PATCH] OMAP: DSS2: Use dss_features for DISPC overlay code cleanup

2011-02-27 Thread Archit Taneja
Add dss_features and register fields to incorporate changes in DISPC pipelines between OMAP3 and OMAP4. Register fields added: FEAT_REG_HORIZONTALACCU, FEAT_REG_VERTICALACCU DSS Features added: FEAT_LINEBUFFERSPLIT, FEAT_ROWREPEATENABLE, FEAT_RESIZECONF _dispc_set_scaling() and _dispc_set_rotatio

Re: [PATCH 5/8] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS drivers interface

2011-02-27 Thread K, Mythri P
Hi Tomi, On Mon, Feb 28, 2011 at 11:57 AM, Tomi Valkeinen wrote: > On Mon, 2011-02-28 at 00:11 -0600, K, Mythri P wrote: >> Hi Tomi, >> >> On Sun, Feb 27, 2011 at 3:47 PM, Tomi Valkeinen >> wrote: > >> >> + * HDMI interface DSS driver setting for TI's OMAP4 family of processor. >> >> + * Copyri

Re: [PATCH 1/1] twl4030_charger: Make the driver atomic notifier safe

2011-02-27 Thread Heikki Krogerus
On Sat, Feb 26, 2011 at 07:53:03PM +0200, ext Grazvydas Ignotas wrote: > On Fri, Feb 25, 2011 at 1:56 PM, Heikki Krogerus > wrote: > > This queues work from the otg notification where the > > i2c operations can be safely made. Needed for atomic otg > > notifiers. > > > > Signed-off-by: Heikki Krog

Re: [PATCH 5/8] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS drivers interface

2011-02-27 Thread Tomi Valkeinen
On Mon, 2011-02-28 at 00:11 -0600, K, Mythri P wrote: > Hi Tomi, > > On Sun, Feb 27, 2011 at 3:47 PM, Tomi Valkeinen wrote: > >> + * HDMI interface DSS driver setting for TI's OMAP4 family of processor. > >> + * Copyright (C) 2010-2011 Texas Instruments Incorporated - > >> http://www.ti.com/ >

Re: [PATCH 3/8] OMAP4 : DSS : HDMI: HDMI specific display controller and dss change.

2011-02-27 Thread K, Mythri P
Hi Tomi, On Sun, Feb 27, 2011 at 2:53 PM, Tomi Valkeinen wrote: > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: >> Adding changes to set gamma table bit for TV interface and function to select >> between VENC and HDMI. >> >> Signed-off-by: Mythri P K >> --- >>  drivers/video/omap2/dss/di

Re: [PATCH 6/8] OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS

2011-02-27 Thread K, Mythri P
Hi Tomi, I shall add per device lock and make the lock consistent , as audio can also call these functions. Thanks and regards, Mythri. On Sun, Feb 27, 2011 at 3:13 PM, Tomi Valkeinen wrote: > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: >> The panel driver(hdmi_omap4_panel.c) in dss fi

Re: [PATCH 5/8] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS drivers interface

2011-02-27 Thread K, Mythri P
Hi Tomi, On Sun, Feb 27, 2011 at 3:47 PM, Tomi Valkeinen wrote: > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: >> Adding the hdmi interface driver(hdmi.c) to the dss driver. >> It configures the audio and video portion of HDMI in the >> display header file to be accessed by the panels. >

[PATCH 2/2 v3] mfd: twl4030: Driver for twl4030 madc module

2011-02-27 Thread Keerthy
Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring ADC. This driver monitors the real time conversion of analog signals like battery temperature, battery cuurent etc. Signed-off-by: Keerthy --- V3: Added for_each_set_bit for efficient bit checking and locking the mutex e

[PATCH 1/2 v3] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-27 Thread Keerthy
This driver exposes the sysfs nodes of the TWL4030 MADC module. All the voltage channel values are expressed in terms of mV. Channel 13 and channel 14 are reserved. There are channels which represent temperature and current the output is represented by celcius and mA respectively. Signed-off-by: K

[PATCH 0/2 v3] twl4030-madc driver

2011-02-27 Thread Keerthy
MADC(Monitoring ADC) driver enables monitoring analog signals using analog-to-digital conversion (ADC) on the input source. The previous discussion concluded in keeping the generic ADC functionality and the hwmon separate. The discussion can be found here: http://www.mail-archive.com/linux-omap@vg

Re: [PATCH 0/1] power_supply: twl4030_charger modification

2011-02-27 Thread Heikki Krogerus
On Sat, Feb 26, 2011 at 08:10:17PM +0200, ext Grazvydas Ignotas wrote: > On Fri, Feb 25, 2011 at 2:12 PM, Felipe Balbi wrote: > > On Fri, Feb 25, 2011 at 01:56:35PM +0200, Heikki Krogerus wrote: > >> Hi guys, > >> > >> Grazvydas, I don't have hardware to test this with. If this is OK to > >> you,

[PATCH 2/2 v3] mfd: twl4030: Driver for twl4030 madc module

2011-02-27 Thread Keerthy
Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring ADC. This driver monitors the real time conversion of analog signals like battery temperature, battery cuurent etc. Signed-off-by: Keerthy --- V3: Added for_each_set_bit for efficient bit checking and locking the mutex e

[PATCH 1/2 v3] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-27 Thread Keerthy
This driver exposes the sysfs nodes of the TWL4030 MADC module. All the voltage channel values are expressed in terms of mV. Channel 13 and channel 14 are reserved. There are channels which represent temperature and current the output is represented by celcius and mA respectively. Signed-off-by: K

[PATCH 0/2 v3] twl4030-madc driver

2011-02-27 Thread Keerthy
MADC(Monitoring ADC) driver enables monitoring analog signals using analog-to-digital conversion (ADC) on the input source. The previous discussion concluded in keeping the generic ADC functionality and the hwmon separate. The discussion can be found here: http://www.mail-archive.com/linux-omap@vg

Re: [PATCH 4/8] OMAP4 : DSS : HDMI: HDMI driver header file addition

2011-02-27 Thread K, Mythri P
Hi Tomi, On Sun, Feb 27, 2011 at 2:58 PM, Tomi Valkeinen wrote: > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: >> Adding the hdmi interface driver header file (hdmi.h) to the dss driver. >> Register and timing declaration to be used by the corresponding c file is >> added in this file.

Re: [PATCH 2/8] OMAP4 : DSS2 : Add display structure in the board file for OMAP4 sdp

2011-02-27 Thread K, Mythri P
Hi Tomi, On Sun, Feb 27, 2011 at 2:43 PM, Tomi Valkeinen wrote: > On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: >> Adding  board file changes for display which adds the display structure >> with HDMI as the default driver when the display init is called. >> HDMI GPIO configurations are a

Re: [PATCH 1/2 v2] mfd: twl4030: Driver for twl4030 madc module

2011-02-27 Thread J, KEERTHY
On Mon, Feb 28, 2011 at 6:30 AM, Samuel Ortiz wrote: > Hi Keerthy, > > On Thu, Feb 24, 2011 at 08:48:33PM +0530, Keerthy wrote: >> Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring >> ADC. This driver monitors the real time conversion of analog signals like >> battery te

Re: [PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-27 Thread J, KEERTHY
On Mon, Feb 28, 2011 at 9:11 AM, Guenter Roeck wrote: > On Sun, Feb 27, 2011 at 08:03:07PM -0500, Samuel Ortiz wrote: >> Hi Keerthy, >> >> On Thu, Feb 24, 2011 at 08:48:50PM +0530, Keerthy wrote: >> > This driver exposes the sysfs nodes of the TWL4030 MADC module. >> > All the voltage channel valu

RE: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Way operationcan cause data corruption

2011-02-27 Thread Santosh Shilimkar
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Sunday, February 27, 2011 5:30 PM > To: Santosh Shilimkar > Cc: linux-arm-ker...@lists.infradead.org; t...@atomide.com; > catalin.mari...@arm.com; linux-omap@vger.kernel.org > Subject: Re: [PATCH 1

Re: [PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-27 Thread Guenter Roeck
On Sun, Feb 27, 2011 at 08:03:07PM -0500, Samuel Ortiz wrote: > Hi Keerthy, > > On Thu, Feb 24, 2011 at 08:48:50PM +0530, Keerthy wrote: > > This driver exposes the sysfs nodes of the TWL4030 MADC module. > > All the voltage channel values are expressed in terms of mV. Channel 13 > > and channel 1

Re: [PATCH 0/8] OMAP2+: hwmod/clockevent: allow late-init of individual hwmods

2011-02-27 Thread Paul Walmsley
Salut Benoît, On Wed, 23 Feb 2011, Cousson, Benoit wrote: > On 2/23/2011 8:11 AM, Paul Walmsley wrote: > > This series adds the ability to late-initialize individual > > hwmods. The goal here is for clockevent (and eventually > > clocksource) hwmods to be late-initialized individually, and > > r

Re: [PATCH] mfd: twl4030: Enabling twl4030_wdt and pwrbutton only for Triton

2011-02-27 Thread Samuel Ortiz
Hi Keerthy, On Wed, Feb 23, 2011 at 04:26:54PM +0530, Keerthy wrote: > Enabling twl4030_wdt and twl4030_pwrbutton only for Triton i.e for > TWL4030 and TWL5030. This is to be excluded for Phoenix TWL6030. > Tested OMAP4 blaze, OMAP2430, OMAP3630 boot up. Patch applied, thanks. Cheers, Samuel. --

Re: [PATCH 2/2 v2] hwmon: twl4030: Hwmon Driver for TWL4030 MADC

2011-02-27 Thread Samuel Ortiz
Hi Keerthy, On Thu, Feb 24, 2011 at 08:48:50PM +0530, Keerthy wrote: > This driver exposes the sysfs nodes of the TWL4030 MADC module. > All the voltage channel values are expressed in terms of mV. Channel 13 > and channel 14 are reserved. There are channels which represent > temperature and curre

Re: [PATCH 1/2 v2] mfd: twl4030: Driver for twl4030 madc module

2011-02-27 Thread Samuel Ortiz
Hi Keerthy, On Thu, Feb 24, 2011 at 08:48:33PM +0530, Keerthy wrote: > Introducing a driver for MADC on TWL4030 powerIC. MADC stands for monitoring > ADC. This driver monitors the real time conversion of analog signals like > battery temperature, battery cuurent etc. Looks mostly good to me, one m

Re: [PATCH] OMAP2+: sdrc: fix compile break on OMAP4-only config on current omap-for-linus

2011-02-27 Thread Paul Walmsley
Hello Sergei On Sat, 26 Feb 2011, Sergei Shtylyov wrote: >How about empty inline instead? Thanks for the review; that is indeed a better approach. Following is the updated patch. Tony, do you want to take this one? - Paul From: Paul Walmsley Date: Fri, 25 Feb 2011 17:38:25 -0700 Subje

[PATCH] cbus-retu: Fix nested IRQ handling

2011-02-27 Thread Michael Buesch
handle_nested_irq() expects a global IRQ number, so the irq_base has to be added to the RETU irq number. Signed-off-by: Michael Buesch --- Index: linux-omap-2.6/drivers/cbus/retu.c === --- linux-omap-2.6.orig/drivers/cbus/retu.c

Re: [PATCH 1/2] ARM: l2x0: Errata fix for flush by Way operation can cause data corruption

2011-02-27 Thread Russell King - ARM Linux
On Fri, Feb 18, 2011 at 06:05:24PM +0530, Santosh Shilimkar wrote: > diff --git a/arch/arm/mm/cache-l2x0.c b/arch/arm/mm/cache-l2x0.c > index 170c9bb..a8caee4 100644 > --- a/arch/arm/mm/cache-l2x0.c > +++ b/arch/arm/mm/cache-l2x0.c > @@ -67,18 +67,22 @@ static inline void l2x0_inv_line(unsigned lon

[PATCH] omap-mmc: Fix possible NULL pointer deref

2011-02-27 Thread Michael Buesch
Either OMAP_MMC_STAT_CARD_ERR or OMAP_MMC_STAT_END_OF_CMD might fire if there is no host->cmd pointer. Check for a valid host->cmd pointer before calling mmc_omap_cmd_done(). Signed-off-by: Michael Buesch --- Fixes [3.814483] Unable to handle kernel NULL pointer dereference at virtual add

FW: Re: Ping-> Subject: [PATCH] omap: omap3evm: add support for the WL12xx WLAN module to the omap3evm

2011-02-27 Thread Reizer, Eyal
As asked ,this patch is against current omap-for-linus branch Adds platform initialization for working with the WLAN module attached to the omap3evm. The patch includes MMC2 initialization, SDIO and control pins muxing and platform device registration. Signed-off-by: Eyal Reizer --- arch/arm/ma

Re: Re: Ping-> Subject: [PATCH] omap: omap3evm: add support for the WL12xx WLAN module to the omap3evm

2011-02-27 Thread Eyal Reizer
This patch is again current omap-for-linus branch Adds platform initialization for working with the WLAN module attached to the omap3evm. The patch includes MMC2 initialization, SDIO and control pins muxing and platform device registration. Signed-off-by: Eyal Reizer --- arch/arm/mach-omap2/boa

Re: [PATCH 5/8] OMAP4 : DSS2 : HDMI: HDMI driver addition in the DSS drivers interface

2011-02-27 Thread Tomi Valkeinen
On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > Adding the hdmi interface driver(hdmi.c) to the dss driver. > It configures the audio and video portion of HDMI in the > display header file to be accessed by the panels. > > Signed-off-by: Mythri P K > --- > drivers/video/omap2/dss/Kconfig

Re: [PATCH 6/8] OMAP4 : DSS2 : HDMI: HDMI panel driver addition in the DSS

2011-02-27 Thread Tomi Valkeinen
On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > The panel driver(hdmi_omap4_panel.c) in dss file acts as a controller > to manage the enable and disable requests and synchronize audio and video. > Also the header file to export the hdmi registers is added in the > plat-omap , so that it can

Re: [PATCH 4/8] OMAP4 : DSS : HDMI: HDMI driver header file addition

2011-02-27 Thread Tomi Valkeinen
On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > Adding the hdmi interface driver header file (hdmi.h) to the dss driver. > Register and timing declaration to be used by the corresponding c file is > added in this file. > > Signed-off-by: Mythri P K > --- > drivers/video/omap2/dss/hdmi.h

Re: [PATCH 3/8] OMAP4 : DSS : HDMI: HDMI specific display controller and dss change.

2011-02-27 Thread Tomi Valkeinen
On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > Adding changes to set gamma table bit for TV interface and function to select > between VENC and HDMI. > > Signed-off-by: Mythri P K > --- > drivers/video/omap2/dss/dispc.c |5 + > drivers/video/omap2/dss/dss.c |7 +++ > d

Re: [PATCH 2/8] OMAP4 : DSS2 : Add display structure in the board file for OMAP4 sdp

2011-02-27 Thread Tomi Valkeinen
On Fri, 2011-02-25 at 08:21 -0600, K, Mythri P wrote: > Adding board file changes for display which adds the display structure > with HDMI as the default driver when the display init is called. > HDMI GPIO configurations are also done in this file. > > Signed-off-by: Mythri P K > --- > arch/arm