[PATCH v3 01/46] usb: gadget: encapsulate endpoint claiming mechanism

2015-07-14 Thread Robert Baldyga
So far it was necessary for usb functions to set ep->driver_data in endpoint obtained from autoconfig to non-null value, to indicate that endpoint is claimed by function (in autoconfig it was checked if endpoint has set this field to non-null value, and if it has, it was assumed that it is claimed)

[PATCH v3 00/46] usb: gadget: rework ep matching and claiming mechanism

2015-07-14 Thread Robert Baldyga
Hello, This patch series reworks endpoint matching and claiming mechanism in epautoconf. From v2 there are couple of new patches adding 'ep_match' to usb_gadget_ops and removing chip-specific quirk handling from generic code of autoconfig. I'm not sure if this patch set isn't too long, as it has

[PATCH v3 02/46] usb: gadget: add endpoint capabilities flags

2015-07-14 Thread Robert Baldyga
Introduce struct usb_ep_caps which contains information about capabilities of usb endpoints - supported transfer types and directions. This structure should be filled by UDC driver for each of its endpoints, and will be used in epautoconf in new ep matching mechanism which will replace ugly guessin

[PATCH v3 06/46] usb: dwc2: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/dwc2/gadget.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 4d47b7c..8771b66 100644 --- a/drivers/usb/dwc2/gadg

[PATCH v3 07/46] usb: dwc3: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/dwc3/gadget.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 333a7c0..8d1f768 100644 --- a/drivers/usb/dwc3/gadg

[PATCH v3 03/46] usb: gadget: add endpoint capabilities helper macros

2015-07-14 Thread Robert Baldyga
Add macros useful while initializing array of endpoint capabilities structures. These macros makes structure initialization more compact to decrease number of code lines and increase readability of code. Signed-off-by: Robert Baldyga --- include/linux/usb/gadget.h | 20 1 fi

[PATCH v3 04/46] staging: emxx_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Fixed typo in "epc-nulk" to "epc-bulk". Signed-off-by: Robert Baldyga --- drivers/staging/emxx_udc/emxx_udc.c | 60 ++--- 1 file changed, 29 insertions(+), 31 deletions(-) diff --git a/drivers/staging/emx

[PATCH v3 05/46] usb: chipidea: udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/chipidea/udc.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index 764f668..eff7cfb 100644 --- a/drivers/usb/chipi

[PATCH v3 09/46] usb: gadget: at91_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/at91_udc.c | 33 - 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/drivers/usb/gadget/udc/at91_udc.c b/drivers/usb/gadget/udc/at91_ud

[PATCH v3 10/46] usb: gadget: bcm63xx_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/bcm63xx_udc.c | 25 + 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/drivers/usb/gadget/udc/bcm63xx_udc.c b/drivers/usb/gadget/udc/bcm63xx_u

[PATCH v3 08/46] usb: gadget: amd5536udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/amd5536udc.c | 57 ++--- 1 file changed, 47 insertions(+), 10 deletions(-) diff --git a/drivers/usb/gadget/udc/amd5536udc.c b/drivers/usb/gadget/ud

[PATCH v3 14/46] usb: gadget: fsl_qe_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fsl_qe_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fsl_qe_udc.c b/drivers/usb/gadget/udc/fsl_qe_udc.c index e0822f1..5fb6f8b 10064

[PATCH v3 17/46] usb: gadget: goku_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/goku_udc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/gadget/udc/goku_udc.c b/drivers/usb/gadget/udc/goku_udc.c index 9e8d842..46b8d14 100644 --- a/dri

[PATCH v3 12/46] usb: gadget: dummy-hcd: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/dummy_hcd.c | 65 +- 1 file changed, 50 insertions(+), 15 deletions(-) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc

[PATCH v3 18/46] usb: gadget: gr_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/gr_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/gr_udc.c b/drivers/usb/gadget/udc/gr_udc.c index c886887..8aa2593 100644 --- a/drive

[PATCH v3 19/46] usb: gadget: lpc32xx_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/lpc32xx_udc.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc/lpc32xx_udc.c b/drivers/usb/gadget/udc/lpc32xx_udc.c inde

[PATCH v3 23/46] usb: gadget: net2272: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/net2272.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/net2272.c b/drivers/usb/gadget/udc/net2272.c index 195baf3..34ec1ec 100644 --- a/dr

[PATCH v3 22/46] usb: gadget: mv_udc_core: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/mv_udc_core.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/mv_udc_core.c b/drivers/usb/gadget/udc/mv_udc_core.c index d32160d..306a7ff 100644

[PATCH v3 27/46] usb: gadget: pxa25x_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pxa25x_udc.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c b/drivers/usb/gadget/udc/pxa25x_udc.c index f

[PATCH v3 34/46] usb: musb: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/musb/musb_gadget.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 625d482f..043248a 100644 --- a/driver

[PATCH v3 29/46] usb: gadget: r8a66597-udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/r8a66597-udc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/gadget/udc/r8a66597-udc.c b/drivers/usb/gadget/udc/r8a66597-udc.c index 0293f71..baa0609

[PATCH v3 31/46] usb: gadget: s3c2410_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/s3c2410_udc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/gadget/udc/s3c2410_udc.c b/drivers/usb/gadget/udc/s3c2410_udc.c index 5d9aa81..eb3571e 100

[PATCH v3 30/46] usb: gadget: s3c-hsudc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/s3c-hsudc.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/gadget/udc/s3c-hsudc.c b/drivers/usb/gadget/udc/s3c-hsudc.c index 85a712a..e9def42 1006

[PATCH v3 26/46] usb: gadget: pch_ud: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pch_udc.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/usb/gadget/udc/pch_udc.c b/drivers/usb/gadget/udc/pch_udc.c index 613547f..cc8f

[PATCH v3 28/46] usb: gadget: pxa27x_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/pxa27x_udc.h | 33 ++--- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/drivers/usb/gadget/udc/pxa27x_udc.h b/drivers/usb/gadget/udc/px

[PATCH v3 35/46] usb: renesas: gadget: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/renesas_usbhs/mod_gadget.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c index dc2aa32..ed8d890 100

[PATCH v3 32/46] usb: gadget: udc-xilinx: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/udc-xilinx.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/udc-xilinx.c b/drivers/usb/gadget/udc/udc-xilinx.c index 1f24274..1cbb0ac 100644 --

[PATCH v3 40/46] usb: gadget: epautoconf: rework ep_matches() function

2015-07-14 Thread Robert Baldyga
Rework ep_matches() function to make it shorter and more readable. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/epautoconf.c | 87 + 1 file changed, 35 insertions(+), 52 deletions(-) diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadge

[PATCH v3 38/46] usb: gadget: epautoconf: remove pxa quirk from ep_matches()

2015-07-14 Thread Robert Baldyga
The same effect can be achieved by using capabilities flags, so now we can get rid of handling of hardware specific limitations in generic code. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/epautoconf.c | 5 - drivers/usb/gadget/udc/pxa25x_udc.c | 9 +++-- 2 files changed, 3

[PATCH v3 37/46] usb: gadget: epautoconf: add endpoint capabilities flags verification

2015-07-14 Thread Robert Baldyga
Introduce endpoint matching mechanism basing on endpoint capabilities flags. We check if endpoint supports transfer type and direction requested in ep descriptor. Since we have this new endpoint matching mechanism there is no need to have old code guessing endpoint capabilities basing on its name,

Re: [PATCH 0/2] ARM-OMAP2+: Deletion of unnecessary checks before two function calls

2015-07-14 Thread Tony Lindgren
* SF Markus Elfring [150625 04:35]: > From: Markus Elfring > Date: Thu, 25 Jun 2015 13:24:35 +0200 > > Some functions which release a system resource tolerate the passing > of a null pointer. I do not see a need because of this fact > that a function caller repeats a corresponding check. > > Ma

[PATCH v3 36/46] usb: gadget: atmel_usba_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/atmel_usba_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 37d414e..2

[PATCH v3 41/46] usb: gadget: add 'ep_match' callback to usb_gadget_ops

2015-07-14 Thread Robert Baldyga
Add callback that is called by epautoconf to allow UDC driver match the best endpoint for specific descriptor. It's intended to supply mechanism which allows to get rid of chip-specific endpoint matching code from epautoconf. If gadget has set 'ep_match' callback we prefer to call it first, and if

[PATCH v3 43/46] usb: gadget: move find_ep() from epautoconf to gadget.h

2015-07-14 Thread Robert Baldyga
Move find_ep() function to gadget.h, rename it to gadget_find_ep_by_name() and make it static inline. It can be used in UDC drivers, especially in 'match_ep' callback after moving chip-specific endpoint matching logic from epautoconf to UDC drivers. Replace all calls of find_ep() function with gad

[PATCH v3 44/46] usb: gadget: net2280: add net2280_match_ep() function

2015-07-14 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga --

[PATCH v3 42/46] usb: gadget: move ep_matches() from epautoconf to udc-core

2015-07-14 Thread Robert Baldyga
Move ep_matches() function to udc-core and rename it to usb_gadget_ep_match_desc(). This function can be used by UDC drivers in 'match_ep' callback to avoid writing lots of repetitive code. Replace all calls of ep_matches() with usb_gadget_ep_match_desc(). Signed-off-by: Robert Baldyga --- driv

[PATCH v3 45/46] usb: gadget: goku_udc: add goku_match_ep() function

2015-07-14 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga --

[PATCH v3 46/46] usb: musb: gadget: add musb_match_ep() function

2015-07-14 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga --

[PATCH v3 39/46] usb: gadget: epautoconf: remove ep and desc configuration from ep_matches()

2015-07-14 Thread Robert Baldyga
As function ep_matches() is used to match endpoint with usb descriptor it's highly unintuitive that it modifies endpoint and descriptor structures fields. This patch moves code configuring ep and desc from ep_matches() to usb_ep_autoconfig_ss(), so now function ep_matches() does nothing more than i

[PATCH v3 33/46] usb: isp1760: udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/isp1760/isp1760-udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/isp1760/isp1760-udc.c b/drivers/usb/isp1760/isp1760-udc.c index 3699962..1c3d0fd 100644 ---

[PATCH v3 25/46] usb: gadget: omap_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/omap_udc.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c index e2fcdb8..9b7d394

[PATCH v3 24/46] usb: gadget: net2280: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/net2280.c | 50 ++-- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/ne

[PATCH v3 20/46] usb: gadget: m66592-udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/m66592-udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/m66592-udc.c b/drivers/usb/gadget/udc/m66592-udc.c index 309706f..e404553 10064

[PATCH v3 16/46] usb: gadget: fusb300_udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fusb300_udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fusb300_udc.c b/drivers/usb/gadget/udc/fusb300_udc.c index 3970f45..948845c 10

[PATCH v3 21/46] usb: gadget: mv_u3d_core: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/mv_u3d_core.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/mv_u3d_core.c b/drivers/usb/gadget/udc/mv_u3d_core.c index ea35a24..4c48969 100644

[PATCH v3 13/46] usb: gadget: fotg210-udc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fotg210-udc.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/gadget/udc/fotg210-udc.c b/drivers/usb/gadget/udc/fotg210-udc.c index e547ea7..960c70c 10

[PATCH v3 15/46] usb: gadget: fsl_udc_core: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/fsl_udc_core.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c b/drivers/usb/gadget/udc/fsl_udc_core.c index c60022b..aab52

[PATCH v3 11/46] usb: gadget: bdc: add ep capabilities support

2015-07-14 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/udc/bdc/bdc_ep.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/usb/gadget/udc/bdc/bdc_ep.c b/drivers/usb/gadget/udc/bdc/bdc_ep.c index b04980c..f9a8f57 100644 --

Re: [PATCH] ARM: DRA7: Provide proper IO map table

2015-07-14 Thread Tony Lindgren
* Nishanth Menon [150622 08:14]: > DRA7 uses OMAP5 IO table at the moment. This is purely spurious since > the OMAP5 and DRA7 register maps are different in many aspects. > > AM57xx/DRA7 TRM Reference: http://www.ti.com/lit/ug/spruhz6/spruhz6.pdf > > NOTE: Most of the drivers are already doing i

Re: [PATCH V2] arm:DTS Correct audio input route & set mic bias

2015-07-14 Thread Tony Lindgren
* Ash Charles [150714 11:41]: > On Tue, Jul 14, 2015 at 11:17 AM, Adam YH Lee wrote: > > Audio-in was incorrectly routed to Line In. It should be Mic3L as per > > schematic. > > > > Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There > > is no voltage seen on micbias (R127

Re: [PATCH 0/2] CLK: TI: add dpll_clksel_mac_clk node

2015-07-14 Thread Tony Lindgren
* Tero Kristo [150714 06:30]: > On 07/14/2015 02:06 PM, Tony Lindgren wrote: > >* Keerthy [150625 06:48]: > >> > >>On Thursday 18 June 2015 02:36 PM, Mugunthan V N wrote: > >>>On Thursday 18 June 2015 01:31 PM, Keerthy wrote: > The series adds the missing clock node needed for cpsw. > >

Re: [PATCH v3 00/11] USB: OTG/DRD Core functionality

2015-07-14 Thread Peter Chen
On Tue, Jul 14, 2015 at 11:18:30AM -0700, Andrew Bresticker wrote: > Hi Peter, > > On Mon, Jul 13, 2015 at 5:59 PM, Peter Chen wrote: > > On Mon, Jul 13, 2015 at 12:14:43PM -0700, Andrew Bresticker wrote: > >> Hi Roger, > >> > >> On Wed, Jul 8, 2015 at 3:19 AM, Roger Quadros wrote: > >> > Usage

Re: [PATCH v2 01/13] ARM: kill off set_irq_flags usage

2015-07-14 Thread Robert Jarzmik
Rob Herring writes: > 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 > IRQF_PROBE -> !IRQ_NOPROBE >

Re: [GIT PULL] clk: ti: clock driver code migration to drivers

2015-07-14 Thread Stephen Boyd
On 07/14/2015 01:09 PM, Tero Kristo wrote: On 07/14/2015 10:29 PM, Stephen Boyd wrote: On 07/14/2015 01:54 AM, Tero Kristo wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) Why did this get rebased onto v4.2-rc2? I

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Michael Welling
On Tue, Jul 14, 2015 at 10:01:26PM +0200, Pavel Machek wrote: > On Tue 2015-07-14 11:33:42, Michael Welling wrote: > > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohá

Re: [GIT PULL] clk: ti: clock driver code migration to drivers

2015-07-14 Thread Tero Kristo
On 07/14/2015 10:29 PM, Stephen Boyd wrote: On 07/14/2015 01:54 AM, Tero Kristo wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) Why did this get rebased onto v4.2-rc2? I thought it was all ready to go based on v4.

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Pavel Machek
On Tue 2015-07-14 11:33:42, Michael Welling wrote: > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > > I think nothing special. I just call: > > > > > > >

[PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-14 Thread Franklin S Cooper Jr
From: Roger Quadros Update driver to support without regulators. Without this patch boards that do not enable regulator config options will fail to boot with a kernel panic. Signed-off-by: Roger Quadros Signed-off-by: Lokesh Vutla Signed-off-by: Murali Karicheri Signed-off-by: Franklin S Coo

Re: [GIT PULL] clk: ti: clock driver code migration to drivers

2015-07-14 Thread Stephen Boyd
On 07/14/2015 01:54 AM, Tero Kristo wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) Why did this get rebased onto v4.2-rc2? I thought it was all ready to go based on v4.1-rc2? If possible leave it on v4.1-rc2 ple

Re: [PATCH V2] arm:DTS Correct audio input route & set mic bias

2015-07-14 Thread Ash Charles
On Tue, Jul 14, 2015 at 11:17 AM, Adam YH Lee wrote: > Audio-in was incorrectly routed to Line In. It should be Mic3L as per > schematic. > > Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There > is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works.

Re: [PATCH v3 00/11] USB: OTG/DRD Core functionality

2015-07-14 Thread Andrew Bresticker
Hi Peter, On Mon, Jul 13, 2015 at 5:59 PM, Peter Chen wrote: > On Mon, Jul 13, 2015 at 12:14:43PM -0700, Andrew Bresticker wrote: >> Hi Roger, >> >> On Wed, Jul 8, 2015 at 3:19 AM, Roger Quadros wrote: >> > Usage model: >> > --- >> > >> > - The OTG controller device is assumed to be the

[PATCH V2] arm:DTS Correct audio input route & set mic bias

2015-07-14 Thread Adam YH Lee
Audio-in was incorrectly routed to Line In. It should be Mic3L as per schematic. Using mic-bias voltage at 2.0v (<0x1>) does not work for some reason. There is no voltage seen on micbias (R127). Mic-bias voltage of 2.5v (<0x2>) works. I see voltage of 2.475v across GND and micbias. With these cha

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Michael Welling
On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > I think nothing special. I just call: > > > > > > export ARCH=arm > > > export CROSS_COMPILE=arm-linux-gnueabi-

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

2015-07-14 Thread Tero Kristo
On 07/14/2015 01:09 PM, Lokesh Vutla wrote: Hi, On Wednesday 10 June 2015 02:56 PM, Lokesh Vutla wrote: 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 get

[PATCH 1/2] V4 regmap: Use reg_sequence for multi_reg_write / register_patch

2015-07-14 Thread Nariman Poushin
Add support for writing sequences of registers / patches with specified delays (in microseconds). Logically separates the functionality using sequences of register writes from the functions that take register defaults, as adding a delay field on the reg_defaults can increase memory usage substantia

[PATCH 2/2] V4 regmap: Apply optional delay in multi_reg_write/register_patch

2015-07-14 Thread Nariman Poushin
We treat a delay in a sequence the same way we treat a page change as they are logically similar in that you can coalesce all write before a delay (in the same way you can coalesce all writes before a page change is needed) Signed-off-by: Nariman Poushin --- drivers/base/regmap/regmap.c | 65 +++

Re: [PATCH 0/2] CLK: TI: add dpll_clksel_mac_clk node

2015-07-14 Thread Tero Kristo
On 07/14/2015 02:06 PM, Tony Lindgren wrote: * Keerthy [150625 06:48]: On Thursday 18 June 2015 02:36 PM, Mugunthan V N wrote: On Thursday 18 June 2015 01:31 PM, Keerthy wrote: The series adds the missing clock node needed for cpsw. Keerthy (2): CLK: TI: add dpll_clksel_mac_clk node A

Re: [PATCH v2 0/7] serial: 8250_omap: workaround for IP errata

2015-07-14 Thread Tony Lindgren
* Peter Hurley [150714 05:24]: > On 07/14/2015 04:02 AM, Sekhar Nori wrote: > > This series works around "Advisory 21" as documented in > > AM437x SoC errata[1]. This errata prevents UART module > > from idling after DMA is used. AM335x and DRA7x also suffer > > from the same errata and chip desig

Re: [PATCH 0/3] ARM: dts: Changes for Gumstix Pepper dts

2015-07-14 Thread Kevin Hilman
Arun Bharadwaj writes: > These 3 patches are included to fix the following issues > with pepper device tree source. The patches are based against > linux-omap/master. I tested this series on top of linus/master with omap2plus_defconfig and it seems to successfully boot now (used to hang after di

Re: [PATCH v2 0/7] serial: 8250_omap: workaround for IP errata

2015-07-14 Thread Peter Hurley
On 07/14/2015 04:02 AM, Sekhar Nori wrote: > This series works around "Advisory 21" as documented in > AM437x SoC errata[1]. This errata prevents UART module > from idling after DMA is used. AM335x and DRA7x also suffer > from the same errata and chip design team is in the process > of updating the

Re: [PATCH] i2c: omap: fix bus recovery setup

2015-07-14 Thread Wolfram Sang
On Tue, Jul 14, 2015 at 03:10:01PM +0300, Grygorii Strashko wrote: > Hi Wolfram, > > On 07/14/2015 02:10 PM, Wolfram Sang wrote: > > On Wed, Jul 08, 2015 at 04:35:27PM +0200, Jan Luebbe wrote: > >> At least on the AM335x, enabling OMAP_I2C_SYSTEST_ST_EN is not enough to > > > > Felipe: it seems y

[PATCH] i2c: omap: fix cleanup regression

2015-07-14 Thread Wolfram Sang
Patch "i2c: omap: abolish variable name confusion" triggered a coccinelle warning which we fix here: drivers/i2c/busses/i2c-omap.c:1333:5-24: pm_runtime_get_sync returns < 0 as error. Unecessary IS_ERR_VALUE at line 1334 Signed-off-by: Wolfram Sang --- drivers/i2c/busses/i2c-omap.c | 2 +- 1 f

Re: [PATCH] i2c: omap: fix bus recovery setup

2015-07-14 Thread Grygorii Strashko
Hi Wolfram, On 07/14/2015 02:10 PM, Wolfram Sang wrote: > On Wed, Jul 08, 2015 at 04:35:27PM +0200, Jan Luebbe wrote: >> At least on the AM335x, enabling OMAP_I2C_SYSTEST_ST_EN is not enough to > > Felipe: it seems you did not need this; is this AM335x specific? We need it (Felipe's reply can be

Re: [PATCH v2 00/20] ARM: DTS: am335x/am43xx: Audio support and fixes for audio

2015-07-14 Thread Tony Lindgren
* Peter Ujfalusi [150702 07:08]: > Hi, > > Changes since v1: > - Add patch for omap2plus_defconfig to enable needed audio drivers > - Included other board patches since they all need the change in > omap2plus_defconfig > > Enable the simple card in omap2plus_defconfig as more boards are using

Re: [PATCH v2 48/48] usb: gadget: epautoconf: cleanup dead code

2015-07-14 Thread Sergei Shtylyov
Hello. On 7/14/2015 12:39 PM, Robert Baldyga wrote: Function find_ep() is no longer needed here, so we can remove it. We also don't use anything from gadget_chips.h header any longer. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/epautoconf.c | 14 -- 1 file changed, 1

Re: [PATCH - resend for 4.2-rc2] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-07-14 Thread Tony Lindgren
* Peter Ujfalusi [150701 05:54]: > The sDMA requests are routed through the DMA crossbar and without the > crossbar only peripherals using DMA request 0-127 can be used. > > Signed-off-by: Peter Ujfalusi > --- > Hi Tony, > > as you have suggested: > http://permalink.gmane.org/gmane.linux.ports

Re: [PATCH v2 45/48] usb: gadget: net2280: add net2280_match_ep() function

2015-07-14 Thread Sergei Shtylyov
Hello. On 7/14/2015 12:39 PM, Robert Baldyga wrote: Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Functions does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from pl

Re: [PATCH v2 47/48] usb: musb: gadget: add musb_match_ep() function

2015-07-14 Thread Sergei Shtylyov
Hello. On 7/14/2015 12:39 PM, Robert Baldyga wrote: Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Functions does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from pl

Re: [PATCH] pinctrl: dra: dt-bindings: Add virtual mode configuration option

2015-07-14 Thread Tony Lindgren
* Nishanth Menon [150622 08:24]: > In addition to the regular mux configuration such as mux mode 1, > 2 etc, certain pins of DRA7 require to have "virtual mode" also > programmed. This allows for predefined delay characteristics to > be used by the SoC to meet timing characterstics needed for the

Re: [PATCH] i2c: omap: fix bus recovery setup

2015-07-14 Thread Wolfram Sang
On Wed, Jul 08, 2015 at 04:35:27PM +0200, Jan Luebbe wrote: > At least on the AM335x, enabling OMAP_I2C_SYSTEST_ST_EN is not enough to Felipe: it seems you did not need this; is this AM335x specific? > allow direct access to the SCL and SDA pins. In addition to ST_EN, we > need to set the TMODE t

Re: [PATCH 1/1] ARM: dts: DRA72: switch to cpsw slave0 for ethernet

2015-07-14 Thread Tony Lindgren
* Mugunthan V N [150622 02:05]: > From: Vignesh R > > On DRA72 EVM, cpsw slave1 is muxed with VIN2A, hence switch to cpsw > slave0 for ethernet. Add gpio hog entry to pcf_gpio_21 in order to > select cpsw slave0. > > Signed-off-by: Vignesh R > Signed-off-by: Mugunthan V N Applying into omap-

Re: [PATCH 0/2] CLK: TI: add dpll_clksel_mac_clk node

2015-07-14 Thread Tony Lindgren
* Keerthy [150625 06:48]: > > On Thursday 18 June 2015 02:36 PM, Mugunthan V N wrote: > >On Thursday 18 June 2015 01:31 PM, Keerthy wrote: > >>The series adds the missing clock node needed for cpsw. > >> > >>Keerthy (2): > >> CLK: TI: add dpll_clksel_mac_clk node > >> ARM: dts: am4372: Set th

Re: [PATCH v2 42/48] usb: gadget: epautoconf: use 'ep_match' gadget callback

2015-07-14 Thread Sergei Shtylyov
Hello. On 7/14/2015 12:39 PM, Robert Baldyga wrote: If gadget has set 'ep_match' callback we prefer to call it first to allow UDC driver to find the best matching endpoint basing on chip-specific "best usage" knowledge. Signed-off-by: Robert Baldyga --- drivers/usb/gadget/epautoconf.c | 6

Re: [PATCH 1/3] i2c: omap: switch to dev_get_drvdata()

2015-07-14 Thread Wolfram Sang
On Mon, Jul 13, 2015 at 03:38:02PM -0500, Felipe Balbi wrote: > there's no need to fetch the platform_device > in order to dereference it back to the dev > pointer to access drvdata, we can use > dev_get_drvdata() instead. > > Signed-off-by: Felipe Balbi All patches applied to for-next, thanks!

Re: [PATCH 2/5] omap3: dts: Add DTS for Gumstix TobiDuo expansion board

2015-07-14 Thread Tony Lindgren
* Ash Charles [150612 13:39]: > The Gumstix "Tobi-Duo" expansion board [1] can be used with either > OMAP3 Overo or Overo Storm COMs. It provides two NICs using LAN9221 > chips. > It is necessary to duplicate the interface information for the > second SMSC9221 chip as discussed [2]. > > [1] http

Re: [PATCH v5] clk: change clk_ops' ->determine_rate() prototype

2015-07-14 Thread Boris Brezillon
On Mon, 13 Jul 2015 16:02:18 -0700 Stephen Boyd wrote: > On 07/09, Boris Brezillon wrote: > > Hi Stephen, > > > > On Wed, 08 Jul 2015 11:07:42 -0700 > > Stephen Boyd wrote: > > > > > On 07/08/2015 02:00 AM, Boris Brezillon wrote: > > > > Hi Stephen, > > > > > > > > On Tue, 7 Jul 2015 17:57:48

Re: [GIT PULL] clk: ti: clock driver code migration to drivers

2015-07-14 Thread Tony Lindgren
* Tero Kristo [150714 03:34]: > On 07/14/2015 12:54 PM, Tony Lindgren wrote: > >* Tero Kristo [150714 01:56]: > >> > >>This pull request contains the TI clock driver set to move the clock > >>implementations under clock driver. Some small portions of the clock driver > >>code still remain under m

Re: [PATCH 3/3] ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY

2015-07-14 Thread Roger Quadros
On 14/07/15 13:34, Tony Lindgren wrote: > * Roger Quadros [150512 09:08]: >> This register is required to be passed to the SATA PHY driver >> to workaround errata i783 (SATA Lockup After SATA DPLL Unlock/Relock). >> >> Signed-off-by: Roger Quadros >> Signed-off-by: Sekhar Nori >> --- >> arch/ar

Re: [PATCH 3/3] ARM: dts: dra7: Add syscon-pllreset syscon to SATA PHY

2015-07-14 Thread Tony Lindgren
* Roger Quadros [150512 09:08]: > This register is required to be passed to the SATA PHY driver > to workaround errata i783 (SATA Lockup After SATA DPLL Unlock/Relock). > > Signed-off-by: Roger Quadros > Signed-off-by: Sekhar Nori > --- > arch/arm/boot/dts/dra7.dtsi | 1 + > 1 file changed, 1

Re: [GIT PULL] clk: ti: clock driver code migration to drivers

2015-07-14 Thread Tero Kristo
On 07/14/2015 12:54 PM, Tony Lindgren wrote: * Tero Kristo [150714 01:56]: This pull request contains the TI clock driver set to move the clock implementations under clock driver. Some small portions of the clock driver code still remain under mach-omap2 after this, it should be decided whethe

Re: [PATCH v5 6/6] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-07-14 Thread Tony Lindgren
* Jyri Sarha [150508 04:29]: > Use new binding for the external tda19988 HDMI encoder. Applying this into omap-for-v4.3/dt thanks. Tony -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-07-14 Thread Tony Lindgren
* Tony Lindgren [150409 12:17]: > * Peter Ujfalusi [150409 12:07]: > > On 04/09/2015 10:01 PM, Tony Lindgren wrote: > > > * Peter Ujfalusi [150409 11:55]: > > >> On 04/09/2015 06:18 PM, Tony Lindgren wrote: > > >>> * Peter Ujfalusi [150409 02:37]: > > The sDMA requests are routed through t

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

2015-07-14 Thread Lokesh Vutla
Hi, On Wednesday 10 June 2015 02:56 PM, Lokesh Vutla wrote: > 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 int

[PATCH v3 1/6] ARM: OMAP4: PRM: Remove hardcoding of PRM_IO_PMCTRL_OFFSET register

2015-07-14 Thread Keerthy
PRM_IO_PMCTRL_OFFSET need not be same for all SOCs hence remove hardcoding and use the value provided by the omap_prcm_irq_setup structure. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prcm-common.h | 1 + arch/arm/mach-omap2/prm44xx.c | 11 ++- 2 files changed, 7 insertions(+), 5

[PATCH v3 2/6] ARM: AM43xx: Add the PRM IRQ register offsets

2015-07-14 Thread Keerthy
Add the PRM IRQ register offsets. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prcm43xx.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-omap2/prcm43xx.h b/arch/arm/mach-omap2/prcm43xx.h index 7eebc27..d716d2e 100644 --- a/arch/arm/mach-omap2/prcm43xx.h +++ b/arch/arm/m

[PATCH v3 3/6] ARM: dts: AM4372: Add PRCM IRQ entry

2015-07-14 Thread Keerthy
Add PRCM IRQ entry. Signed-off-by: Keerthy --- arch/arm/boot/dts/am4372.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ade28c79..359a3b6 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@

[PATCH v3 5/6] ARM: OMAP4+: PRM: Add AM437x specific data

2015-07-14 Thread Keerthy
The register offsets for some of the PRM Registers are different hence populating the differing fields. Tested IO wake up using gpio based SW4 on 1.5A GP evm. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm44xx.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH v3 6/6] ARM: PRM: AM437x: Enable IO wakeup feature

2015-07-14 Thread Keerthy
Enable IO wakeup feature. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 7add799..1730fc4 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-o

[PATCH v3 4/6] ARM: OMAP: PRM: Remove hardcoding of IRQENABLE_MPU_2 and IRQSTATUS_MPU_2 register offsets

2015-07-14 Thread Keerthy
The register offsets of IRQENABLE_MPU_2 and IRQSTATUS_MPU_2 are hardcoded. This makes it difficult to reuse the code for SoCs like AM437x that have a single instance of IRQENABLE_MPU and IRQSTATUS_MPU registers. Hence handling the case using offset of 4 to accommodate single set of IRQ* registers g

[PATCH v3 0/6] ARM: AM437x: Add IO wake up support

2015-07-14 Thread Keerthy
The patch series adds IO wake up support for AM437x series making use of the existing OMAP4 support. Adds the AM437x specifics. The series is boot tested on OMAP4 panda, DAR7 evm and AM437x evms. Changes in v3: Fixed a bug. Assigned nr_regs = 1 for am437x Changes in v2: Removed inefficient way

  1   2   >