Re: [PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Borislav Petkov
On Fri, Aug 03, 2012 at 09:46:15AM -0700, Pandita, Vikram wrote: > I mostly work with ARM Soc - specifically on OMAP. SMP multi core > systems in ARM-v7 world started to show up only few years back - > unlike x86 world. This is exactly the thing: other SMP vendors have made it so far without emitt

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
On Fri, Aug 3, 2012 at 3:36 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 03:25:17PM -0700, Pandita, Vikram wrote: >> >> This was something that got used internally and helped at times. >> > >> > Could you have used the trace point instead? >> >> As i understood the trace_prink(), one would need to

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 03:25:17PM -0700, Pandita, Vikram wrote: > >> This was something that got used internally and helped at times. > > > > Could you have used the trace point instead? > > As i understood the trace_prink(), one would need to modify existing > printk -> trace_printk. Is my under

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
On Fri, Aug 3, 2012 at 3:13 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 03:07:39PM -0700, Pandita, Vikram wrote: >> On Fri, Aug 3, 2012 at 2:59 PM, Greg KH wrote: >> > On Fri, Aug 03, 2012 at 02:24:20PM -0700, Pandita, Vikram wrote: >> >> Aaro >> >> >> >> On Fri, Aug 3, 2012 at 1:08 PM, Aaro Kos

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 03:07:39PM -0700, Pandita, Vikram wrote: > On Fri, Aug 3, 2012 at 2:59 PM, Greg KH wrote: > > On Fri, Aug 03, 2012 at 02:24:20PM -0700, Pandita, Vikram wrote: > >> Aaro > >> > >> On Fri, Aug 3, 2012 at 1:08 PM, Aaro Koskinen wrote: > >> > Hi, > >> > > >> > On Fri, Aug 03,

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
On Fri, Aug 3, 2012 at 2:59 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 02:24:20PM -0700, Pandita, Vikram wrote: >> Aaro >> >> On Fri, Aug 3, 2012 at 1:08 PM, Aaro Koskinen wrote: >> > Hi, >> > >> > On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: >> >> > And really: Wasting 1/3

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 02:24:20PM -0700, Pandita, Vikram wrote: > Aaro > > On Fri, Aug 3, 2012 at 1:08 PM, Aaro Koskinen wrote: > > Hi, > > > > On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: > >> > And really: Wasting 1/3 of the 80 character line is too much. > >> > >> You _WAS

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Aaro On Fri, Aug 3, 2012 at 1:08 PM, Aaro Koskinen wrote: > Hi, > > On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: >> > And really: Wasting 1/3 of the 80 character line is too much. >> >> You _WASTE_ 4 chars only if you are interested in this info by >> enabling: CONFIG_PRINTK_C

nfsroot problems with v3.6-rc1 on 37xx EVM and dynamic off-mode

2012-08-03 Thread Paul Walmsley
NFS is broken on 37xx EVM with v3.6-rc1 after return from off-mode with dynamic idle. System suspend ("echo mem > /sys/power/state") with off-mode enabled seems to work fine. No obvious ideas here as to what could have broken this. It worked in v3.5-rc2 + my omap_fixes_a_3.5rc at least: htt

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote: > > And really: Wasting 1/3 of the 80 character line is too much. > > You _WASTE_ 4 chars only if you are interested in this info by > enabling: CONFIG_PRINTK_CPUID I guess you waste 4 + 3 chars? You could optimize the length b

DSS and USBHOST powerdomains not entering low-power states on 37xx EVM

2012-08-03 Thread Paul Walmsley
Hi On v3.6-rc1 on 37xx EVM, DSS and USBHOST powerdomains aren't entering low-power states. Test log is below. - Paul Texas Instruments X-Loader 1.47 (Jan 14 2011 - 15:43:28) Starting X-loader on MMC Reading boot sector 212836 Bytes Read from MMC Starting OS Bootloader from MMC... Starti

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
On Fri, Aug 3, 2012 at 10:54 AM, Andi Kleen wrote: > Vikram Pandita writes: > >> From: Vikram Pandita >> >> Introduce config option to enable CPU id reporting for printk() calls. > > What's wrong with using trace_printk for this? trace_printk works only when you know the _exact_ path in code th

Re: [PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Andi Kleen
Vikram Pandita writes: > From: Vikram Pandita > > Introduce config option to enable CPU id reporting for printk() calls. What's wrong with using trace_printk for this? That's much faster anyways. Generally printk is so slow that it's typically useless for instrumenting races. And really: Wasti

Re: [PATCH 1/4] arm/dts: omap5-evm: Add I2C support

2012-08-03 Thread Sergei Shtylyov
Hello. On 08/03/2012 04:38 PM, Sourav Poddar wrote: > Add I2C data node in omap5 device tree file. > Tested on omap5430 sdp. > Cc: Benoit Cousson > Cc: Felipe Balbi > Cc: Santosh Shilimkar > Acked-by: Felipe Balbi > Signed-off-by: Sourav Poddar > --- > arch/arm/boot/dts/omap5.dtsi | 35

[PATCH v3] printk: add option to print cpu id

2012-08-03 Thread Vikram Pandita
From: Vikram Pandita Introduce config option to enable CPU id reporting for printk() calls. Example logs with this option enabled look like: [ 0] [0.063232] Mount-cache hash table entries: 512 [ 0] [0.068054] CPU: Testing write buffer coherency: ok [ 0] [0.068939] CPU0: thread

Re: [PATCH v2] printk: add option to print cpu id

2012-08-03 Thread Pandita, Vikram
Borislav/Kay On Fri, Aug 3, 2012 at 3:42 AM, Borislav Petkov wrote: > > On Fri, Aug 03, 2012 at 12:09:15PM +0200, Kay Sievers wrote: > > That would be needed, I guess. We easily have server systems with more > > than 255 CPUs. It will only be a matter of time, that the number of > > CPUs will inc

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 17:48 heeft "Hiremath, Vaibhav" het volgende geschreven: > On Fri, Aug 03, 2012 at 17:11:38, Daniel Mack wrote: >> On 03.08.2012 11:07, Hiremath, Vaibhav wrote: >>> I have just pushed the code (V7 which Ravi submitted), so can you please >>> try >>> with below branch? >>>

Re: [PATCH 2/3] ARM: OMAP: hwmod: revise deassert sequence

2012-08-03 Thread Omar Ramirez Luna
On 3 August 2012 00:24, Vaibhav Hiremath wrote: > On 8/3/2012 3:50 AM, Omar Ramirez Luna wrote: >> So in _enable: >> >> _enable_clocks(oh); >> if (soc_ops.enable_module) >> soc_ops.enable_module(oh); >> >> The enable_module part seems redundant to me, since the modu

RE: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Hiremath, Vaibhav
On Fri, Aug 03, 2012 at 17:11:38, Daniel Mack wrote: > On 03.08.2012 11:07, Hiremath, Vaibhav wrote: > > I have just pushed the code (V7 which Ravi submitted), so can you please > > try > > with below branch? > > > > https://github.com/hvaibhav/am335x-linux/tree/am335x-upstream-staging-usb > >

Re: [PATCH] hwmon: tmp102: Add device tree support

2012-08-03 Thread Benoit Cousson
Hi Sourav, On 08/03/2012 02:35 PM, Sourav Poddar wrote: > update tmp102 temperature sensor to also use device tree. > > Cc: Benoit Cousson > Cc: Felipe Balbi > Cc: Santosh Shilimkar > Acked-by: Felipe Balbi > Signed-off-by: Sourav Poddar > --- > drivers/hwmon/tmp102.c | 14 +-

Re: [PATCH v6 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 7:04 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:39:58PM +0530, Kishon Vijay Abraham I wrote: >> Added device tree support for omap musb driver and updated the >> Documentation with device tree binding information. >> >> Signed-off-by: Kishon Vijay Abra

Re: [PATCH v6 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 7:06 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:40:00PM +0530, Kishon Vijay Abraham I wrote: >> All the unnessary functions in omap-phy-internal is removed. >> These functionality are now handled by omap-usb2 phy driver. >> >> Cc: Felipe Balbi >> Sign

Re: [PATCH v6 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 7:02 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:39:56PM +0530, Kishon Vijay Abraham I wrote: >> Add device tree support for twl4030 usb driver. >> Update the Documentation with device tree binding information. >> >> Signed-off-by: Kishon Vijay Abraham

Re: [PATCH v6 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 7:01 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:39:54PM +0530, Kishon Vijay Abraham I wrote: >> Add device tree support for twl6030 usb driver. >> Update the Documentation with device tree binding information. >> >> Signed-off-by: Kishon Vijay Abraham

Re: [PATCH v6 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 6:59 PM, Felipe Balbi wrote: > On Mon, Jul 30, 2012 at 02:39:53PM +0530, Kishon Vijay Abraham I wrote: >> The mailbox register for usb otg in omap is present in control module. >> On detection of any events VBUS or ID, this register should be written >> to send the noti

Re: [PATCH v6 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 6:58 PM, Felipe Balbi wrote: > Hi, > > On Mon, Jul 30, 2012 at 02:39:52PM +0530, Kishon Vijay Abraham I wrote: >> All the PHY configuration other than VBUS, ID GND and OTG SRP are removed >> from twl6030. The phy configurations are taken care by the dedicated >> usb2 ph

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 6:57 PM, Felipe Balbi wrote: > On Mon, Jul 30, 2012 at 02:39:50PM +0530, Kishon Vijay Abraham I wrote: >> All phy related programming like enabling/disabling the clocks, powering >> on/off the phy is taken care of by this driver. It is also used for OTG >> related funct

Re: [PATCH v2 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Fri, Aug 3, 2012 at 6:50 PM, Felipe Balbi wrote: > Hi, > > On Wed, Jul 18, 2012 at 12:00:38PM +0530, Kishon Vijay Abraham I wrote: >> Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of >> creating all the devices that is connected to OCP2SCP. In the case of OMAP4, >>

Re: [PATCH v6 11/11] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:40:00PM +0530, Kishon Vijay Abraham I wrote: > All the unnessary functions in omap-phy-internal is removed. > These functionality are now handled by omap-usb2 phy driver. > > Cc: Felipe Balbi > Signed-off-by: Kishon Vijay Abraham I > Acked-by: Tony Lindgren Grea

Re: [PATCH v6 10/11] arm/dts: omap: Add usb_otg and glue data

2012-08-03 Thread Felipe Balbi
On Mon, Jul 30, 2012 at 02:39:59PM +0530, Kishon Vijay Abraham I wrote: > Add usb otg data node in omap4/omap3 device tree file. Also update > the node with board specific setting in omapx-.dts file. > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi > --- > arch/arm/boot/dts/om

Re: [PATCH v6 09/11] drivers: usb: musb: Add device tree support for omap musb glue

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:58PM +0530, Kishon Vijay Abraham I wrote: > Added device tree support for omap musb driver and updated the > Documentation with device tree binding information. > > Signed-off-by: Kishon Vijay Abraham I This looks good and I think I can take this without any de

Re: [PATCH v6 08/11] arm/dts: Add twl4030-usb data

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:57PM +0530, Kishon Vijay Abraham I wrote: > Add twl4030-usb data node in twl4030 device tree file. > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi > --- > arch/arm/boot/dts/twl4030.dtsi | 21 + > 1 file changed, 21 inse

Re: [PATCH v6 07/11] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:56PM +0530, Kishon Vijay Abraham I wrote: > Add device tree support for twl4030 usb driver. > Update the Documentation with device tree binding information. > > Signed-off-by: Kishon Vijay Abraham I I think this also doesn't have dependency on the rest of the s

Re: [PATCH 1/2] OMAP4: otg: phy: fix charger detection

2012-08-03 Thread Ruslan Bilovol
Hi, On Fri, Aug 3, 2012 at 12:01 PM, ABRAHAM, KISHON VIJAY wrote: > Hi, > > On Thu, Jul 5, 2012 at 2:12 PM, Ruslan Bilovol wrote: >> Charger detection feature is not correctly used >> and thus makes some regressions if OTG was used in >> the host mode. Charger detection takes 500 ms so >> if som

Re: [PATCH v6 06/11] arm/dts: Add twl6030-usb data

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:55PM +0530, Kishon Vijay Abraham I wrote: > Add twl6030-usb data node in twl6030 device tree file > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi > --- > arch/arm/boot/dts/omap4-panda.dts |4 > arch/arm/boot/dts/omap4-sdp.dts |

Re: [PATCH v6 05/11] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:54PM +0530, Kishon Vijay Abraham I wrote: > Add device tree support for twl6030 usb driver. > Update the Documentation with device tree binding information. > > Signed-off-by: Kishon Vijay Abraham I This looks great too. I can take this without any dependencies

Re: [PATCH v6 04/11] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-08-03 Thread Felipe Balbi
On Mon, Jul 30, 2012 at 02:39:53PM +0530, Kishon Vijay Abraham I wrote: > The mailbox register for usb otg in omap is present in control module. > On detection of any events VBUS or ID, this register should be written > to send the notification to musb core. > > Till we have a separate control mod

Re: [PATCH v6 03/11] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-08-03 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 02:39:52PM +0530, Kishon Vijay Abraham I wrote: > All the PHY configuration other than VBUS, ID GND and OTG SRP are removed > from twl6030. The phy configurations are taken care by the dedicated > usb2 phy driver. So twl6030 is made as comparator driver for VBUS and > I

Re: [PATCH v2 1/2] drivers: bus: add a new driver for omap-ocp2scp

2012-08-03 Thread Felipe Balbi
Hi, On Wed, Jul 18, 2012 at 12:00:38PM +0530, Kishon Vijay Abraham I wrote: > Adds a new driver *omap-ocp2scp*. This driver takes the responsibility of > creating all the devices that is connected to OCP2SCP. In the case of OMAP4, > USB2PHY is connected to ocp2scp. > > This also includes device t

Re: [PATCH v6 02/11] arm/dts: omap: Add omap-usb2 dt data

2012-08-03 Thread Felipe Balbi
On Mon, Jul 30, 2012 at 02:39:51PM +0530, Kishon Vijay Abraham I wrote: > Add omap-usb2 data node in omap4 device tree file. > > Signed-off-by: Kishon Vijay Abraham I looks good: Acked-by: Felipe Balbi > --- > arch/arm/boot/dts/omap4.dtsi |5 + > 1 file changed, 5 insertions(+) > >

Re: [PATCH v6 01/11] drivers: usb: otg: add a new driver for omap usb2 phy

2012-08-03 Thread Felipe Balbi
On Mon, Jul 30, 2012 at 02:39:50PM +0530, Kishon Vijay Abraham I wrote: > All phy related programming like enabling/disabling the clocks, powering > on/off the phy is taken care of by this driver. It is also used for OTG > related functionality like srp. > > This also includes device tree support

Re: [PATCH v2 2/2] arm/dts: omap4: Add ocp2scp data

2012-08-03 Thread Felipe Balbi
On Wed, Jul 18, 2012 at 12:00:39PM +0530, Kishon Vijay Abraham I wrote: > Add ocp2scp data node in omap4 device tree file. > > Signed-off-by: Kishon Vijay Abraham I Acked-by: Felipe Balbi > --- > arch/arm/boot/dts/omap4.dtsi |8 > 1 files changed, 8 insertions(+), 0 deletions(-)

Re: [PATCH 3/4] arm/dts: omap5-evm: Add keypad data

2012-08-03 Thread Poddar, Sourav
Hi, On Fri, Aug 3, 2012 at 6:20 PM, Koen Kooi wrote: > > Op 3 aug. 2012, om 14:38 heeft Sourav Poddar het > volgende geschreven: > >> Add keypad data node in omap5 device tree file. >> Also fill the device tree binding parameters >> with the required value in "omap5-evm" dts file. >> >> Tested

Re: [PATCH 3/4] arm/dts: omap5-evm: Add keypad data

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 14:38 heeft Sourav Poddar het volgende geschreven: > Add keypad data node in omap5 device tree file. > Also fill the device tree binding parameters > with the required value in "omap5-evm" dts file. > > Tested on omap5430 evm with 3.5 custom kernel. > > Cc: Benoit Cousson

Re: [PATCH] Revert "spi: omap2-mcspi: convert to module_platform_driver"

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 05:20:48PM +0530, Shubhrajyoti wrote: > On Friday 03 August 2012 03:28 PM, Felipe Balbi wrote: > >> [1.496124] spi spi1.0: setup mode 0, 8 bits/w, 600 Hz max --> 0 > >> > [1.503265] omap2_mcspi omap2_mcspi.1: registered child spi1.0 > >> > > >> > If I modif

[PATCH 0/4] Add device tree data for omap5

2012-08-03 Thread Sourav Poddar
The following patch series add i2c support for omap5. As well as enable I2C based devices like pressure and temperature through device tree. Also add onchip keypad dts data. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Sourav Poddar (4): arm/dts: omap5-evm: Add I2C support arm

[PATCH 1/4] arm/dts: omap5-evm: Add I2C support

2012-08-03 Thread Sourav Poddar
Add I2C data node in omap5 device tree file. Tested on omap5430 sdp. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Acked-by: Felipe Balbi Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5.dtsi | 35 +++ 1 files changed, 35 insertions(+),

[PATCH 2/4] arm/dts: omap5-evm: Add tmp102 sensor support

2012-08-03 Thread Sourav Poddar
Add tmp102 temperature sensor data in omap5 evm dts file. Tested on omap5430 sdp with 3.5 custom kernel. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Acked-by: Felipe Balbi Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5-evm.dts |9 + 1 files changed, 9 ins

[PATCH 3/4] arm/dts: omap5-evm: Add keypad data

2012-08-03 Thread Sourav Poddar
Add keypad data node in omap5 device tree file. Also fill the device tree binding parameters with the required value in "omap5-evm" dts file. Tested on omap5430 evm with 3.5 custom kernel. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Acked-by: Felipe Balbi Signed-off-by: Sourav P

[PATCH 4/4] arm/dts: omap5-evm: Add bmp085 sensor support

2012-08-03 Thread Sourav Poddar
Add bmp085 pressure sensor data in omap5 evm dts file. Tested on omap5430 sdp with 3.5 custom kernel. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Acked-by: Felipe Balbi Signed-off-by: Sourav Poddar --- arch/arm/boot/dts/omap5-evm.dts |9 + 1 files changed, 9 insert

[PATCH] hwmon: tmp102: Add device tree support

2012-08-03 Thread Sourav Poddar
update tmp102 temperature sensor to also use device tree. Cc: Benoit Cousson Cc: Felipe Balbi Cc: Santosh Shilimkar Acked-by: Felipe Balbi Signed-off-by: Sourav Poddar --- drivers/hwmon/tmp102.c | 14 +- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/drivers/hw

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 13:41 heeft Daniel Mack het volgende geschreven: > On 03.08.2012 11:07, Hiremath, Vaibhav wrote: >> I have just pushed the code (V7 which Ravi submitted), so can you please try >> with below branch? >> >> https://github.com/hvaibhav/am335x-linux/tree/am335x-upstream-stagin

Re: [RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-03 Thread Rob Clark
On Fri, Aug 3, 2012 at 1:01 AM, Semwal, Sumit wrote: > Hi Rob, Tomi, > On Thu, Aug 2, 2012 at 7:46 PM, Rob Clark wrote: >> On Thu, Aug 2, 2012 at 8:15 AM, Tomi Valkeinen wrote: >>> On Thu, 2012-08-02 at 07:45 -0500, Rob Clark wrote: On Thu, Aug 2, 2012 at 2:13 AM, Tomi Valkeinen wrot

Re: [PATCH] Revert "spi: omap2-mcspi: convert to module_platform_driver"

2012-08-03 Thread Shubhrajyoti
On Friday 03 August 2012 03:28 PM, Felipe Balbi wrote: >> [1.496124] spi spi1.0: setup mode 0, 8 bits/w, 600 Hz max --> 0 >> > [1.503265] omap2_mcspi omap2_mcspi.1: registered child spi1.0 >> > >> > If I modify the board file so that child spi1.0 is registered before >> > spi1.2, then

RE: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread B, Ravi
> On 03.08.2012 11:07, Hiremath, Vaibhav wrote: > > I have just pushed the code (V7 which Ravi submitted), so can you > > please try with below branch? > > > > > https://github.com/hvaibhav/am335x-linux/tree/am335x-upstream-staging- > > usb > > Thanks for doing this, but I'm unfortunately get

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Daniel Mack
On 03.08.2012 11:07, Hiremath, Vaibhav wrote: > I have just pushed the code (V7 which Ravi submitted), so can you please try > with below branch? > > https://github.com/hvaibhav/am335x-linux/tree/am335x-upstream-staging-usb Thanks for doing this, but I'm unfortunately getting tons of merge conf

RE: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Hiremath, Vaibhav
On Fri, Aug 03, 2012 at 15:44:32, Shilimkar, Santosh wrote: > On Fri, Aug 3, 2012 at 3:34 PM, Koen Kooi wrote: > > > > Op 3 aug. 2012, om 11:42 heeft "Hiremath, Vaibhav" het > > volgende geschreven: > > > >> On Fri, Aug 03, 2012 at 15:03:07, Koen Kooi wrote: > >>> > >>> Op 3 aug. 2012, om 11:27

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Shilimkar, Santosh
On Fri, Aug 3, 2012 at 4:02 PM, Hiremath, Vaibhav wrote: > On Fri, Aug 03, 2012 at 15:18:15, Shilimkar, Santosh wrote: >> On Fri, Aug 3, 2012 at 3:12 PM, Hiremath, Vaibhav wrote: >> > On Fri, Aug 03, 2012 at 15:03:07, Koen Kooi wrote: >> >> >> >> Op 3 aug. 2012, om 11:27 heeft "Shilimkar, Santosh

RE: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Hiremath, Vaibhav
On Fri, Aug 03, 2012 at 15:18:15, Shilimkar, Santosh wrote: > On Fri, Aug 3, 2012 at 3:12 PM, Hiremath, Vaibhav wrote: > > On Fri, Aug 03, 2012 at 15:03:07, Koen Kooi wrote: > >> > >> Op 3 aug. 2012, om 11:27 heeft "Shilimkar, Santosh" > >> het volgende geschreven: > >> > >> > On Fri, Aug 3, 201

RE: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Hiremath, Vaibhav
ch/arm/mach-omap2/pm44xx.c > >>> @@ -147,6 +147,9 @@ int __init omap4_pm_init(void) > >>> struct clockdomain *emif_clkdm, *mpuss_clkdm, *l3_1_clkdm, *l4wkup; > >>> struct clockdomain *ducati_clkdm, *l3_2_clkdm, *l4_per_clkdm; > >>> > &

RE: Current state of AM33xx patches

2012-08-03 Thread N, Mugunthan V
> -Original Message- > From: Koen Kooi [mailto:k...@dominion.thruhere.net] > Sent: Thursday, August 02, 2012 9:08 PM > To: Daniel Mack > Cc: N, Mugunthan V; Hiremath, Vaibhav; Paul Walmsley; Nori, Sekhar; > Jason Kridner; Tony Lindgren; Hilman, Kevin; Hernandez, Carlos; Maupin, > Chase; lin

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Shilimkar, Santosh
On Fri, Aug 3, 2012 at 3:34 PM, Koen Kooi wrote: > > Op 3 aug. 2012, om 11:42 heeft "Hiremath, Vaibhav" het > volgende geschreven: > >> On Fri, Aug 03, 2012 at 15:03:07, Koen Kooi wrote: >>> >>> Op 3 aug. 2012, om 11:27 heeft "Shilimkar, Santosh" >>> het volgende geschreven: >>> On Fri, A

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Koen Kooi
omap4_pm_init(void) >>> struct clockdomain *emif_clkdm, *mpuss_clkdm, *l3_1_clkdm, *l4wkup; >>> struct clockdomain *ducati_clkdm, *l3_2_clkdm, *l4_per_clkdm; >>> >>> + if (!cpu_is_omap44xx()) >>> + return -ENODEV; >&g

Re: [PATCH] Revert "spi: omap2-mcspi: convert to module_platform_driver"

2012-08-03 Thread Felipe Balbi
Hi, On Fri, Aug 03, 2012 at 12:45:53PM +0300, Aaro Koskinen wrote: > Hi, > > On Fri, Aug 03, 2012 at 11:05:27AM +0300, Tomi Valkeinen wrote: > > On Thu, 2012-08-02 at 17:54 -0600, Grant Likely wrote: > > > On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen > > > wrote: > > > > This reverts commit 9f

Re: [PATCH V3 1/2] of: Add generic device tree DMA helpers

2012-08-03 Thread Vinod Koul
On Wed, 2012-08-01 at 15:43 -0500, Jon Hunter wrote: > Hi Vinod, > > On 07/31/2012 06:12 AM, Vinod Koul wrote: > > On Thu, 2012-07-26 at 12:43 -0500, Jon Hunter wrote: > So yes I can see that a channel itself could be configured to > >> support a > given direction, but when we ask for a

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Shilimkar, Santosh
On Fri, Aug 3, 2012 at 3:12 PM, Hiremath, Vaibhav wrote: > On Fri, Aug 03, 2012 at 15:03:07, Koen Kooi wrote: >> >> Op 3 aug. 2012, om 11:27 heeft "Shilimkar, Santosh" >> het volgende geschreven: >> >> > On Fri, Aug 3, 2012 at 2:00 PM, Koen Kooi >> > wrote: >> >> >> >> Op 3 aug. 2012, om 09:21

Re: [PATCH] Revert "spi: omap2-mcspi: convert to module_platform_driver"

2012-08-03 Thread Aaro Koskinen
Hi, On Fri, Aug 03, 2012 at 11:05:27AM +0300, Tomi Valkeinen wrote: > On Thu, 2012-08-02 at 17:54 -0600, Grant Likely wrote: > > On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen wrote: > > > This reverts commit 9fdca9dfe093c76fe1ac1a09888ba9679d46996a. > > > > > > Changing omap2_mcspi_init() from su

RE: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Hiremath, Vaibhav
47,6 +147,9 @@ int __init omap4_pm_init(void) > >struct clockdomain *emif_clkdm, *mpuss_clkdm, *l3_1_clkdm, *l4wkup; > >struct clockdomain *ducati_clkdm, *l3_2_clkdm, *l4_per_clkdm; > > > > + if (!cpu_is_omap44xx()) > > + return -ENODEV

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 11:27 heeft "Shilimkar, Santosh" het volgende geschreven: > On Fri, Aug 3, 2012 at 2:00 PM, Koen Kooi wrote: >> >> Op 3 aug. 2012, om 09:21 heeft Koen Kooi het >> volgende geschreven: >> >>> >>> Op 3 aug. 2012, om 09:16 heeft Daniel Mack het volgende >>> geschreven: >

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Shilimkar, Santosh
On Fri, Aug 3, 2012 at 2:00 PM, Koen Kooi wrote: > > Op 3 aug. 2012, om 09:21 heeft Koen Kooi het > volgende geschreven: > >> >> Op 3 aug. 2012, om 09:16 heeft Daniel Mack het volgende >> geschreven: >> >>> On 30.03.2012 15:27, Santosh Shilimkar wrote: For coupled cpuidle to work when bot

Re: [PATCH v2 1/2] arm/dts: AM33XX: Add D_CAN device tree data

2012-08-03 Thread Vaibhav Hiremath
On 7/26/2012 6:34 PM, Sergei Shtylyov wrote: > Hello. > > On 26-07-2012 12:36, Daniel Mack wrote: > Add Bosch D_CAN controller device tree data to AM33XX dtsi file by adding d_can device node with all the necessary parameters. > Signed-off-by: AnilKumar Ch --- arch

RE: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Hiremath, Vaibhav
On Fri, Aug 03, 2012 at 14:32:35, Daniel Mack wrote: > On 03.08.2012 10:43, Ajay Gupta wrote: > >> On 03.08.2012 02:54, B, Ravi wrote: > On 02.08.2012 14:12, Ravi Babu wrote: > > >> However, I needed to add a phandle "usb0-phy = <&usb0_phy>" to the > >> usb_otg_hs DTSI block, otherwise devm_u

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Daniel Mack
On 03.08.2012 10:43, Ajay Gupta wrote: >> On 03.08.2012 02:54, B, Ravi wrote: On 02.08.2012 14:12, Ravi Babu wrote: >> However, I needed to add a phandle "usb0-phy = <&usb0_phy>" to the >> usb_otg_hs DTSI block, otherwise devm_usb_get_phy_by_phandle() in >> drivers/usb/musb/musb_dsps.c would

Re: [PATCH 1/2] OMAP4: otg: phy: fix charger detection

2012-08-03 Thread ABRAHAM, KISHON VIJAY
Hi, On Thu, Jul 5, 2012 at 2:12 PM, Ruslan Bilovol wrote: > Charger detection feature is not correctly used > and thus makes some regressions if OTG was used in > the host mode. Charger detection takes 500 ms so > if some device is attached to the host after 500 ms > it will be suddenly resetted.

RE: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread B, Ravi
Hi Daniel > > >>> This series of patches adds, > > >>> a) Multi instances support in musb driver > > >>> b) DT support for musb_dsps glue layer > > >>> c) DT support for NOP transceiver > > >>> > > >>> AM33xx and TI81xx has dual musb controller and has two usb > > >> PHY of same type. > > >>> This

RE: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Ajay Gupta
Hi, > On 03.08.2012 02:54, B, Ravi wrote: > >> On 02.08.2012 14:12, Ravi Babu wrote: > >>> This series of patches adds, > >>> a) Multi instances support in musb driver > >>> b) DT support for musb_dsps glue layer > >>> c) DT support for NOP transceiver > >>> > >>> AM33xx and TI81xx has dual musb co

Re: [PATCH 2/2] OMAP4: otg: phy: remove uggly mdelay(200)

2012-08-03 Thread Ruslan Bilovol
Hi, On Fri, Aug 3, 2012 at 9:51 AM, ABRAHAM, KISHON VIJAY wrote: > > Hi, > > On Thu, Jul 5, 2012 at 2:12 PM, Ruslan Bilovol > wrote: > > The original issue with powering on the PHY (and using > > 200 ms delay after this) is not related to internal > > processes in the PHY but is in the incorrec

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 09:21 heeft Koen Kooi het volgende geschreven: > > Op 3 aug. 2012, om 09:16 heeft Daniel Mack het volgende > geschreven: > >> On 30.03.2012 15:27, Santosh Shilimkar wrote: >>> For coupled cpuidle to work when both cpus are active, it needs a global >>> timer >>> that can

RE: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Hiremath, Vaibhav
On Fri, Aug 03, 2012 at 12:46:54, Daniel Mack wrote: > On 30.03.2012 15:27, Santosh Shilimkar wrote: > > For coupled cpuidle to work when both cpus are active, it needs a global > > timer > > that can handle events for both cpus. This timer is used as the broadcast > > clock-event when the per-cp

Re: [PATCH v7 00/11] usb: musb: adding multi instance support

2012-08-03 Thread Daniel Mack
On 03.08.2012 02:54, B, Ravi wrote: >> On 02.08.2012 14:12, Ravi Babu wrote: >>> This series of patches adds, >>> a) Multi instances support in musb driver >>> b) DT support for musb_dsps glue layer >>> c) DT support for NOP transceiver >>> >>> AM33xx and TI81xx has dual musb controller and has two

Re: [PATCH] Revert "spi: omap2-mcspi: convert to module_platform_driver"

2012-08-03 Thread Tomi Valkeinen
On Thu, 2012-08-02 at 17:54 -0600, Grant Likely wrote: > On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen wrote: > > This reverts commit 9fdca9dfe093c76fe1ac1a09888ba9679d46996a. > > > > Changing omap2_mcspi_init() from subsys_initcall to device_initcall broke > > the display initialization on N900 w

Re: [PATCH 1/1] ARM: OMAP3: igep0020: set GPIO mode for mux mcspi1_cs2 pin

2012-08-03 Thread Javier Martinez Canillas
On Wed, Jul 18, 2012 at 9:20 AM, Tony Lindgren wrote: > * Javier Martinez Canillas [120717 00:16]: >> >> Hi Tony, >> >> Just pinging to see if you have further comments on this patch or if >> it can be applied. It solves a bug on IGEPv2 boards. >> >> I know the trend is to move away from board co

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Koen Kooi
Op 3 aug. 2012, om 09:16 heeft Daniel Mack het volgende geschreven: > On 30.03.2012 15:27, Santosh Shilimkar wrote: >> For coupled cpuidle to work when both cpus are active, it needs a global >> timer >> that can handle events for both cpus. This timer is used as the broadcast >> clock-event

Re: [PATCH 1/3] ARM: OMAP: timer: allow gp timer clock-event to be used on both cpus

2012-08-03 Thread Daniel Mack
On 30.03.2012 15:27, Santosh Shilimkar wrote: > For coupled cpuidle to work when both cpus are active, it needs a global timer > that can handle events for both cpus. This timer is used as the broadcast > clock-event when the per-cpu timer hardware stop in low power states. > Set the cpumask of cl