Re: [PATCH 2/5] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers > 512

2015-06-10 Thread Sergei Shtylyov
On 06/10/2015 12:18 PM, Kishon Vijay Abraham I wrote: No functional change. This is in preparation for handling non maxpacket aligned transfers greater than bounce buffer size. This is basically to avoid code duplication when using chained TRB transfers to handle non maxpacket aligned transfers

Re: [PATCH 3/5] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter

2015-06-10 Thread Sergei Shtylyov
Hello. On 06/10/2015 12:18 PM, Kishon Vijay Abraham I wrote: No functional change. Added a new parameter in _dwc3_ep0_start_trans_ to indicate whether the TRB is a chained TRB or last TRB. This is in preparation for adding chained TRB support for ep0. Signed-off-by: Kishon Vijay Abraham I -

Re: [PATCH 4/5] usb: dwc3: ep0: Add chained TRB support

2015-06-10 Thread Sergei Shtylyov
Hello. On 06/10/2015 12:18 PM, Kishon Vijay Abraham I wrote: Add chained TRB support to ep0. Now TRB's can be chained just by invoking _dwc3_ep0_start_trans_ with 'chain' parameter set to true. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c| 16 +--- d

Re: [PATCH 1/2] ARM: DRA7: hwmod: fix gpmc hwmod

2015-06-10 Thread Roger Quadros
Paul, On Tue, 2 Jun 2015 21:34:58 + Paul Walmsley wrote: > On Tue, 2 Jun 2015, Roger Quadros wrote: > > > GPMC smart idle is not really broken but it does not support > > smart idle with wakeup. > > > > Fixes: 556708fe8718 ("ARM: OMAP: DRA7: hwmod: Make gpmc software supervised > > as the

Re: [PATCH 09/15] mfd: kill off set_irq_flags usage

2015-06-10 Thread Linus Walleij
On Tue, Jun 9, 2015 at 8:26 PM, Rob Herring wrote: > set_irq_flags is ARM specific with custom flags which have genirq > equivalents. Convert drivers to use the genirq interfaces directly, so we > can kill off set_irq_flags. The translation of flags is as follows: > > IRQF_VALID -> !IRQ_NOREQUEST

Re: EDMA oftree entry for AM335x

2015-06-10 Thread Peter Ujfalusi
On 06/10/2015 08:10 AM, Tony Lindgren wrote: > * Robert Schwebel [150608 04:01]: >> On Wed, May 06, 2015 at 07:39:52AM -0700, Tony Lindgren wrote: >>> >>> That may never happen considering that davinci is using it too.. It's >>> best to not count on that happening anytime soon at least. >> >> So m

[PATCH 1/3] ARM: OMAP2+: hwmod: add support for lock and unlock hooks

2015-06-10 Thread Lokesh Vutla
Some IP blocks like RTC, needs an additional setting for writing to its registers. This is to prevent any spurious writes from changing the register values. This patch adds optional lock and unlock function pointers to the IP block's hwmod data. These unlock and lock function pointers are called b

[PATCH 0/3] ARM: OMAP2+: hwmod: RTC: Add lock and unlock hooks

2015-06-10 Thread Lokesh Vutla
Some IP blocks like RTC, needs an additional unlocking mechanism for writing to its registers. This patch adds optional lock and unlock function pointers to the IP block's hwmod data which gets executed before and after writing into IP sysconfig register. And also hook lock and unlock functions to

[PATCH 3/3] ARM: AMx3xx: hwmod: RTC: Add lock and unlock functions

2015-06-10 Thread Lokesh Vutla
RTC IP have kicker feature which prevents spurious writes to its registers. In order to write into any of the RTC registers, KICK values has to be written to KICK registers. omap_hwmod_rtc_unlock/lock functions writes into these KICK registers inorder to lock and unlock RTC registers. This patch h

[PATCH 2/3] ARM: DRA: hwmod: RTC: Add lock and unlock functions

2015-06-10 Thread Lokesh Vutla
RTC IP have kicker feature which prevents spurious writes to its registers. In order to write into any of the RTC registers, KICK values has to be written to KICK registers. Introduce omap_hwmod_rtc_unlock/lock functions, which writes into these KICK registers inorder to lock and unlock RTC regis

[PATCH 5/5] usb: dwc3: ep0: handle non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
Use chained TRB mechanism to handle non maxpacket aligned transfers greater than bounce buffer size. With this the first TRB will be programmed to receive 'ALIGN(ur->length - maxp, maxp)' data and the second TRB will be programmed to receive the remaining data using bounce buffer. Signed-off-by: K

[PATCH 3/5] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Added a new parameter in _dwc3_ep0_start_trans_ to indicate whether the TRB is a chained TRB or last TRB. This is in preparation for adding chained TRB support for ep0. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c | 15 --- 1 file changed,

[PATCH 1/5] usb: dwc3: ep0: use _roundup_ to calculate the transfer size

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Used _roundup_ macro to calculate the transfer size aligned to maxpacket in dwc3_ep0_complete_data. It also makes it similar to how transfer size is calculated in __dwc3_ep0_do_control_data. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c |4 +--- 1 fi

[PATCH 2/5] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. This is in preparation for handling non maxpacket aligned transfers greater than bounce buffer size. This is basically to avoid code duplication when using chained TRB transfers to handle non maxpacket aligned transfers greater than bounce buffer size. Signed-off-by: Kishon V

[PATCH 0/5] usb: dwc3: handle non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
Patch series adds support to handle non maxpacket aligned transfers greater than bounce buffer size (512). It first adds chained TRB support and then uses it to handle non maxpacket aligned transfers greater than bounce buffer size. Also included a cleanup patch to use 'roundup' macro. This serie

[PATCH 4/5] usb: dwc3: ep0: Add chained TRB support

2015-06-10 Thread Kishon Vijay Abraham I
Add chained TRB support to ep0. Now TRB's can be chained just by invoking _dwc3_ep0_start_trans_ with 'chain' parameter set to true. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c| 16 +--- drivers/usb/dwc3/gadget.c |2 +- 2 files changed, 14 insertions(+)

Re: next-20150604 build: 2 failures 37 warnings (next-20150604)

2015-06-10 Thread Tony Lindgren
* Greg Kroah-Hartman [150608 13:58]: > On Fri, Jun 05, 2015 at 06:16:52PM +0100, Mark Brown wrote: > > On Fri, Jun 05, 2015 at 07:49:00PM +0900, Greg Kroah-Hartman wrote: > > > On Thu, Jun 04, 2015 at 10:20:26AM -0700, Tony Lindgren wrote: > > > > > > Greg, there's now commit 9809889c708e in tty-