Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Tony Lindgren
* Nicolas Pitre [121005 18:33]: > On Fri, 5 Oct 2012, Tony Lindgren wrote: > > > * Tony Lindgren [121005 16:27]: > > > * Russell King - ARM Linux [121005 16:10]: > > > > On Fri, Oct 05, 2012 at 01:08:22PM -0700, Tony Lindgren wrote: > > > > > Just bisected this down in linux-next for breaking b

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Nicolas Pitre
On Fri, 5 Oct 2012, Tony Lindgren wrote: > * Tony Lindgren [121005 16:27]: > > * Russell King - ARM Linux [121005 16:10]: > > > On Fri, Oct 05, 2012 at 01:08:22PM -0700, Tony Lindgren wrote: > > > > Just bisected this down in linux-next for breaking booting of > > > > my omap2420 ARMv6 based n8x

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Tony Lindgren
* Tony Lindgren [121005 16:27]: > * Russell King - ARM Linux [121005 16:10]: > > On Fri, Oct 05, 2012 at 01:08:22PM -0700, Tony Lindgren wrote: > > > Just bisected this down in linux-next for breaking booting of > > > my omap2420 ARMv6 based n8x0.. > > > > > > > --- a/arch/arm/kernel/head.S > >

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Tony Lindgren
* Russell King - ARM Linux [121005 16:10]: > On Fri, Oct 05, 2012 at 01:08:22PM -0700, Tony Lindgren wrote: > > Just bisected this down in linux-next for breaking booting of > > my omap2420 ARMv6 based n8x0.. > > > > > --- a/arch/arm/kernel/head.S > > > +++ b/arch/arm/kernel/head.S > > > @@ -83,8

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Russell King - ARM Linux
On Fri, Oct 05, 2012 at 01:08:22PM -0700, Tony Lindgren wrote: > Just bisected this down in linux-next for breaking booting of > my omap2420 ARMv6 based n8x0.. > > > --- a/arch/arm/kernel/head.S > > +++ b/arch/arm/kernel/head.S > > @@ -83,8 +83,12 @@ ENTRY(stext) > > THUMB(.thumb

Re: [PATCH 0/9] ARM: dts/OMAP: Pinmux audio configuration for OMAP4+

2012-10-05 Thread Tony Lindgren
* Peter Ujfalusi [121004 04:57]: > Hello, > > u-boot recently stopped configuring 'non essential' pin mux. This change > leaves > the audio essential pins in non configured state which prevents the use of > audio. > The following series makes sure that the needed pins are configured correctly

Re: [PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-05 Thread Sergei Shtylyov
Hello. On 05-10-2012 12:07, Kishon Vijay Abraham I wrote: Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72

Re: [PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-05 Thread Kevin Hilman
+Grygorii (who's been working on various I2C related suspend/resume issues also) Hi Kalle, Kalle Jokiniemi writes: > The resume_noirq enables interrupts one-by-one starting from > first one. Now if the wake up event for suspend came from i2c > device, the i2c bus irq gets enabled bef

Re: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-05 Thread Matt Porter
On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > Matt, > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > Changes since v1: > > > - Replaced uio_pruss private SRAM API use with genalloc > > > - Add

Re: [PATCH v2 2/7] ARM: virt: allow the kernel to be entered in HYP mode

2012-10-05 Thread Tony Lindgren
Hi, * Marc Zyngier [120907 10:04]: > From: Dave Martin > > This patch does two things: > > * Ensure that asynchronous aborts are masked at kernel entry. > The bootloader should be masking these anyway, but this reduces > the damage window just in case it doesn't. > > * Enter svc m

Re: [PATCH 09.5/16] mmc: omap: Remove cpu_is_omap usage from the driver

2012-10-05 Thread Tony Lindgren
* Chris Ball [121005 11:24]: > Hi Tony, > > On Fri, Oct 05 2012, Tony Lindgren wrote: > > This is needed for the ARM common zImage support. > > > > We can use the existing slot features to pass omap1 > > specific options to the driver. For omap2 we don't > > want to pass anything new as that will

Re: [PATCH] gpio/gpio-omap: Use existing pointer to struct device

2012-10-05 Thread Kevin Hilman
Tobias Klauser writes: > A pointer to "pdev->dev" is already stored in "dev", so use it in > devm_kzalloc. > > Signed-off-by: Tobias Klauser Acked-by: Kevin Hilman -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH 09.5/16] mmc: omap: Remove cpu_is_omap usage from the driver

2012-10-05 Thread Chris Ball
Hi Tony, On Fri, Oct 05 2012, Tony Lindgren wrote: > This is needed for the ARM common zImage support. > > We can use the existing slot features to pass omap1 > specific options to the driver. For omap2 we don't > want to pass anything new as that will be eventually > moved to use device tree base

Re: [PATCH 09/16] ARM: OMAP: Split plat/mmc.h into local headers and platform_data

2012-10-05 Thread Tony Lindgren
* Venkatraman S [121004 23:40]: > On Fri, Oct 5, 2012 at 3:34 AM, Tony Lindgren wrote: > > We need to remove this from plat for ARM common zImage > > support. > > > > Cc: Chris Ball > > Cc: Venkatraman S > > Cc: linux-...@vger.kernel.org > > Signed-off-by: Tony Lindgren > > Thanks Tony. I sup

[PATCH 09.5/16] mmc: omap: Remove cpu_is_omap usage from the driver

2012-10-05 Thread Tony Lindgren
This is needed for the ARM common zImage support. We can use the existing slot features to pass omap1 specific options to the driver. For omap2 we don't want to pass anything new as that will be eventually moved to use device tree based init. Note that this patch depends on earlier patch that mov

Re: omap DSS cmdline resolution not working for HDMI?

2012-10-05 Thread Tony Lindgren
* Tomi Valkeinen [121005 04:06]: > On Thu, 2012-10-04 at 10:56 -0700, Tony Lindgren wrote: > > Hi, > > > > FYI, looks like for some reason DSS command line is not > > working for HDMI while it works for DSS. On my panda es > > I'm trying to set my motorola lapdock resolution from > > cmdline with

Re: MUSB regression in linux next at least for pandboard

2012-10-05 Thread Tony Lindgren
* Tony Lindgren [121004 18:41]: > > > > > Also on the EHCI port, I've seen issues where unplugging > > > the cable hangs kernel with an infinite loop. But that happens > > > only occasionally, sorry does not seem to happen right > > > now so no output to paste here. Or maybe this issue > > > has

[PATCH 15/32 v2] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-05 Thread Florian Fainelli
Merge ohci_finish_controller_resume with ohci_resume as suggested by Alan Stern. Since ohci_finish_controller_resume no longer exists, update the various OHCI drivers to call ohci_resume() instead. Some drivers used to set themselves the bit HCD_FLAG_HW_ACCESSIBLE, which is now handled by ohci_resu

[PATCH 4/4] ARM: OMAP2+: tusb6010: generic timing calculation

2012-10-05 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/usb-tusb6010.c | 182 + 1 file changed, 44 insertions(+), 138 deletions(-) diff --git a/arch/arm/mach-o

[PATCH 3/4] ARM: OMAP2+: smc91x: generic timing calculation

2012-10-05 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc-smc91x.c | 43 --- 1 file changed, 17 insertions(+), 26 deletions(-) diff --git a/arch/arm/mach-om

[PATCH 2/4] ARM: OMAP2+: onenand: generic timing calculation

2012-10-05 Thread Afzal Mohammed
Generic gpmc timing calculation helper is available now, use it instead of custom timing calculation. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc-onenand.c | 124 + 1 file changed, 43 insertions(+), 81 deletions(-) diff --git a/arch/arm/mach-om

[PATCH 1/4] ARM: OMAP2+: gpmc: generic timing calculation

2012-10-05 Thread Afzal Mohammed
Presently there are three peripherals that gets it timing by runtime calculation. Those peripherals can work with frequency scaling that affects gpmc clock. But timing calculation for them are in different ways. Here a generic runtime calculation method is proposed. Input to this function were sel

[PATCH 0/4] OMAP-GPMC generic timing migration

2012-10-05 Thread Afzal Mohammed
ion routine was verified by simulating on OMAP3EVM. This series is available @ git://gitorious.org/x0148406-public/linux-kernel.git gpmc-timing-v1 and is based on linux-next (next-20121005) and is dependent on http://marc.info/?l=linux-omap&m=134945131602622&w=2 ht

[PATCH 15/15] ARM: OMAP2+: gpmc: localize gpmc header

2012-10-05 Thread Afzal Mohammed
Requirement of gpmc header outside of mach-omap2 has been cutoff, move gpmc header file in plat-omap folder to local mach-omap2 folder Objective - common zImage participation of omap Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/board-2430sdp.c| 2 +- arch/arm/mach-o

[PATCH 14/15] mtd: nand: omap: gpmc header removal

2012-10-05 Thread Afzal Mohammed
nand driver no longer needs gpmc header, remove it. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index e3fc8d7..d6664d7 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nan

[PATCH 13/15] ARM: OMAP2+: gpmc: remove exported nand functions

2012-10-05 Thread Afzal Mohammed
nand driver handles gpmc-nand block fully, hence no more users for these exported nand functions, remove it. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc.c | 432 - arch/arm/plat-omap/include/plat/gpmc.h | 31 --- 2 files changed, 463 de

[PATCH 12/15] mtd: nand: omap: handle gpmc bch[48]

2012-10-05 Thread Afzal Mohammed
gpmc-nand bch registers are now available in driver, make use of it to handle bch[48] instead of relying on gpmc exported functions. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 95 +++- 1 file changed, 86 insertions(+), 9 deletions(-)

[PATCH 11/15] ARM: OMAP2+: gpmc: nand register helper bch update

2012-10-05 Thread Afzal Mohammed
Update helper function that provides gpmc-nand register details for nand driver with bch register information. Using this nand driver can be made self sufficient to handle remaining gpmc-nand operations by itself instead of relying on gpmc exported nand functions. Signed-off-by: Afzal Mohammed --

[PATCH 10/15] ARM: OMAP2+: nand: bch capability check

2012-10-05 Thread Afzal Mohammed
Capability of bch schemes could be discovered using soc revision checks. If soc revision indicates that selected ecc scheme is not supported bail out. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc-nand.c | 24 1 file changed, 24 insertions(+) diff --git a/a

[PATCH 09/15] mtd: nand: omap: bring in gpmc nand macros

2012-10-05 Thread Afzal Mohammed
Bring onto driver the macros defined in gpmc.h that are not necessary outside driver, helps in removing inclusion of gpmc.h too. Also remove GPMC prefix on those macros to make clear it's independence with gpmc header. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 21 +

[PATCH 08/15] ARM: OMAP2+: nand: header cleanup

2012-10-05 Thread Afzal Mohammed
For common arm zImage existing onenand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Also move gpmc-nand platform data to platform header meant fo

[PATCH 07/15] ARM: OMAP2+: onenand: header cleanup

2012-10-05 Thread Afzal Mohammed
For common arm zImage existing onenand header file in platform specific location was moved to generic platform data location, but it contained more than platform data, remove it. New local header has been created for exposing functions. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/board

[PATCH 06/15] mtd: onenand: omap: use pdata info instead of cpu_is

2012-10-05 Thread Afzal Mohammed
platform data now contains a field to indicate whether soc belongs to omap34xx family, use it instead of cpu_is_* check. This helps in removing dependency of platform specific header file - cpu.h Signed-off-by: Afzal Mohammed --- drivers/mtd/onenand/omap2.c | 7 --- 1 file changed, 4 insert

[PATCH 05/15] ARM: OMAP2+: onenand: connected soc info in pdata

2012-10-05 Thread Afzal Mohammed
onenand driver needs to know whether soc is falling under 34xx family to properly handle onenand. But driver is not supposed to do cpu_is_* check, hence educate platform data with this information. Driver can make use of it to avoid cpu_is_* check. Signed-off-by: Afzal Mohammed --- arch/arm/mach

[PATCH 04/15] mtd: nand: omap: read nand using register address

2012-10-05 Thread Afzal Mohammed
Now that gpmc-nand registers are available in driver, use it to read nand data. "65b97cf mtd: nand: omap2: handle nand on gpmc" modified all other instances. After initial versions of that patch, a new change added reading nand data using gpmc exposed function. In the final version this change wa

[PATCH 03/15] mtd: nand: omap: free region as per resource size

2012-10-05 Thread Afzal Mohammed
memory as is now obtained via resource, upon freeing use resource size. This also helps get rid of one macro. Signed-off-by: Afzal Mohammed --- drivers/mtd/nand/omap2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 5

[PATCH 02/15] mtd: onenand: omap: cleanup gpmc dependency

2012-10-05 Thread Afzal Mohammed
requesting, freeing gpmc cs is now handled fully by gpmc, remove left out gpmc dependency as well as unnecessary include of gpmc.h Signed-off-by: Afzal Mohammed --- drivers/mtd/onenand/omap2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/

[PATCH 01/15] ARM: OMAP2+: gpmc: annotate exit sections properly

2012-10-05 Thread Afzal Mohammed
compiler complained, `gpmc_remove' referenced in section `.data' of arch/arm/mach-omap2/built-in.o: defined in discarded section `.exit.text' of arch/arm/mach-omap2/built-in.o Annotate gpmc_remove function and dependents with __devexit. Reported-by: Tony Lindgren Signed-off-by: Afzal Mohammed

[PATCH 00/15] OMAP-GPMC related cleanup for common zImage

2012-10-05 Thread Afzal Mohammed
based on linux-next (next-20121005) and is dependent on http://marc.info/?l=linux-omap&m=134945131602622&w=2 Regards Afzal Afzal Mohammed (15): ARM: OMAP2+: gpmc: annotate exit sections properly mtd: onenand: omap: cleanup gpmc dependency mtd: nand: omap: free regio

RE: [PATCH v8 1/6] ARM: OMAP2+: nand: unify init functions

2012-10-05 Thread Mohammed, Afzal
+ Jon and Paul On Fri, Oct 05, 2012 at 21:05:54, Mohammed, Afzal wrote: > Helper function for updating nand platform data has been > added the capability to take timing structure arguement. > Usage of omap_nand_flash_init() has been replaced by modifed > one, omap_nand_flash_init was doing things

RE: [PATCH v8 0/6] OMAP-GPMC cleanup for generic timing

2012-10-05 Thread Mohammed, Afzal
generic timing) > > This series is available > @ git://gitorious.org/x0148406-public/linux-kernel.git gpmc-prep-v8 > and is based on > linux-next (next-20121005) > > Regards > Afzal > > v8: > Remove generic timing conversion patches > > v7:

[PATCH v8 6/6] ARM: OMAP2+: gpmc: remove cs# in sync clk div calc

2012-10-05 Thread Afzal Mohammed
Divider value for a certain sync clk is determined solely based on gpmc fclk. CS# does not have any role here, thus remove presence of CS# in clock divider calculation API. Signed-off-by: Afzal Mohammed Reviewed-by: Jon Hunter --- arch/arm/mach-omap2/gpmc-onenand.c | 3 +-- arch/arm/mach-om

[PATCH v8 5/6] ARM: OMAP2+: GPMC: Remove unused OneNAND get_freq() platform function

2012-10-05 Thread Afzal Mohammed
From: Jon Hunter A platform function pointer for getting the frequency of a OneNAND device was added so that a platform could specify a custom function for returning the frequency and not just rely on the OneNAND version to determine the frequency. However, this platform function pointer is not c

[PATCH v8 4/6] ARM: OMAP2+: onenand: refactor for clarity

2012-10-05 Thread Afzal Mohammed
Refactor set_async_mode & set_sync_mode functions to separate out timing calculation & actual configuration (GPMC & OneNAND side). Thanks to Jon for his suggestions. Signed-off-by: Afzal Mohammed Reviewed-by: Jon Hunter --- arch/arm/mach-omap2/gpmc-onenand.c | 174 +++--

[PATCH v8 3/6] ARM: OMAP2+: gpmc: handle additional timings

2012-10-05 Thread Afzal Mohammed
Configure busturnaround, cycle2cycledelay, waitmonitoringtime, clkactivationtime in gpmc_cs_set_timings(). This is done so that boards can configure these parameters of gpmc in Kernel instead of relying on bootloader. Also configure bool type timings like extradelay. This needed change to the exis

[PATCH v8 2/6] ARM: OMAP2+: nand: remove redundant rounding

2012-10-05 Thread Afzal Mohammed
gpmc_cs_set_timings() calculate ticks to be programmed by rounding time in ns to next tick value. Hence remove redundant rounding of nanosecond timing. Signed-off-by: Afzal Mohammed --- arch/arm/mach-omap2/gpmc-nand.c | 30 +- 1 file changed, 13 insertions(+), 17 dele

[PATCH v8 1/6] ARM: OMAP2+: nand: unify init functions

2012-10-05 Thread Afzal Mohammed
Helper function for updating nand platform data has been added the capability to take timing structure arguement. Usage of omap_nand_flash_init() has been replaced by modifed one, omap_nand_flash_init was doing things similar to board_nand_init except that NAND CS# were being acquired based on boot

[PATCH v8 0/6] OMAP-GPMC cleanup for generic timing

2012-10-05 Thread Afzal Mohammed
ric timing routine. This series is same as v7, except that last 4 patches in v7 has been removed from this series (those 4 patches were for generic timing) This series is available @ git://gitorious.org/x0148406-public/linux-kernel.git gpmc-prep-v8 and is based on linux-next (nex

Re: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-05 Thread Ivan Djelic
On Fri, Oct 05, 2012 at 09:51:50AM +0100, Philip, Avinash wrote: > On Thu, Oct 04, 2012 at 15:51:03, Philip, Avinash wrote: > > On Thu, Oct 04, 2012 at 00:50:45, Ivan Djelic wrote: > > > On Wed, Oct 03, 2012 at 03:29:49PM +0100, Philip, Avinash wrote: > > > > ELM module can be used for error correc

Re: [PATCH 07/16] ARM: OMAP: Make plat/sram.h local to plat-omap

2012-10-05 Thread Jon Hunter
Hi Tony, On 10/04/2012 05:04 PM, Tony Lindgren wrote: > We can move this from plat to be local to plat-omap > for common ARM zImage support. > > Signed-off-by: Tony Lindgren > --- > arch/arm/mach-omap1/clock.c |3 - > arch/arm/mach-omap1/clock_data.c |3 - >

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Benoit Cousson
On 10/05/2012 03:20 PM, Archit Taneja wrote: > On Friday 05 October 2012 06:07 PM, Rajendra Nayak wrote: >> On Friday 05 October 2012 05:59 PM, Archit Taneja wrote: >>> The other not so good option to make DSS PM work would be to add >>> OCPIF_SWSUP_IDLE flag to our l3_main_2__dss_* slave interface

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Archit Taneja
On Friday 05 October 2012 07:01 PM, Rajendra Nayak wrote: If the clkdm is in HW_AUTO, I can get DSS in sleep(STBYST and IDLEST all set). Is this helpful? Can we just leave modulemode on all the time? That'll be the best :) Is everything around DSS enabled by default in omap2plus? If so, I haven

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Rajendra Nayak
If the clkdm is in HW_AUTO, I can get DSS in sleep(STBYST and IDLEST all set). Is this helpful? Can we just leave modulemode on all the time? That'll be the best :) Is everything around DSS enabled by default in omap2plus? If so, I haven't seen Tero (who has been working on getting OMAP4 to slee

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Archit Taneja
On Friday 05 October 2012 06:07 PM, Rajendra Nayak wrote: On Friday 05 October 2012 05:59 PM, Archit Taneja wrote: The other not so good option to make DSS PM work would be to add OCPIF_SWSUP_IDLE flag to our l3_main_2__dss_* slave interfaces(which have the hack "dss_fck" as slave clock). I gave

Re: [PATCH V4 0/5] OMAPDSS: Enable dynamic debug printing

2012-10-05 Thread Tomi Valkeinen
On Sat, 2012-09-29 at 16:19 +0530, Chandrabhanu Mahapatra wrote: > Hi everyone, > this patch series aims at cleaning up of DSS of printk()'s enabled with > dss_debug and replace them with generic dynamic debug printing. Except for the missing debug print conversions in dsi.c this looks good. Do yo

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Rajendra Nayak
On Friday 05 October 2012 05:59 PM, Archit Taneja wrote: The other not so good option to make DSS PM work would be to add OCPIF_SWSUP_IDLE flag to our l3_main_2__dss_* slave interfaces(which have the hack "dss_fck" as slave clock). I gave this approach a try, that too isn't working so well. When

Re: [PATCH V4 4/5] OMAPDSS: Replace multi part debug prints with pr_debug

2012-10-05 Thread Tomi Valkeinen
On Sat, 2012-09-29 at 16:19 +0530, Chandrabhanu Mahapatra wrote: > The omap_dispc_unregister_isr() and _dsi_print_reset_status() consist of a > number of debug prints which need to be enabled all at once or none at all. > So, > these debug prints in corresponding functions are replaced with one dy

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Archit Taneja
On Friday 05 October 2012 05:50 PM, Benoit Cousson wrote: Hi Archit, On 10/05/2012 11:46 AM, Archit Taneja wrote: Hi, On Friday 31 August 2012 01:58 PM, Archit Taneja wrote: On Friday 31 August 2012 01:57 PM, Tomi Valkeinen wrote: On Fri, 2012-08-31 at 13:50 +0530, Archit Taneja wrote: On F

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Benoit Cousson
Hi Archit, On 10/05/2012 11:46 AM, Archit Taneja wrote: > Hi, > > On Friday 31 August 2012 01:58 PM, Archit Taneja wrote: >> On Friday 31 August 2012 01:57 PM, Tomi Valkeinen wrote: >>> On Fri, 2012-08-31 at 13:50 +0530, Archit Taneja wrote: On Friday 31 August 2012 12:45 PM, Tomi Valkeinen

Re: omap DSS cmdline resolution not working for HDMI?

2012-10-05 Thread Archit Taneja
On Friday 05 October 2012 04:34 PM, Tomi Valkeinen wrote: On Thu, 2012-10-04 at 10:56 -0700, Tony Lindgren wrote: Hi, FYI, looks like for some reason DSS command line is not working for HDMI while it works for DSS. On my panda es I'm trying to set my motorola lapdock resolution from cmdline wit

Re: omap DSS cmdline resolution not working for HDMI?

2012-10-05 Thread Tomi Valkeinen
On Thu, 2012-10-04 at 10:56 -0700, Tony Lindgren wrote: > Hi, > > FYI, looks like for some reason DSS command line is not > working for HDMI while it works for DSS. On my panda es > I'm trying to set my motorola lapdock resolution from > cmdline with: > > omapdss.def_disp=hdmi omapfb.mode=hdmi:13

[PATCH 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-05 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 72 + 1 file changed, 72 insertions(+) diff --gi

[PATCH 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-05 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by: Kish

[PATCH 0/3] ocp2scp: add non-dt support

2012-10-05 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for non-d

[PATCH 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-05 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 1 file changed, 28

Re: ttyO2 broken on IGEPv2 on 3.3, 3.4-rc5 or arm-soc/for-next, working on 3.2

2012-10-05 Thread Javier Martinez Canillas
On Fri, Oct 5, 2012 at 10:10 AM, Thomas Petazzoni wrote: > > On Fri, 5 Oct 2012 09:32:07 +0200, Javier Martinez Canillas wrote: > >> As Enric said, u-boot has SPL and NAND support for IGEP since >> v2012.10-rc1. I just tried kernel a 3.6 with u-boot v2012.10-rc2 and >> it works for me. > > Ok, I'l

Re: OMAP4 clock/pm fixes [was: [PATCH v4 2/3] ARM: omap: hwmod: get rid of all omap_clk_get_by_name usage

2012-10-05 Thread Archit Taneja
Hi, On Friday 31 August 2012 01:58 PM, Archit Taneja wrote: On Friday 31 August 2012 01:57 PM, Tomi Valkeinen wrote: On Fri, 2012-08-31 at 13:50 +0530, Archit Taneja wrote: On Friday 31 August 2012 12:45 PM, Tomi Valkeinen wrote: On Fri, 2012-08-31 at 11:53 +0530, Archit Taneja wrote: The o

[PATCH] gpio/gpio-omap: Use existing pointer to struct device

2012-10-05 Thread Tobias Klauser
A pointer to "pdev->dev" is already stored in "dev", so use it in devm_kzalloc. Signed-off-by: Tobias Klauser --- drivers/gpio/gpio-omap.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 94cbc84..eb73dee 100644 -

[PATCH] i2c: i2c-omap: fix interrupt flood during resume

2012-10-05 Thread Kalle Jokiniemi
The resume_noirq enables interrupts one-by-one starting from first one. Now if the wake up event for suspend came from i2c device, the i2c bus irq gets enabled before the threaded i2c device irq, causing a flood of i2c bus interrupts as the threaded irq that should clear the event is not enabled ye

Re: [PATCH 02/16] ARM: OMAP: Split plat-omap/i2c.c into mach-omap1 and mach-omap2

2012-10-05 Thread Shubhrajyoti
On Friday 05 October 2012 03:34 AM, Tony Lindgren wrote: > There's no need to keep the device related things in the > common i2c.c as omap2+ is using hwmod. Split the code to > mach-omap1 and mach-omap2 parts and only leave common > code to plat-omap/i2c.c. > > Note that as omap1 only has one i2c c

RE: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-05 Thread Philip, Avinash
On Thu, Oct 04, 2012 at 15:51:03, Philip, Avinash wrote: > On Thu, Oct 04, 2012 at 00:50:45, Ivan Djelic wrote: > > On Wed, Oct 03, 2012 at 03:29:49PM +0100, Philip, Avinash wrote: > > > ELM module can be used for error correction of BCH 4 & 8 bit. Also > > > support read & write page in one shot b

Re: ttyO2 broken on IGEPv2 on 3.3, 3.4-rc5 or arm-soc/for-next, working on 3.2

2012-10-05 Thread Thomas Petazzoni
On Fri, 5 Oct 2012 09:32:07 +0200, Javier Martinez Canillas wrote: > As Enric said, u-boot has SPL and NAND support for IGEP since > v2012.10-rc1. I just tried kernel a 3.6 with u-boot v2012.10-rc2 and > it works for me. Ok, I'll try this out. > But I agree that the kernel shouldn't do any assu

Re: [PATCH 0/2] ARM: OMAP: SmartReflex: pass device dependent data via platform data

2012-10-05 Thread Jean Pihet
On Fri, Oct 5, 2012 at 1:40 AM, Kevin Hilman wrote: > jean.pi...@newoldbits.com writes: > >> From: Jean Pihet >> >> Remove the device dependent code (ex. cpu_is_xxx()) and settings >> from the driver code and instead pass them via the platform >> data. This allows a clean separation of the driver

Re: ttyO2 broken on IGEPv2 on 3.3, 3.4-rc5 or arm-soc/for-next, working on 3.2

2012-10-05 Thread Thomas Petazzoni
Kevin, On Thu, 04 Oct 2012 16:06:27 -0700, Kevin Hilman wrote: > > It seems they are exactly the same, unless my eyes missed > > something, of course. > > The example I gave was only for the UART3 RX, you should dump the > UART3 TX pins as. Using the omap_mux debugfs, you can see all of the > p

Re: [PATCH 14/24] USB: ohci: merge ohci_finish_controller_resume with ohci_resume

2012-10-05 Thread Nicolas Ferre
On 10/04/2012 05:17 PM, Florian Fainelli : > Merge ohci_finish_controller_resume with ohci_resume as suggested by Alan > Stern. Since ohci_finish_controller_resume no longer exists, update the > various OHCI drivers to call ohci_resume() instead. Some drivers used to set > themselves the bit HCD_FL

Re: ttyO2 broken on IGEPv2 on 3.3, 3.4-rc5 or arm-soc/for-next, working on 3.2

2012-10-05 Thread Javier Martinez Canillas
On Fri, Oct 5, 2012 at 1:08 AM, Kevin Hilman wrote: > Thomas Petazzoni writes: > >> On Thu, 4 Oct 2012 22:30:58 +0200, Enric Balletbò i Serra wrote: >> >>> I recently tested kernel 3.6-rc5 and worked for me. Let me check tomorrow >>> kernel 3.6. Which u-boot version are you using? >> >> 2011.12 +

[PATCHv4] Input: keypad: Add smsc ece1099 keypad driver

2012-10-05 Thread Sourav Poddar
From: G, Manjunath Kondaiah SMSC ECE1099 is a keyboard scan or GPIO expansion device.The device supports a keypad scan matrix of 23*8.This driver uses this device as a keypad driver. Tested on omap5430 evm with 3.6-rc6 custom kernel. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar