[PATCH v2 2/2] ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2

2015-07-27 Thread Roger Quadros
The VBUS line of USB2 is connected to VBUS detect logic on the PMIC. Use the palmas-usb driver to report VBUS events to the USB driver. As the palmas-usb driver supports GPIO based ID reporting provide the GPIO for ID pin as well. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v2 1/2] extcon: palmas: Support GPIO based USB ID detection

2015-07-27 Thread Roger Quadros
Some palmas based chip variants do not have OTG based ID logic. For these variants we rely on GPIO based USB ID detection. These chips do have VBUS comparator for VBUS detection so we continue to use the old way of detecting VBUS. Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v2 0/2] extcon: palmas: am57xx-beagle-x15: use palmas for VBUS/ID detection

2015-07-27 Thread Roger Quadros
Hi, am57xx-beagle-x15 uses a variant of the Palmas chip and has USB1 port's VBUS and ID connected to it. However this Palmas variant does not support OTG ID detection but does have GPIO support on the pin where ID line is connected. This series adds GPIO based ID detection to the Palmas extcon

[PATCH 2/2] regulator: pbias: Fix broken pbias disable functionality

2015-07-27 Thread Kishon Vijay Abraham I
regulator_disable of pbias always writes '0' to the enable_reg. However actual disable value of pbias regulator is not always '0'. Fix it by populating the disable_val in pbias_reg_info for the various platforms and assign it to the disable_val of pbias regulator descriptor. This will be used by

[PATCH 3/4] ARM: dts: OMAP5: Fix broken pbias device creation

2015-07-27 Thread Kishon Vijay Abraham I
commit ed8509edddeb (ARM: dts: omap5: add minimal l4 bus layout with control module support) moved pbias_regulator dt node from being a child node of ocp to be the child node of omap5_padconf_global. After this device for pbias_regulator is not created. Fix it by adding simple-bus compatible

[PATCH 4/4] ARM: dts: dra7: Fix broken pbias device creation

2015-07-27 Thread Kishon Vijay Abraham I
commit d919501feffa (ARM: dts: dra7: add minimal l4 bus layout with control module support) moved pbias_regulator dt node from being a child node of ocp to be the child node of scm_conf. After this device for pbias_regulator is not created. Fix it by adding simple-bus compatible property to

Re: [GIT PULL 1/2] omap soc changes for v4.3

2015-07-27 Thread Olof Johansson
On Fri, Jul 24, 2015 at 05:06:10AM -0700, Tony Lindgren wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at:

Re: [PATCH v3] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2015-07-27 Thread Roger Quadros
Hi, On 16/07/15 16:16, Roger Quadros wrote: For hwmods without sysc, _init_mpu_rt_base(oh) won't be called and so _find_mpu_rt_port(oh) will return NULL thus preventing ready state check on those modules after the module is enabled. This can potentially cause a bus access error if the

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Vignesh R
On 07/27/2015 04:19 PM, Roger Quadros wrote: Hi, On 23/07/15 17:54, Vignesh R wrote: On am437x-gp-evm, pixcir touchscreen can wake the system from low power state by generating wake-up interrupt via pinctrl and IO daisy chain. Add support for optional wakeup interrupt source by

Re: [GIT PULL 2/2] omap dts changes for dm814x for v4.3

2015-07-27 Thread Olof Johansson
On Fri, Jul 24, 2015 at 05:06:11AM -0700, Tony Lindgren wrote: The following changes since commit f9d50fef4b6447527c2be1ad07499221c2511391: ARM: OMAP2+: omap3-pandora: add wifi support (2015-07-21 04:07:42 -0700) are available in the git repository at:

Re: [PATCH] gpio: omap: use raw locks for locking

2015-07-27 Thread Linus Walleij
On Tue, Jul 21, 2015 at 6:26 PM, Sebastian Andrzej Siewior bige...@linutronix.de wrote: This patch converts gpio_bank.lock from a spin_lock into a raw_spin_lock. The call path is to access this lock is always under a raw_spin_lock, for instance - __setup_irq() holds desc-lock with irq off

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Roger Quadros
Hi, On 23/07/15 17:54, Vignesh R wrote: On am437x-gp-evm, pixcir touchscreen can wake the system from low power state by generating wake-up interrupt via pinctrl and IO daisy chain. Add support for optional wakeup interrupt source by regsitering to automated wake IRQ framework introduced by

[PATCH 0/2] pbias regulator fixes

2015-07-27 Thread Kishon Vijay Abraham I
Patch series contains a couple of fixes. One that disables pbias properly (write the correct value to disable regulator instead of writing 0). And the other is to get the correct address to enable/disable the pbias regulator. Tested on DRA7 (tests pbias_mmc_omap5) and OMAP5 panda (tests

[PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-07-27 Thread Kishon Vijay Abraham I
vsel_reg and enable_reg of the pbias regulator descriptor should actually have the offset from syscon. However after the pbias device tree node is moved as a child node of syscon, vsel_reg and enable_reg has the absolute address because of the address translation that happens while creating device

[RFT PATCH 1/4] ARM: dts: omap24xx: Fix broken pbias device creation

2015-07-27 Thread Kishon Vijay Abraham I
commit 72b10ac00eb1 (ARM: dts: omap24xx: add minimal l4 bus layout with control module support) moved pbias_regulator dt node from being a child node of ocp to be the child node of scm_conf. After this device for pbias_regulator is not created. Fix it by adding simple-bus compatible property to

[PATCH 0/4] omap: Fix broken pbias device creation

2015-07-27 Thread Kishon Vijay Abraham I
pbias device creation got broken once SCM cleanup got merged. This patch series re-enables device creation by adding simple-bus in the compatible property of the syscon dt node. validated this series in DRA72, OMAP4 PANDA and OMAP5 UEVM boards. Kishon Vijay Abraham I (4): ARM: dts: omap24xx:

[PATCH 2/4] ARM: dts: OMAP4: Fix broken pbias device creation

2015-07-27 Thread Kishon Vijay Abraham I
commit 7415b0b4c645 (ARM: dts: omap4: add minimal l4 bus layout with control module support) moved pbias_regulator dt node from being a child node of ocp to be the child node of omap4_padconf_global. After this device for pbias_regulator is not created. Fix it by adding simple-bus compatible

Re: [PATCH] gpio: omap: use raw locks for locking

2015-07-27 Thread Sebastian Andrzej Siewior
On 07/27/2015 02:50 PM, Linus Walleij wrote: Patch applied. thanks. Now this question appear in my head: Is drivers/gpio full of stuff that will not work with the -RT kernel, and is this a change that should be done mutatis mutandis on all the GPIO drivers? I described two call paths

Re: [PATCH 1/2] ARM: dts: Add support for phyCORE-AM335x SoM

2015-07-27 Thread Matt Porter
On Thu, Jul 16, 2015 at 10:30:48AM +0200, Teresa Remmet wrote: phyCORE-AM335x is a SoM (System on Module) containing a AM335x SOC. The module can be connected to different carrier boards. Some hardware parts are configurable on the phyCORE-AM335x. So they are disabled on default in this som

Re: [PATCH 2/3] drivers: usb: dwc3: Add adjust_frame_length_quirk

2015-07-27 Thread Felipe Balbi
On Mon, Jul 27, 2015 at 06:56:48AM +, Badola Nikhil wrote: -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, July 23, 2015 8:39 PM To: Felipe Balbi Cc: Badola Nikhil-B46172; linux-ker...@vger.kernel.org; linux- u...@vger.kernel.org;

Re: [PATCH 3/3] ARM: errata 430973: move !ARCH_MULTIPLATFORM to Kconfig

2015-07-27 Thread Sebastian Reichel
Hi Ben, On Mon, Jul 27, 2015 at 10:59:56AM +0100, Ben Dooks wrote: I think you missed the part adding the !ARCH_MULTIPLATFORM dependency in Kconfig for ARM_ERRATA_430973. I only removed the check in the sourcecode, since it is no longer required with the dependency being in Kconfig.

Re: [PATCH v3 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-27 Thread Dmitry Torokhov
On Mon, Jul 27, 2015 at 04:49:22PM +0530, Vignesh R wrote: On 07/27/2015 04:19 PM, Roger Quadros wrote: Hi, On 23/07/15 17:54, Vignesh R wrote: On am437x-gp-evm, pixcir touchscreen can wake the system from low power state by generating wake-up interrupt via pinctrl and IO daisy

[PATCH v3] ARM: kill off set_irq_flags usage

2015-07-27 Thread Rob Herring
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 IRQF_NOAUTOEN - IRQ_NOAUTOEN For

[PATCH v3] PCI: kill off set_irq_flags usage

2015-07-27 Thread Rob Herring
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 IRQF_NOAUTOEN - IRQ_NOAUTOEN For

[PATCH v3] mfd: kill off set_irq_flags usage

2015-07-27 Thread Rob Herring
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 IRQF_NOAUTOEN - IRQ_NOAUTOEN For

[PATCH v3] memory: kill off set_irq_flags usage

2015-07-27 Thread Rob Herring
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 IRQF_NOAUTOEN - IRQ_NOAUTOEN For

Re: [PATCH 4/4] ARM: omap2: restore OMAP4 barrier behaviour

2015-07-27 Thread Dan Murphy
Russell On 07/15/2015 12:47 PM, Russell King wrote: Restore the OMAP4 barrier behaviour using the new implementation which allows multiplatform systems to hook into the mb() and wmb() ARM implementations to perform any necessary additional barrier maintanence. Signed-off-by: Russell King

Re: [PATCH v3] mfd: kill off set_irq_flags usage

2015-07-27 Thread Lee Jones
On Mon, 27 Jul 2015, 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 IRQF_PROBE -

Re: [PATCH v2 1/2] extcon: fix hang and extcon_get/set_cable_state().

2015-07-27 Thread Chanwoo Choi
Hi Roger, On 07/27/2015 07:39 PM, Roger Quadros wrote: Chanwoo, On 10/07/15 18:54, Chanwoo Choi wrote: Hi Roger, Thanks for your working. I'll review, test and apply it on next week because I'm on vacation now. Can you please take this for -rc cycle? Thanks. I'm sorry for delay

Re: [PATCH v3] PCI: kill off set_irq_flags usage

2015-07-27 Thread Jingoo Han
On 2015. 7. 28., at AM 5:55, Rob Herring r...@kernel.org 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 -

Re: [PATCH 5/5] Input: tsc2005 - convert to gpiod

2015-07-27 Thread Dmitry Torokhov
On Wed, Jul 22, 2015 at 10:04:45PM +0200, Sebastian Reichel wrote: The GPIOD API can be used from boardcode, so that the DT check can be removed. To avoid breaking existing boardcode, _optional() variant has been chosen. For completly removing the DT check, the regulator has also been made

Re: [PATCH v3 07/11] usb: otg: add OTG core

2015-07-27 Thread Roger Quadros
Hi, On 21/07/15 13:52, Li Jun wrote: Hi, [...] + otg_timer_init(A_WAIT_ENUM, otgd, set_tmout, TB_SRP_FAIL, NULL); 2 timers are missing: B_DATA_PLS, B_SSEND_SRP. Those 2 are not used by usb-otg-fsm.c. We can add it when usb-otg-fsm.c is updated. ok. +} [...] + +/** +

Re: [PATCH v3 0/3] phy: ti-pipe3: dra7: sata: allow suspend to RAM (core-retention)

2015-07-27 Thread Roger Quadros
Kishon Tony, You can please pick the first 2 patches for -next. The 3rd patch is not required for SATA and I will send it as a separate series. cheers, -roger On 17/07/15 16:47, Roger Quadros wrote: Hi, Implement workaround for SATA errata i783 (SATA Lockup After SATA DPLL

[PATCH v2 0/3] ARM: dts: dra7: scm_conf node cleanup

2015-07-27 Thread Roger Quadros
Hi, This series cleans up the scm_conf node. v2: - split patch. use only core_sma_sw registers for the new scm_conf child. cheers, -roger Roger Quadros (3): ARM: dts: dra7: Remove ctrl_core and ctrl_general nodes ARM: dts: dra7: fix pinmux@1400 resource length ARM: dts: dra7: Add

[PATCH v2 3/3] ARM: dts: dra7: Add scm_conf@1c04 node

2015-07-27 Thread Roger Quadros
This region contains CTRL_CORE_SMA_SW2..9 registers which are not specific to any domain and can be reasonably accessed via syscon driver. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git

[PATCH v2 1/3] ARM: dts: dra7: Remove ctrl_core and ctrl_general nodes

2015-07-27 Thread Roger Quadros
These nodes are wrongly placed. They must come under the scm node. Nobody uses them either so get rid of them. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 10 -- 1 file changed, 10 deletions(-) diff --git a/arch/arm/boot/dts/dra7.dtsi

[PATCH v2 2/3] ARM: dts: dra7: fix pinmux@1400 resource length

2015-07-27 Thread Roger Quadros
We need to add 4 bytes to include the last 32-bit register space. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index cf2931e..913032b 100644

Re: [PATCH v3 0/3] phy: ti-pipe3: dra7: sata: allow suspend to RAM (core-retention)

2015-07-27 Thread Roger Quadros
On 27/07/15 13:21, Roger Quadros wrote: Kishon Tony, You can please pick the first 2 patches for -next. Sorry, I meant for -rc. The 3rd patch is not required for SATA and I will send it as a separate series. This can go in -next. cheers, -roger cheers, -roger On 17/07/15

Re: [PATCH v2 1/2] extcon: fix hang and extcon_get/set_cable_state().

2015-07-27 Thread Roger Quadros
Chanwoo, On 10/07/15 18:54, Chanwoo Choi wrote: Hi Roger, Thanks for your working. I'll review, test and apply it on next week because I'm on vacation now. Can you please take this for -rc cycle? Thanks. cheers, -roger Thanks, Chanwoo Choi On Tue, Jul 7, 2015 at 3:06 PM, Roger

Re: [PATCH 3/3] ARM: errata 430973: move !ARCH_MULTIPLATFORM to Kconfig

2015-07-27 Thread Russell King - ARM Linux
On Mon, Jul 27, 2015 at 10:59:56AM +0100, Ben Dooks wrote: This isn't the only place ARM_ERRATA_430973 is used, and if you make it configurable on !ARCH_MULTIPLATFORM then it makes it impossible to use a ARCH_MULTIPLATFORM kernel on something that is an Cortex-A8. See

[PATCH v3 3/6] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers 512

2015-07-27 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

[PATCH v3 2/6] usb: dwc3: ep0: use _roundup_ to calculate the transfer size

2015-07-27 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 kis...@ti.com --- drivers/usb/dwc3/ep0.c |

RE: [PATCH 2/3] drivers: usb: dwc3: Add adjust_frame_length_quirk

2015-07-27 Thread Badola Nikhil
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, July 23, 2015 8:39 PM To: Felipe Balbi Cc: Badola Nikhil-B46172; linux-ker...@vger.kernel.org; linux- u...@vger.kernel.org; linux-omap@vger.kernel.org; gre...@linuxfoundation.org Subject: Re: [PATCH 2/3]

[PATCH v3 4/6] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter

2015-07-27 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 kis...@ti.com --- drivers/usb/dwc3/ep0.c | 15 --- 1

[PATCH v3 0/3] dra7xx: Add PM support to PCIe

2015-07-27 Thread Kishon Vijay Abraham I
This series adds PM support to pci-dra7xx so that PCI clocks can be disabled during suspend and enabled back during resume without affecting PCI functionality. Changes from v2: *) Used SET_SYSTEM_SLEEP_PM_OPS and SET_NOIRQ_SYSTEM_SLEEP_PM_OPS for populating PM ops. Changes from v1: *) Moved

[PATCH v3 1/3] PCI: host: pci-dra7xx: Disable pm_runtime on get_sync failure

2015-07-27 Thread Kishon Vijay Abraham I
Fix the error handling code in case pm_runtime_get_sync fails. Now when pm_runtime_get_sync fails pm_runtime_disable is invoked so that there is no unbalanced pm_runtime_enable calls. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/pci/host/pci-dra7xx.c |4 +++- 1 file

[PATCH v3 2/3] PCI: host: pci-dra7xx: add pm support to pci dra7xx

2015-07-27 Thread Kishon Vijay Abraham I
Add PM support to pci-dra7xx so that PCI clocks can be disabled during suspend and enabled back during resume without affecting PCI functionality. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/pci/host/pci-dra7xx.c | 72 + 1 file

[PATCH v3 3/3] PCI: host: pci-dra7xx: Idle the module by disabling MSE bit

2015-07-27 Thread Kishon Vijay Abraham I
DRA7xx require MSE bit to be cleared to set the master in standby mode. (In DRA7xx TRM_vE, section 24.9.4.5.2.2.1 PCIe Controller Master Standby Behavior advises to use the clearing of the local MSE bit to set the master in standby. Without this some of the clocks do not idle). Cleared the MSE

[PATCH v3 6/6] usb: dwc3: ep0: handle non maxpacket aligned transfers 512

2015-07-27 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:

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

2015-07-27 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 kis...@ti.com --- drivers/usb/dwc3/ep0.c| 16 +--- drivers/usb/dwc3/gadget.c |2 +- 2 files changed, 14

[PATCH v3 0/6] usb: dwc3: handle non maxpacket aligned transfers 512

2015-07-27 Thread Kishon Vijay Abraham I
Patch series first fixes memory corruption and then adds support to handle non maxpacket aligned transfers. 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

[PATCH v3 1/6] usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytes

2015-07-27 Thread Kishon Vijay Abraham I
DWC3 uses bounce buffer to handle non max packet aligned OUT transfers and the size of bounce buffer is 512 bytes. However if the host initiates OUT transfers of size more than 512 bytes (and non max packet aligned), the driver throws a WARN dump but still programs the TRB to receive more than 512

Re: n900 in 4.2-rc0: repeating oopses

2015-07-27 Thread Pali Rohár
On Monday 27 July 2015 00:31:19 Pavel Machek wrote: On Wed 2015-07-01 23:16:21, Tony Lindgren wrote: * Pavel Machek pa...@ucw.cz [150701 06:11]: On Wed 2015-07-01 03:34:22, Tony Lindgren wrote: Works for me after enabling the idle timeouts with the following script and blanking

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

2015-07-27 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 v4 16/46] usb: gadget: fusb300_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

Re: [PATCH v3 0/5] ARM: dts: OMAP2+: Enable USB dual-role on supported boards

2015-07-27 Thread Roger Quadros
Tony, On 21/07/15 13:54, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150708 03:45]: Hi, Enables dual-role feaure on supported boards. Depends on [1] - core USB DRD support - http://thread.gmane.org/gmane.linux.kernel/1991413 [2] - dwc3 DRD support -

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/udc/pxa25x_udc.c | 32 1 file changed, 32 insertions(+) diff --git a/drivers/usb/gadget/udc/pxa25x_udc.c

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

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

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

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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

[PATCH v4 26/46] usb: gadget: pch_udc: add ep capabilities support

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Roger Quadros
On 20/07/15 15:08, Tero Kristo wrote: On 07/17/2015 04:47 PM, Roger Quadros wrote: 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 rog...@ti.com ---

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 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 r.bald...@samsung.com --- include/linux/usb/gadget.h | 20

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

Re: [PATCH v3 10/11] usb: otg: Add dual-role device (DRD) support

2015-07-27 Thread Roger Quadros
On 20/07/15 04:23, Peter Chen wrote: On Fri, Jul 17, 2015 at 01:47:12PM +0300, Roger Quadros wrote: + * DRD mode hardware Inputs + * + * @id: TRUE for B-device, FALSE for A-device. + * @vbus: VBUS voltage in regulation. + * * OTG hardware Inputs * *Common inputs

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 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

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

2015-07-27 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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 b7cca3e..4aaa476 100644

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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 731b13d..3ee5b4c 100644 ---

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

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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

Re: [PATCH v3 3/3] ARM: dts: dra7: Add scm_conf1 node and remove redundant nodes

2015-07-27 Thread Roger Quadros
On 21/07/15 08:11, Kishon Vijay Abraham I wrote: Hi, On Monday 20 July 2015 05:34 PM, Tero Kristo wrote: On 07/17/2015 04:47 PM, Roger Quadros wrote: scm_conf1 maps the control register address space after the padconf till the end. Fix the scm_conf and pmx_core resource lengths. We need

Re: [PATCH v3 3/3] ARM: dts: dra7: Add scm_conf1 node and remove redundant nodes

2015-07-27 Thread Roger Quadros
On 20/07/15 15:04, Tero Kristo wrote: On 07/17/2015 04:47 PM, Roger Quadros wrote: scm_conf1 maps the control register address space after the padconf till the end. Fix the scm_conf and pmx_core resource lengths. We need to add 4 bytes to include the last 32-bit register space. Remove the

Re: [PATCH 3/3] ARM: errata 430973: move !ARCH_MULTIPLATFORM to Kconfig

2015-07-27 Thread Ben Dooks
On 27/07/15 02:14, Sebastian Reichel wrote: Hi, On Sun, Jul 26, 2015 at 11:51:45PM +0100, Russell King - ARM Linux wrote: On Fri, Jul 24, 2015 at 02:16:06AM +0200, Sebastian Reichel wrote: On Thu, Jul 23, 2015 at 01:35:53PM +0100, Russell King - ARM Linux wrote: On Thu, Jul 23, 2015

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

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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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 d97fcfa..65fd959 100644 ---

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 Thread Robert Baldyga
Convert endpoint configuration to new capabilities model. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- 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

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

2015-07-27 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

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

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

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

2015-07-27 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 v4 42/46] usb: gadget: move ep_matches() from epautoconf to udc-core

2015-07-27 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

  1   2   >