Re: [PATCH 1/4] input: ti_am335x_tsc: correct step mask update after IRQ

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 17:48:16 [+0100]: >diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c >b/drivers/input/touchscreen/ti_am335x_tsc.c >index e1c5300..e165fcb 100644 >--- a/drivers/input/touchscreen/ti_am335x_tsc.c >+++ b/drivers/input/touchscreen/ti_am335x_tsc.c >@@ -52,6 +52,7 @

Re: [PATCH 2/4] input: ti_am335x_tsc: Increase sequencer delay time

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 17:48:17 [+0100]: >diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c >b/drivers/input/touchscreen/ti_am335x_tsc.c >index e165fcb..766bc7e 100644 >--- a/drivers/input/touchscreen/ti_am335x_tsc.c >+++ b/drivers/input/touchscreen/ti_am335x_tsc.c >@@ -31,7 +31,7 @

Re: [PATCH 3/4] input: ti_tsc: Enable shared IRQ for TSC and add overrun, underflow checks

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 17:48:18 [+0100]: >Enable shared IRQ to allow ADC to share IRQ line from >parent MFD core. Only FIFO0 IRQs are for TSC and handled >on the TSC side. > >Patch also adds overrun and underflow irq handlers. > >Russ Dill (TI) worked on overrun and underflow handlers. >R

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
* Jonathan Cameron | 2013-08-15 12:43:02 [+0100]: >Hi, Hi Jonathan, >Whilst the below review is based on what we have here, I tried to apply it >to the latest iio.git togreg branch (which for this driver should be >much the same as staging-next and hence linux-next). It's not even >close and I c

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2013-08-16 12:07:02 [+0200]: >* Jonathan Cameron | 2013-08-15 12:43:02 [+0100]: > >It did apply with no trouble here. and with diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 93129ec..fdd9810 100644 --- a/drivers/iio/adc/Kconfig +++

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
On 08/16/2013 01:33 PM, Jonathan Cameron wrote: > Ah, fixes-togreg is for this cycle, whereas new stuff like this needs > to go on the togreg branch. Hence please rebase on the togreg branch > instead. But he needs "iio: ti_am335x_adc: Fix wrong samples received on 1st read" from that branch. How

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 21:05:03 [+0100]: >diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c >index 3ceac3e..0d7e313 100644 >--- a/drivers/iio/adc/ti_am335x_adc.c >+++ b/drivers/iio/adc/ti_am335x_adc.c >@@ -24,16 +24,28 @@ … >+static irqreturn_t tiadc_irq(int i

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 21:05:03 [+0100]: >diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c >index 3ceac3e..0d7e313 100644 >--- a/drivers/iio/adc/ti_am335x_adc.c >+++ b/drivers/iio/adc/ti_am335x_adc.c >@@ -141,58 +350,51 @@ static int tiadc_read_raw(struct iio

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-16 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 21:05:03 [+0100]: >diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c >index 3ceac3e..0d7e313 100644 >--- a/drivers/iio/adc/ti_am335x_adc.c >+++ b/drivers/iio/adc/ti_am335x_adc.c … >+static int tiadc_buffer_postdisable(struct iio_dev *in

[PATCH] usb: phy: am335x-control: make it compile with

2013-08-16 Thread Sebastian Andrzej Siewior
From: Sebastian Andrzej Siewior Randy reported this |drivers/usb/phy/phy-am335x-control.c:45:3: error: implicit declaration |of function '__WARN' [-Werror=implicit-function-declaration] and left it as an excercice to figure out that this happens only with CONFIG_BUG=n. As a fix I

[PATCH] dma: cpp41: make it compile with CONFIG_BUG=n

2013-08-16 Thread Sebastian Andrzej Siewior
From: Sebastian Andrzej Siewior Before Randy figures out that this does not compile with CONFIG_BUG=n here is a fix for it. Signed-off-by: Sebastian Andrzej Siewior --- drivers/dma/cppi41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/cppi41.c b/drivers/dma

Re: [PATCH v12 10/11] ARM: dts: add AM33XX EDMA support

2013-08-19 Thread Sebastian Andrzej Siewior
On 06/20/2013 11:06 PM, Joel A Fernandes wrote: > From: Matt Porter > > Adds AM33XX EDMA support to the am33xx.dtsi as documented in > Documentation/devicetree/bindings/dma/ti-edma.txt > > Joel: Drop DT entries that are non-hardware-description for now as discussed > in [1] > > [1] https://pat

Re: [PATCH 4/4] iio: ti_am335x_adc: Add continuous sampling and trigger support

2013-08-19 Thread Sebastian Andrzej Siewior
* Zubair Lutfullah | 2013-08-13 21:05:03 [+0100]: >diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c >index 3ceac3e..0d7e313 100644 >--- a/drivers/iio/adc/ti_am335x_adc.c >+++ b/drivers/iio/adc/ti_am335x_adc.c … >+static irqreturn_t tiadc_irq(int irq, void *private) >+

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-20 Thread Sebastian Andrzej Siewior
On 08/20/2013 03:02 AM, Steven Rostedt wrote: > Looking at it more, I can now see why they did what they did. He is the only user in the whole kernel. It is somehow hard to believe that it can't be solved differently. > -- Steve Sebastian -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH 15/16] dmaengine: add transfered member to dma_async_tx_descriptor

2013-07-29 Thread Sebastian Andrzej Siewior
On 07/29/2013 01:39 PM, Vinod Koul wrote: >> @@ -416,6 +418,7 @@ struct dma_async_tx_descriptor { >> dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *tx); >> dma_async_tx_callback callback; >> void *callback_param; >> +unsigned int transfered; > I think this should be do

Re: [PATCH v2 1/4] usb: phy: phy-omap-control: Add API to power and wakeup

2013-07-29 Thread Sebastian Andrzej Siewior
* George Cherian | 2013-07-19 18:04:34 [+0530]: >diff --git a/drivers/usb/phy/phy-omap-control.c >b/drivers/usb/phy/phy-omap-control.c >index 1419ced..4f2502c 100644 >--- a/drivers/usb/phy/phy-omap-control.c >+++ b/drivers/usb/phy/phy-omap-control.c >@@ -46,6 +46,73 @@ struct device *omap_get_con

Re: [PATCH v2 2/4] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-29 Thread Sebastian Andrzej Siewior
* George Cherian | 2013-07-19 18:04:35 [+0530]: >Adds phy driver support for am33xx platform, the host/device >peripheral controller shall get this phy object to control the phy >operations. If you rebase this on-top of the two instances patches I've sent earlier then you can bury patch 3 and 4,

Re: [PATCH 2/4] usb: phy: add am335x pieces to generic phy

2013-07-29 Thread Sebastian Andrzej Siewior
* Felipe Balbi | 2013-07-29 15:22:18 [+0300]: >On Fri, Jul 26, 2013 at 10:15:55PM +0200, Sebastian Andrzej Siewior wrote: >> This patch copies the phy support bits from dsps into the generic phy >> driver. Most code can be re-used except for the on/off. >> The additional

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-29 Thread Sebastian Andrzej Siewior
* Bin Liu | 2013-07-26 22:07:14 [-0500]: >Sebastian, Hi Bin, >I have not tested it yet, but I believe I found why host mode works on >TI 3.2 kernel but not on mainline. Please look at Line 786 in 3.2 >kernel musb_core.c [1]. > >773 if ((int_usb & MUSB_INTR_DISCONNECT) && !musb->ignore_dis

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-29 Thread Sebastian Andrzej Siewior
On 07/29/2013 07:26 PM, Bin Liu wrote: > Sebastian, Hi Bin, > I did not say AM335xEVM is not able to run OTG mode. The problem is in > OTG mode the SESSION bit will be cleared once the device is unplugged, > then there is no way the SESSION bit will come back in the current > mainline kernel. Ye

Re: [PATCH 1/4] usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 09:08 AM, Tony Lindgren wrote: > Looking at this patch there's a pretty high probability of introducing > pointless merge conflicts. > > How about do the platform data related changes as a separate follow-up > series? You can typically do this by keeping the old features around, > th

Re: [PATCH v2 1/4] usb: phy: phy-omap-control: Add API to power and wakeup

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 06:53 AM, George Cherian wrote: > Control module have 2 separate registers for phy on/off per instance > (offset 0x620 and 0x628), where as > wkup_ctrl is a shared control module register (offset 0x648). Currently > the control module driver maps > memory from 0x620 till beyond 0x64

Re: [PATCH v2 2/4] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 07:19 AM, George Cherian wrote: >> So from what I see now, it is most likely the easiest thing to just add >> that wakeup to the phy driver I posted. Do you agree? > > The whole idea of writing a seperate phy driver was to use the generic > phy framework > and most of the am devi

Re: [PATCH 1/4] usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv

2013-07-30 Thread Sebastian Andrzej Siewior
On 07/30/2013 09:56 AM, Tony Lindgren wrote: > A separate minimal branch against -rc3 sounds good to me. Great. Felipe, can you please put this change in a separate -rc3 based branch which you and Tony will pull in? > Regards, > > Tony > Sebastian -- To unsubscribe from this list: send the lin

Re: [PATCH v2 2/4] phy: phy-amxxxx-usb: Add PHY driver for amxxxx platform

2013-07-30 Thread Sebastian Andrzej Siewior
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/30/2013 04:33 PM, Felipe Balbi wrote: > let's try not to add any new TI-specific DT bindings, can you > figure that out by reading some revision register ? Or perhaps by > using different compatible strings ? I would suggest to use a different

am335x, multi instance and phy support, v3

2013-07-30 Thread Sebastian Andrzej Siewior
Hi, patch is mostly unchanged. I also added a phy a rename. I belive Tony is okay with taking this on a -rc4 based branch. #2 creates exports the common functions su am335x pieces don't polute the file. #3 is the new phy using the reset module which is similar to what omap does. #5 has be alted fo

[PATCH 3/5] usb: phy: Add AM335x PHY driver

2013-07-30 Thread Sebastian Andrzej Siewior
: - no static holding variable - one global visible function which exports a struct with callbacks to access the "control" registers. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/Kconfig | 12 drivers/usb/phy/Makefile | 2 + drivers/usb

[PATCH 1/5] usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv

2013-07-30 Thread Sebastian Andrzej Siewior
te driver. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/mach-omap2/board-omap3beagle.c | 4 +- arch/arm/mach-omap2/board-omap3evm.c | 4 +- arch/arm/mach-omap2/board-omap3pandora.c | 2 +- arch/arm/mach-omap2/usb-host.c | 10 +- drivers/usb/dwc3/dwc3-exynos.c |

[PATCH 2/5] usb: phy: phy-generic: export init functions

2013-07-30 Thread Sebastian Andrzej Siewior
This patch exports the mostly generic functions so they can be used from other phy driver instead of duplicating the code. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/phy-generic.c | 130 -- drivers/usb/phy/phy-generic.h | 20 +++ 2

[PATCH 4/5] usb: musb: dsps: remove the hardcoded phy pieces

2013-07-30 Thread Sebastian Andrzej Siewior
. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 97 +--- 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 05c2a02..7f1361c 100644 --- a/drivers/usb

[PATCH 5/5] usb: musb: dsps: use proper child nodes

2013-07-30 Thread Sebastian Andrzej Siewior
_wrapper is copied but it is not necessary. The same goes for musb_hdrc_platform_data which allocated on demand and then again by platform_device_add_data(). One copy is enough. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-bone.dts | 16 +++ arch/arm/boot/d

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-31 Thread Sebastian Andrzej Siewior
* Grant Likely | 2013-07-24 15:19:58 [+0100]: >> Was there more breakage than imx6 and amba devices? Your first version >> had a fallback case for powerpc. Couldn't we do just allow that for more >> than just powerpc? I'd much rather see some work-around within the core >> DT code with a warning t

Re: [PATCH 5/5] usb: musb: dsps: use proper child nodes

2013-08-01 Thread Sebastian Andrzej Siewior
On 08/01/2013 07:24 AM, George Cherian wrote: >> b/arch/arm/boot/dts/am33xx.dtsi >> index 38b446b..0f756ca 100644 >> --- a/arch/arm/boot/dts/am33xx.dtsi >> +++ b/arch/arm/boot/dts/am33xx.dtsi >> @@ -333,21 +337,85 @@ >> status = "disabled"; >> }; >> -usb@4740 {

Re: [PATCH 3/5] usb: phy: Add AM335x PHY driver

2013-08-01 Thread Sebastian Andrzej Siewior
On 08/01/2013 07:36 AM, George Cherian wrote: please keep the file here file snipping >> +static const struct of_device_id omap_control_usb_id_table[] = { >> +{ .compatible = "ti,am335x-ctrl-module", .data = &ctrl_am335x }, >> +{} >> +}; >> +MODULE_DEVICE_TABLE(of, omap_control_usb_id_tab

Re: [PATCH 5/5] usb: musb: dsps: use proper child nodes

2013-08-01 Thread Sebastian Andrzej Siewior
On 08/01/2013 12:52 PM, Sebastian Andrzej Siewior wrote: > On 08/01/2013 07:24 AM, George Cherian wrote: >>> b/arch/arm/boot/dts/am33xx.dtsi >>> index 38b446b..0f756ca 100644 >>> --- a/arch/arm/boot/dts/am33xx.dtsi >>> +++ b/arch/arm/boot

Re: [PATCH 5/5] usb: musb: dsps: use proper child nodes

2013-08-02 Thread Sebastian Andrzej Siewior
On 08/01/2013 01:30 PM, Sebastian Andrzej Siewior wrote: > On 08/01/2013 12:52 PM, Sebastian Andrzej Siewior wrote: >> On 08/01/2013 07:24 AM, George Cherian wrote: >>>> b/arch/arm/boot/dts/am33xx.dtsi >>>> index 38b446b..0f756ca 100644 >>>> --- a/arch

Re: [ANNOUNCE] 3.10.4-rt1

2013-08-02 Thread Sebastian Andrzej Siewior
On 08/02/2013 07:05 AM, Benjamin Herrenschmidt wrote: > On Thu, 2013-08-01 at 20:03 -0400, Paul Gortmaker wrote: >> I've added Ben to the CC in case he has a suggestion on >> how best to fix this, even though it is not yet mainline. > > Can you exchange with a TIF_ that isn't used in asm ? For exa

[PATCH 3/5] usb: musb: dsps: remove the hardcoded phy pieces

2013-08-02 Thread Sebastian Andrzej Siewior
. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 97 +--- 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 05c2a02..7f1361c 100644 --- a/drivers/usb

[PATCH 2/5] usb: phy: Add AM335x PHY driver

2013-08-02 Thread Sebastian Andrzej Siewior
: - no static holding variable - one global visible function which exports a struct with callbacks to access the "control" registers. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/Kconfig | 12 drivers/usb/phy/Makefile | 2 + drivers/usb

[PATCH 5/5] usb/musb dma: add cppi41 dma driver

2013-08-02 Thread Sebastian Andrzej Siewior
een transferred. - cancel transfers and reclaim descriptors v1..v2: - RX path added - dma mode 0 & 1 is working - device tree nodes re-created. Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts |4 + arch/arm/boot/dts/am

am335x: support for multiple USB instances, v3

2013-08-02 Thread Sebastian Andrzej Siewior
Hi, this series depends on Felipe's master tree and "usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv" which I posted earlier. I created a -rc3 based branch for that patch [0]. If you fine with this please let Tony know. I updated the child nodes & the phy generic to use two small memory spaces

[PATCH 4/5] usb: musb: dsps: use proper child nodes

2013-08-02 Thread Sebastian Andrzej Siewior
_wrapper is copied but it is not necessary. The same goes for musb_hdrc_platform_data which allocated on demand and then again by platform_device_add_data(). One copy is enough. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-bone.dts | 16 +++ arch/arm/boot/d

[PATCH 1/5] usb: phy: phy-generic: export init functions

2013-08-02 Thread Sebastian Andrzej Siewior
This patch exports the mostly generic functions so they can be used from other phy driver instead of duplicating the code. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/phy-generic.c | 130 -- drivers/usb/phy/phy-generic.h | 20 +++ 2

Re: [PATCH RT 0/3] rt/rcu/swait: Fix boot up when RCU NOCB_ALL is enabled

2013-08-21 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2013-08-19 11:35:30 [-0400]: >Thomas and Sebastian, Hi Steven, thanks for the series. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [PATCH RT 0/3] hwlat-detector: Have it actually find hardware latency

2013-08-21 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2013-08-19 17:33:24 [-0400]: >Thi patch series fixes up hwlat-detector to check the entire path >of time for a latency being hit, instead of the quick check between >two time stamps. > >It also uses the trace_local_clock() if available, which is much lighter >weight than ktime_g

[ANNOUNCE] 3.10.9-rt5

2013-08-22 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v3.10.9-rt5 patch set. Changes since v3.10.9-rt4 - swait fixes from Steven. It fixed the issues with CONFIG_RCU_NOCB_CPU where the system suddenly froze and RCU wasn't doing its job anymore - hwlat improvements by Steven Known issues: - SLAB su

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-22 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2013-08-22 20:21:27 [+0200]: >Changes since v3.10.9-rt4 >- swait fixes from Steven. It fixed the issues with CONFIG_RCU_NOCB_CPU > where the system suddenly froze and RCU wasn't doing its job Also a big thanks to Carsten Emde and Paul E. McKenney f

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-23 Thread Sebastian Andrzej Siewior
On 08/22/2013 08:53 PM, Steven Rostedt wrote: >> - bcache does not compile. > > For now, it may be prudent to just make bcache depend on !PREEMPT_RT. > > I can send a patch if you want. I was tempted to take one of your two patches. Haven't deiced yet. > -- Steve Sebastian -- To unsubscr

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-23 Thread Sebastian Andrzej Siewior
On 08/23/2013 07:50 AM, Fernando Lopez-Lezcano wrote: > On 08/22/2013 11:21 AM, Sebastian Andrzej Siewior wrote: >> - hwlat improvements by Steven >> >> Known issues: > ... > Trying to build I get (in make modules): > > ERROR: "__udivdi3" [drivers/

Re: [ANNOUNCE] 3.10.9-rt5

2013-08-23 Thread Sebastian Andrzej Siewior
* Fernando Lopez-Lezcano | 2013-08-23 10:18:08 [-0700]: >Please post a patch when/if you have it so I can retry the build... >Thanks for taking a look at this! Does this fix your trobule? diff --git a/drivers/misc/hwlat_detector.c b/drivers/misc/hwlat_detector.c index 0bfa40d..6f61d5f 100644 ---

[PATCH] ARM: dts: add AM33XX EDMA support

2013-08-23 Thread Sebastian Andrzej Siewior
Signed-off-by: Joel A Fernandes Signed-off-by: Sebastian Andrzej Siewior --- Could someone please pick this up? arch/arm/boot/dts/am33xx.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 38b446b..784f774 100644

[PATCH] clocksource: add an "menu" item to Kconfig

2013-08-07 Thread Sebastian Andrzej Siewior
This patch adds a menu item to clocksource' Kconfig file. Without it the changeable items look somehow lost in the main drivers' menu Signed-off-by: Sebastian Andrzej Siewior --- drivers/clocksource/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource

Re: [PATCH] clocksource: add an "menu" item to Kconfig

2013-08-07 Thread Sebastian Andrzej Siewior
On 08/07/2013 06:21 PM, John Stultz wrote: > On 08/07/2013 03:56 AM, Sebastian Andrzej Siewior wrote: >> This patch adds a menu item to clocksource' Kconfig file. Without it the >> changeable items look somehow lost in the main drivers' menu > > So I'd like to

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-19 Thread Sebastian Andrzej Siewior
On 07/19/2013 03:56 PM, Sergei Shtylyov wrote: > On 19-07-2013 16:34, George Cherian wrote: > >> diff --git a/arch/arm/boot/dts/am33xx.dtsi >> b/arch/arm/boot/dts/am33xx.dtsi >> index 8e1248f..e3890c4 100644 >> --- a/arch/arm/boot/dts/am33xx.dtsi >> +++ b/arch/arm/boot/dts/am33xx.dtsi >> @@ -326,2

[PATCH] of: provide of_platform_unpopulate()

2013-07-19 Thread Sebastian Andrzej Siewior
c: Doug Anderson Cc: Vivek Gautam Cc: Naveen Krishna Chatradhi Cc: Kukjin Kim Cc: Kishon Vijay Abraham I Cc: Roger Quadros Cc: George Cherian Cc: Felipe Balbi Signed-off-by: Sebastian Andrzej Siewior --- drivers/bus/omap-ocp2scp.c | 13 ++--- drivers/iio/adc/exy

Re: [PATCH v2 3/4] arm: dts: Add USB phy nodes for AM33XX

2013-07-19 Thread Sebastian Andrzej Siewior
On 07/19/2013 08:33 PM, Sergei Shtylyov wrote: > Hello. Hello, >> usb: usb@4740 { >> compatible = "ti,am33xx-usb"; >> >> usb0_phy: phy@47401300 { >> compatible = "ti,am335x-usb-phy"; >> } >> usb0: usb@47401000 { >> musb0: usb@47401400 { >> comp

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-21 Thread Sebastian Andrzej Siewior
On 07/21/2013 04:42 PM, Rob Herring wrote: > Wouldn't the correct fix be to call insert_resource somehow? Yes unless there was a reason this wasn't done in the first place. > The problem > I have is that while of_platform_populate is all about parsing the DT > and creating devices, the removal si

Re: [PATCH] of: provide of_platform_unpopulate()

2013-07-22 Thread Sebastian Andrzej Siewior
On 07/20/2013 07:42 AM, NAVEEN KRISHNA CHATRADHI wrote: > Hello Sebastian, Hello Naveen, > > I just did one more testing. > > In case of iio/adc/exynos_adc.c there is a bug in the remove path. > If I fix the bug in the driver, with below patch > > --- a/drivers/iio/adc/exynos_adc.c > +++ b/dri

[PATCH 07/16] usb: musb: replace ifndef with ifdef for CONFIG_MUSB_PIO_ONLY

2013-07-22 Thread Sebastian Andrzej Siewior
The ifdef reads somehow better than an ifndef Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dma.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 1b6b827..8919ce2 100644 --- a/drivers

[PATCH 15/16] dmaengine: add transfered member to dma_async_tx_descriptor

2013-07-22 Thread Sebastian Andrzej Siewior
this to the caller. This patch adds the transfered member to the dma_async_tx_descriptor where the caller can obtain the final size. Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Sebastian Andrzej Siewior --- include/linux/dmaengine.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include

[PATCH 12/16] usb: musb: unmap reqs in musb_gadget_queue()'s error case

2013-07-22 Thread Sebastian Andrzej Siewior
: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_gadget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c index 0414bc1..96632f9 100644 --- a/drivers/usb/musb/musb_gadget.c +++ b/drivers/usb/musb

[PATCH 08/16] usb: musb: dma: merge ->start/stop into create/destroy

2013-07-22 Thread Sebastian Andrzej Siewior
since there is no difference. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/cppi_dma.c | 18 +- drivers/usb/musb/musb_core.c | 18 -- drivers/usb/musb/musb_dma.h | 2 -- drivers/usb/musb/musbhsdma.c | 16 +++- drivers/us

[PATCH 09/16] usb: musb: provide empty dma_controller_create() in PIO mode

2013-07-22 Thread Sebastian Andrzej Siewior
Add a dma_controller_create() returning NULL so a few ifdefs can dropped. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dma.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/musb/musb_dma.h b/drivers/usb/musb/musb_dma.h index 3603711..c8e67fd

[PATCH 13/16] usb: musb: do not change dev's dma_mask

2013-07-22 Thread Sebastian Andrzej Siewior
e do we need to erase dma_mask in the first place? Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_core.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 9b774e7..80ffd7e 100644 --- a/drivers/usb/musb/mu

[PATCH 10/16] usb: musb: remove a few is_dma_capable() in init/exit code

2013-07-22 Thread Sebastian Andrzej Siewior
function was not around :) Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_core.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index a4434d2..b33bed5 100644 --- a/drivers/usb/musb

[PATCH 11/16] usb: musb: core: call dma_controller_destroy() in the err path

2013-07-22 Thread Sebastian Andrzej Siewior
The cleanup in the error is missing the dma controller. The structure is allocated at runtime and ux500 allocates even a little more than just this struct. So cleanup! Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH 16/16] usb/musb dma: add cppi41 dma driver

2013-07-22 Thread Sebastian Andrzej Siewior
; 1 is working - device tree nodes re-created. Cc: Vinod Koul Cc: Dan Williams Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts | 4 + arch/arm/boot/dts/am33xx.dtsi| 61 +++ drivers/dma/Kconfig | 8 + drivers/dma/Makefile | 1 + driv

[PATCH 05/16] usb: musb: dsps: use proper child nodes

2013-07-22 Thread Sebastian Andrzej Siewior
t is not necessary. The same goes for musb_hdrc_platform_data which allocated on demand and then again by platform_device_add_data(). One copy is enough. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-bone.dts | 12 ++ arch/arm/boot/dts/am335x-evm.dts | 20 +++

[PATCH 01/16] usb: musb: dsps: init / shutdown the phy

2013-07-22 Thread Sebastian Andrzej Siewior
If the init / shutdown function of the phy moves out of dsps into the phy driver, then dsps needs to call the callbacks of the phy driver to ensure that this happens. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH 06/16] usb: musb: dsps: rename ti81xx_driver_data to am33xx_driver_data

2013-07-22 Thread Sebastian Andrzej Siewior
Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 37ebcbc..2e45723 100644 --- a/drivers/usb/musb/musb_dsps.c +++ b/drivers/usb/musb/musb_dsps.c

am33x: multiple instances and dma support, v2

2013-07-22 Thread Sebastian Andrzej Siewior
Hello, this series contains support for the two available MUSB instances on AM335x and DMA support. I added dma support at the end since it depends on the rework to support multiple instances. Patch two "still" extends the phy-nop driver since I have to dump it somewhere. I have no problems to rep

[PATCH 02/16] usb: phy: phy-nop: add support for am335x PHY

2013-07-22 Thread Sebastian Andrzej Siewior
just add the missing pieces to this one. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/phy-nop.c | 114 +- 1 file changed, 102 insertions(+), 12 deletions(-) diff --git a/drivers/usb/phy/phy-nop.c b/drivers/usb/phy/phy-nop.c index

[PATCH 04/16] usb: musb: remove ti81xx pieces from musb

2013-07-22 Thread Sebastian Andrzej Siewior
ti81xx does not have a baseport mainline i.e. it should not boot. The amount of rework that is required makes it easier to simply remove that platform (i.e. that possible platform device) and add it later once it comes back with DT support. Signed-off-by: Sebastian Andrzej Siewior --- drivers

[PATCH 03/16] usb: musb: dsps: remove the hardcoded phy pieces

2013-07-22 Thread Sebastian Andrzej Siewior
. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 97 +--- 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 603ea74..ab723fa 100644 --- a/drivers/usb

[PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-22 Thread Sebastian Andrzej Siewior
This patch adds the MUSB_DEVCTL_SESSION back after it has been removed. If it is missing then the host session is not recognized. This bit is added initially added in musb_start() and removed after the first device disconnect. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb

Re: [PATCH 06/16] usb: musb: dsps: rename ti81xx_driver_data to am33xx_driver_data

2013-07-23 Thread Sebastian Andrzej Siewior
On 07/23/2013 08:04 AM, George Cherian wrote: > Hi Sebastian, > > > On 7/22/2013 11:39 PM, Sebastian Andrzej Siewior wrote: > >> This patch renames the type struct from ti81xx_driver_data to >> am33xx_driver_data since it is not used for ti81xx anymore. The EOI >

Re: [PATCH 05/16] usb: musb: dsps: use proper child nodes

2013-07-23 Thread Sebastian Andrzej Siewior
On 07/23/2013 08:46 AM, George Cherian wrote: >> diff --git a/arch/arm/boot/dts/am335x-evm.dts >> b/arch/arm/boot/dts/am335x-evm.dts >> index 3aee1a4..a3a642a 100644 >> --- a/arch/arm/boot/dts/am335x-evm.dts >> +++ b/arch/arm/boot/dts/am335x-evm.dts >> @@ -171,6 +171,26 @@ >> }; >>

Re: [PATCH 15/16] dmaengine: add transfered member to dma_async_tx_descriptor

2013-07-23 Thread Sebastian Andrzej Siewior
On 07/22/2013 08:52 PM, Sergei Shtylyov wrote: >> @@ -416,6 +418,7 @@ struct dma_async_tx_descriptor { >> dma_cookie_t (*tx_submit)(struct dma_async_tx_descriptor *tx); >> dma_async_tx_callback callback; >> void *callback_param; >> +unsigned int transfered; > >Correct gra

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-23 Thread Sebastian Andrzej Siewior
On 07/23/2013 07:28 PM, Bin Liu wrote: > Hi, Hi, > > On Mon, Jul 22, 2013 at 1:10 PM, Sebastian Andrzej Siewior > mailto:bige...@linutronix.de>> wrote: > > This patch adds the MUSB_DEVCTL_SESSION back after it has been removed. > If it is missing then the hos

Re: [PATCH 06/16] usb: musb: dsps: rename ti81xx_driver_data to am33xx_driver_data

2013-07-25 Thread Sebastian Andrzej Siewior
* Bin Liu | 2013-07-23 13:23:57 [-0500]: >Hi Sebastian, Hi Liu, >On Mon, Jul 22, 2013 at 1:09 PM, Sebastian Andrzej Siewior < >bige...@linutronix.de> wrote: > >> This patch renames the type struct from ti81xx_driver_data to >> am33xx_driver_data since it is not us

Re: [PATCH 02/16] usb: phy: phy-nop: add support for am335x PHY

2013-07-25 Thread Sebastian Andrzej Siewior
* Felipe Balbi | 2013-07-25 17:33:30 [+0300]: >On Mon, Jul 22, 2013 at 08:09:53PM +0200, Sebastian Andrzej Siewior wrote: >right, I replied to the wrong series, please add a patch renaming file >and functions to phy-generic.c/usb_phy_gen_ Sorry, I can't parse that. You want to re

Re: [PATCH 15/16] dmaengine: add transfered member to dma_async_tx_descriptor

2013-07-25 Thread Sebastian Andrzej Siewior
On 07/25/2013 04:57 PM, Lars-Peter Clausen wrote: > I'm not sure that this will work. Once you've submitted the descriptor it is > owned by the dmaengine driver and you are not allowed to dereference it > anymore since the dmaengine driver might free the memory at any time. You > should only refere

Re: [PATCH 06/16] usb: musb: dsps: rename ti81xx_driver_data to am33xx_driver_data

2013-07-25 Thread Sebastian Andrzej Siewior
On 07/25/2013 05:12 PM, Bin Liu wrote: > Sebastian, Hi Bin, >> Is it really there or was it never there and it has been added to TRM by >> accident? > The EOI register IS in the USB subsystem of AM33xx, but the SoC does > not use it because it uses level triggering for USB interrupt. I see. >>>

[PATCH 06/16 => 2/2] usb: musb: dsps: remove EOI access

2013-07-26 Thread Sebastian Andrzej Siewior
The EOI register is not present in the AM335x memory space according to the TRM and thus removed. Should any platform using the EOI register get merged then it may be used again if the register address is not zero. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 15

[PATCH 06/16 => 1/2] usb: musb: dsps: rename ti81xx_driver_data to am33xx_driver_data

2013-07-26 Thread Sebastian Andrzej Siewior
The ti81xx platform is not fully supported right now. This patch renames the date structure to a am33xx prefix which is actually used. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb

Re: [PATCH 15/16] dmaengine: add transfered member to dma_async_tx_descriptor

2013-07-26 Thread Sebastian Andrzej Siewior
On Thu, Jul 25, 2013 at 05:32:35PM +0200, Lars-Peter Clausen wrote: > > I see. But it can't be reused before calling the callback if it is > > going to call the callback, right? > > So if this is a no-no, I'm left with an additional argument to the > > complete callback? > > Hm, maybe using dmaeng

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Sebastian Andrzej Siewior
* Bin Liu | 2013-07-23 13:55:27 [-0500]: >Hi Sebastian, Hi Bin, >> In my testing the bit remains set. How is the bit supposed to come back >> after I connect a host device? >The bit remains even when no device is plugged and ID ping is float? After I set it, it remains set yes. >what platform do

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Sebastian Andrzej Siewior
* Bin Liu | 2013-07-23 13:55:27 [-0500]: >Hi Sebastian, Hi Bin, >either by SRP or HNP, or something else. In TI 3.2 kernel, there is >workaround in otg_timer() to _toggle_ the SESSION bit to detect if ID >pin is grounded, which means a USB device is connected. I've been looking at http://downl

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Sebastian Andrzej Siewior
On 07/26/2013 08:17 PM, Bin Liu wrote: Hi Bin. >> In TI 3.2 kernel, the otg_timer() toggles the SESSION bit in >> OTG_STATE_B_IDLE state. So whenever the ID pin is grounded by >> connecting a device, the controller will try go into host mode. >> But I have no idea why your board is in a_idle not

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Sebastian Andrzej Siewior
On 07/26/2013 08:29 PM, Bin Liu wrote: Hi Bin, >> [ 97.570852] musb-hdrc musb-hdrc.1.auto: Poll devctl 19 (a_wait_bcon) > I don't think you are testing with the 3.2 kernel you referred from > the ti.com link you mentioned above. > 3.2 kernel should have no '.auto' at the end of the device name.

[PATCH 1/4] usb: phy: rename nop_usb_xceiv => usb_phy_gen_xceiv

2013-07-26 Thread Sebastian Andrzej Siewior
te driver. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/mach-omap2/board-omap3beagle.c | 2 +- arch/arm/mach-omap2/board-omap3evm.c | 2 +- arch/arm/mach-omap2/board-omap3pandora.c | 2 +- arch/arm/mach-omap2/usb-host.c | 8 +++--- drivers/usb/dwc3/dwc3-ex

[PATCH 3/4] usb: musb: dsps: remove the hardcoded phy pieces

2013-07-26 Thread Sebastian Andrzej Siewior
. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/musb/musb_dsps.c | 97 +--- 1 file changed, 1 insertion(+), 96 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 23f511f..19819fd 100644 --- a/drivers/usb

[PATCH 4/4] usb: musb: dsps: use proper child nodes

2013-07-26 Thread Sebastian Andrzej Siewior
t is not necessary. The same goes for musb_hdrc_platform_data which allocated on demand and then again by platform_device_add_data(). One copy is enough. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-bone.dts | 12 ++ arch/arm/boot/dts/am335x-evm.dts | 20 +++

am335x: support for multiple USB instances

2013-07-26 Thread Sebastian Andrzej Siewior
Hi, The last series has been rebased ontop Felipe's testing branch. It contains only the support for multiple devices. I decided to keep the temporary change in the nop (now generic) phy driver which should ease the transition. I still have the problem that the second USB port does not work after

[PATCH 2/4] usb: phy: add am335x pieces to generic phy

2013-07-26 Thread Sebastian Andrzej Siewior
This patch copies the phy support bits from dsps into the generic phy driver. Most code can be re-used except for the on/off. The additional am335x can be removed once we have a phy driver that does more than this. Signed-off-by: Sebastian Andrzej Siewior --- drivers/usb/phy/phy-generic.c | 116

Re: [PATCH 14/16] usb: musb: dsps: add MUSB_DEVCTL_SESSION back after removal

2013-07-26 Thread Sebastian Andrzej Siewior
On 07/26/2013 10:15 PM, Bin Liu wrote: > Sebastian, Hi Bin, > I started thinking when I tried this git.ti.com 3.8 kernel, I might > have done 'devmem2 0x47401c60 b 0x81' to manually set the SESSION bit > after plugged a device. It was months ago, I don't quite remember what > I tested. Ah. You c

[PATCH] usb: musb: am335x: Do not remove the session bin HOST-only mode

2013-08-09 Thread Sebastian Andrzej Siewior
Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts | 3 +++ drivers/usb/musb/musb_dsps.c | 13 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index c26c16c..38a821a 100644 --- a/ar

Re: [ANNOUNCE] 3.10.4-rt1

2013-08-12 Thread Sebastian Andrzej Siewior
* Paul Gortmaker | 2013-08-02 10:19:36 [-0400]: >The list of donor victims that aren't used in asm is getting >smaller, but TIF_POLLING_NRFLAG seems OK and it puts RESCHED >and RESCHED_LAZY right beside each other. Applied & merged into the original patch. Thanks. >Thanks guys, >Paul. Sebastian

Re: [PATCH] arm: spear: platsmp: fix lock definition

2013-08-12 Thread Sebastian Andrzej Siewior
* Felipe Balbi | 2013-08-01 16:54:24 [+0300]: > >compile tested only, I don't have any spear boards. > >But at least solves the argument error compile warnings. looks very correct :) Applied and folded back into the original patch. Sebastian -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH] clocksource: add an "menu" item to Kconfig

2013-08-12 Thread Sebastian Andrzej Siewior
On 08/12/2013 02:55 PM, Daniel Lezcano wrote: > Sebastian, Hi Daniel, > instead of adding a menu item in the Kconfig, is it possible to have > this Kconfig PCI board support to select the right driver ? I decided to go with only with "tristate" so it does not pop up in Kconfig and will be select

<    1   2   3   4   5   6   7   8   9   10   >