[RFC 1/5] USB: core: Add input prompt and help text for USB_OTG config

2010-12-15 Thread Pavankumar Kondeti
bd6882 commit removes the duplicate USB_OTG config from gadget/Kconfig. But does not copy the input prompt and help text to the original config defined in core/Kconfig. Add them now. Signed-off-by: Pavankumar Kondeti pkond...@codeaurora.org --- drivers/usb/core/Kconfig | 12 ++-- 1

[RFC 3/5] USB: gadget: OTG supplement revision 2.0 updates

2010-12-15 Thread Pavankumar Kondeti
Introduce otg_version field in usb_gadget struct. UDC can advertise OTG spec version compatibility by setting otg_version field appropriately. Gadget drivers fill the bcdOTG field in OTG descriptor based on UDC's OTG version. Add sysfs file for host_request and UDC returns the same when HNP

Re: [RFC 5/5] USB: Eliminate delays involved in root hub initialization during HNP

2010-12-15 Thread Felipe Balbi
On Wed, Dec 15, 2010 at 04:44:14PM +0530, Pavankumar Kondeti wrote: Some USB controllers have common resources (IRQ, register address space) for Host, Peripheral and OTG. So HCD is added only before entering into Host mode. Root hub initialization is done in different steps to decrease boot up

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread David Brown
On Wed, Dec 15, 2010 at 04:17:48PM +0300, Sergei Shtylyov wrote: On 15-12-2010 6:49, Stepan Moskovchenko wrote: Add the physical memory offset value for the Qualcomm MSM8960 chip. Signed-off-by: Stepan Moskovchenkostep...@codeaurora.org [...] diff --git

Re: [PATCH 1/5] msm: Secure Channel Manager (SCM) support

2010-12-15 Thread David Brown
On Wed, Dec 15, 2010 at 08:48:11AM +0100, Pavel Machek wrote: +static u32 smc(dma_addr_t cmd_addr) +{ + int context_id; + register u32 r0 asm(r0) = 1; + register u32 r1 asm(r1) = (u32)context_id; + register u32 r2 asm(r2) = (u32)cmd_addr; Are these neccessary? The values

Re: [PATCH 1/2] msm: gpiomux: Improve gpiomux interface design.

2010-12-15 Thread Daniel Walker
On Mon, 2010-12-13 at 09:02 -0800, Gregory Bean wrote: Fix the gpiomux interface by: - collapsing redundant abstractions into shared common ones - disconnecting gpiomux abstractions from particular MSM implementations - moving platform-specific details out of the common abstraction - moving

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread Daniel Walker
On Wed, 2010-12-15 at 05:55 -0800, David Brown wrote: On Wed, Dec 15, 2010 at 04:17:48PM +0300, Sergei Shtylyov wrote: On 15-12-2010 6:49, Stepan Moskovchenko wrote: Add the physical memory offset value for the Qualcomm MSM8960 chip. Signed-off-by: Stepan

Re: [PATCH 1/2] MSM: Add USB suport for QSD8x50

2010-12-15 Thread Daniel Walker
On Tue, 2010-12-14 at 09:10 +0530, Pavan Kondeti wrote: Hi Daniel, Are you talking to me? read below, On 12/8/2010 1:37 PM, Pavankumar Kondeti wrote: OTG driver takes care of putting hardware into low power mode. Hence make peripheral and host devices as children of OTG device and let

Re: [PATCH 1/2] MSM: Add USB suport for QSD8x50

2010-12-15 Thread pkondeti
On Tue, 2010-12-14 at 09:10 +0530, Pavan Kondeti wrote: Hi Daniel, Are you talking to me? read below, On 12/8/2010 1:37 PM, Pavankumar Kondeti wrote: OTG driver takes care of putting hardware into low power mode. Hence make peripheral and host devices as children of OTG device and let

Re: [PATCH 7/7] msm: Build support for the MSM8960 target

2010-12-15 Thread Arnd Bergmann
On Wednesday 15 December 2010, Stepan Moskovchenko wrote: Add the Kconfig options and Makefile options needed to build for the MSM8960 target. Only the simulator is supported at this time. Signed-off-by: Stepan Moskovchenko step...@codeaurora.org There is no need to split the

Re: [PATCH 1/7] msm: io: I/O register definitions for MSM8960

2010-12-15 Thread David Brown
On Wed, Dec 15, 2010 at 04:31:11PM +0100, Arnd Bergmann wrote: On Wednesday 15 December 2010, Stepan Moskovchenko wrote: In this particular case, it's rather confusing, because one would assume that MSM8960 is a subset of MSM8X60! Unfortunately, this is not the case, and I'm not sure what

Re: [PATCH 4/7] msm: Board file for MSM8960 simulator

2010-12-15 Thread Arnd Bergmann
On Wednesday 15 December 2010, Stepan Moskovchenko wrote: +#ifdef CONFIG_MSM_DEBUG_UART + .phys_io = MSM_DEBUG_UART_PHYS, + .io_pg_offst = ((MSM_DEBUG_UART_BASE) 18) 0xfffc, +#endif These fields are no longer present in the machine description, AFAICT. Arnd -- To

Re: [PATCH v5 5/5] msm: add SMP support for msm

2010-12-15 Thread Russell King - ARM Linux
On Wed, Dec 15, 2010 at 05:44:14AM -0800, David Brown wrote: On Wed, Dec 15, 2010 at 12:35:18PM +, Catalin Marinas wrote: On 14 December 2010 04:50, Jeff Ohlstein johls...@codeaurora.org wrote: +       outer_clean_range(__pa(pen_release), __pa(pen_release + 1)); +       __asm__(sev);

Re: [PATCH 1/5] msm: Secure Channel Manager (SCM) support

2010-12-15 Thread Russell King - ARM Linux
On Wed, Dec 15, 2010 at 06:05:58AM -0800, David Brown wrote: On Wed, Dec 15, 2010 at 08:48:11AM +0100, Pavel Machek wrote: +static u32 smc(dma_addr_t cmd_addr) +{ + int context_id; + register u32 r0 asm(r0) = 1; + register u32 r1 asm(r1) = (u32)context_id; + register u32 r2

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread Steve Muckle
On 12/15/10 07:38, David Brown wrote: There's not very much copying here, in fact there isn't very much to the 8960 support to begin with. Despite the confusing names, 8960 is quite a bit different from 8[26]60. I agree we would probably be best with different names, which might help make

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread Daniel Walker
On Wed, 2010-12-15 at 07:38 -0800, David Brown wrote: On Wed, Dec 15, 2010 at 06:40:54AM -0800, Daniel Walker wrote: -#elif defined(CONFIG_ARCH_MSM8X60) +#elif defined(CONFIG_ARCH_MSM8X60) || defined(CONFIG_ARCH_MSM8960) I guess it's a matter of style, and what one is trying to

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread Steve Muckle
On 12/15/10 09:55, Daniel Walker wrote: The board file is very similar, plus the ifdefs. The code differences are the io and irq's .. The naming issue and the duplication can be 8x60 and 8960 are expected to diverge over time. It is not worth it to try and make them common in this early stage

Re: [PATCH 2/7] msm: Physical offset for MSM8960

2010-12-15 Thread Daniel Walker
On Wed, 2010-12-15 at 10:07 -0800, Steve Muckle wrote: On 12/15/10 09:55, Daniel Walker wrote: The board file is very similar, plus the ifdefs. The code differences are the io and irq's .. The naming issue and the duplication can be 8x60 and 8960 are expected to diverge over time. It is

[PATCH] msm: smd: Add smd_tty driver

2010-12-15 Thread Niranjana Vishwanathapura
Add smd_tty driver which provides tty device interface to 'DS' and 'GPSNMEA' streaming SMD ports. Cc: Brian Swetland swetl...@google.com Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/char/Kconfig |8 ++ drivers/char/Makefile |2 +

[PATCH] msm: smd: Add smd_pkt driver

2010-12-15 Thread Niranjana Vishwanathapura
Add smd_pkt driver which provides device interface to smd packet ports. Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/char/Kconfig |8 + drivers/char/Makefile |2 + drivers/char/msm_smd_pkt.c | 466 3

[PATCH] msm: rmnet: msm rmnet smd virtual ethernet driver

2010-12-15 Thread Niranjana Vishwanathapura
Virtual ethernet interface for MSM RMNET SMD transport. This driver creates network devices which use underlaying SMD ports as transport. This driver enables sending and receving IP packets to baseband processor in MSM chipsets. Cc: Brian Swetland swetl...@google.com Signed-off-by: Niranjana

[PATCH 0/5] MSM RPC Patches

2010-12-15 Thread Niranjana Vishwanathapura
This set of patches include MSM RPC Router, a test Ping RPC client driver and MSM RPC Dog Keepalive Server driver. Niranjana Vishwanathapura nvish...@codeaurora.org -- To unsubscribe from this list: send the line unsubscribe linux-arm-msm in the body of a message to majord...@vger.kernel.org

[PATCH 3/5] msm: rpc: Add support for RPC servers

2010-12-15 Thread Niranjana Vishwanathapura
Add support for RPC servers on host processor so that clients on remote processor can talk to it. Cc: San Mehat s...@android.com Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/misc/Makefile|1 + drivers/misc/msm_rpcrouter.h | 17

[PATCH 4/5] msm: rpc: dog keepalive rpc server support

2010-12-15 Thread Niranjana Vishwanathapura
Add dog keepalive rpc server to handle watchdog events from remote processor. Cc: Iliyan Malchev i...@android.com Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/misc/Kconfig|7 +++ drivers/misc/Makefile |1 +

[PATCH 1/5] msm: rpc: shared memory rpc router

2010-12-15 Thread Niranjana Vishwanathapura
The RPC router provides access to the RPC services running on the baseband core from kernel. Cc: San Mehat s...@android.com Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/misc/Kconfig |8 + drivers/misc/Makefile|1 +

[PATCH 5/5] msm: rpc: ping modem client driver

2010-12-15 Thread Niranjana Vishwanathapura
Ping rpc client driver which talks to remote Ping rpc server. This is a test module to ensure working of rpc clients from kernel. Signed-off-by: Niranjana Vishwanathapura nvish...@codeaurora.org --- drivers/misc/Kconfig |7 + drivers/misc/Makefile |1 +

Re: [PATCH 0/5] MSM RPC Patches

2010-12-15 Thread Kanigeri, Hari
Niranjana, On Wed, Dec 15, 2010 at 12:54 PM, Niranjana Vishwanathapura nvish...@codeaurora.org wrote: This set of patches include MSM RPC Router, a test Ping RPC client driver and MSM RPC Dog Keepalive Server driver. What is RPC router ? Can you please provide more description on what this

Re: [PATCH] msm: rmnet: msm rmnet smd virtual ethernet driver

2010-12-15 Thread Arnd Bergmann
On Wednesday 15 December 2010 19:31:06 Niranjana Vishwanathapura wrote: +struct rmnet_private { + smd_channel_t *ch; + struct net_device_stats stats; + const char *chname; +#ifdef CONFIG_MSM_RMNET_DEBUG + ktime_t last_packet; + short active_countdown; /* Number

Re: [RFC 2/5] USB: core: OTG Supplement Revision 2.0 updates

2010-12-15 Thread Alan Stern
On Wed, 15 Dec 2010, Pavankumar Kondeti wrote: OTG supplement revision 2.0 spec introduces Attach Detection Protocol (ADP) for detecting peripheral connection without applying power on VBUS. ADP is optional and is included in the OTG descriptor along with SRP and HNP. HNP polling is

Re: [RFC 2/5] USB: core: OTG Supplement Revision 2.0 updates

2010-12-15 Thread Alan Stern
On Wed, 15 Dec 2010, Felipe Balbi wrote: +{ +int ret; +struct usb_bus *bus = +container_of(work, struct usb_bus, hnp_polling.work); +struct usb_device *udev = bus-root_hub-children[bus-otg_port - 1]; +u8 *status = kmalloc(sizeof(*status), GFP_KERNEL); how

Re: [PATCH] msm: rmnet: msm rmnet smd virtual ethernet driver

2010-12-15 Thread Stephen Hemminger
On Wed, 15 Dec 2010 10:31:06 -0800 Niranjana Vishwanathapura nvish...@codeaurora.org wrote: + +static void rmnet_tx_timeout(struct net_device *dev) +{ + pr_info(rmnet_tx_timeout()\n); +} The purpose of having a tx_timeout is to clear the pending request. -- -- To unsubscribe from this

Re: [RFC 1/5] USB: core: Add input prompt and help text for USB_OTG config

2010-12-15 Thread Greg KH
On Wed, Dec 15, 2010 at 04:44:10PM +0530, Pavankumar Kondeti wrote: bd6882 commit removes the duplicate USB_OTG config from gadget/Kconfig. But does not copy the input prompt and help text to the original config defined in core/Kconfig. Add them now. Signed-off-by: Pavankumar Kondeti

[PATCH v5 0/5] SMP support for msm

2010-12-15 Thread Jeff Ohlstein
This series adds support for SMP on msm targets, and specifically adds support for SMP on the msm8x60. This version is rebased on top of Russell's SMP and gic patches, and has fixes for hotplug and smp. This version changes the hotplug and smp code to be more similar to the realview

[PATCH v5 4/5] msm: hotplug: support cpu hotplug on msm

2010-12-15 Thread Jeff Ohlstein
Signed-off-by: Jeff Ohlstein johls...@codeaurora.org --- arch/arm/mach-msm/Makefile |2 + arch/arm/mach-msm/hotplug.c | 91 +++ 2 files changed, 93 insertions(+), 0 deletions(-) create mode 100644 arch/arm/mach-msm/hotplug.c diff --git

[PATCH v5 3/5] msm: timer: SMP timer support for msm

2010-12-15 Thread Jeff Ohlstein
The msm provides timer hardware that is private to each core. Each timer has separate counter and match registers, so we create separate clock_event_devices for each core. For the global clocksource, use cpu 0's counter. Signed-off-by: Jeff Ohlstein johls...@codeaurora.org ---