[PATCH 15/22] input & mfd: ti_am335x_tsc remove remaining platform data pieces

2013-06-11 Thread Sebastian Andrzej Siewior
The two header files removed here are unused and have no users as this platform was never used with platform devices. Signed-off-by: Sebastian Andrzej Siewior --- include/linux/input/ti_am335x_tsc.h | 35 --- include/linux/mfd/ti_am335x_tscadc.h|5

[PATCH 19/22] input/ti_am335x_tsc: ACK the HW_PEN irq in ISR

2013-06-11 Thread Sebastian Andrzej Siewior
Andrzej Siewior --- drivers/input/touchscreen/ti_am335x_tsc.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 29febe9..84859da 100644 --- a/drivers/input/touchscreen/ti_am335x_tsc.c +++ b/drivers

[PATCH 10/22] mfd/ti_am335x_tscadc: Add DT support

2013-06-11 Thread Sebastian Andrzej Siewior
dule alias, rename to ti,am3359-tscadc as it was tested on AM3359] Signed-off-by: Sebastian Andrzej Siewior --- drivers/mfd/ti_am335x_tscadc.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/d

[PATCH 21/22] iio/ti_am335x_adc: Allow to specify input line

2013-06-11 Thread Sebastian Andrzej Siewior
checks for correct step number during reading and does not rely on proper FIFO depth. Acked-by: Jonathan Cameron Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts |2 +- drivers/iio/adc/ti_am335x_adc.c | 57 +- drivers/mfd

[PATCH 13/22] mfd/ti_tscadc: deal with partial activation

2013-06-11 Thread Sebastian Andrzej Siewior
Andrzej Siewior --- drivers/mfd/ti_am335x_tscadc.c | 38 ++ include/linux/mfd/ti_am335x_tscadc.h |8 +++ 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c b/drivers/mfd/ti_am335x_tscadc.c index f9ad26f

[PATCH 20/22] input/ti_am335x_tsc: return IRQ_NONE if there was no IRQ for us

2013-06-11 Thread Sebastian Andrzej Siewior
is actually the case. Signed-off-by: Sebastian Andrzej Siewior --- drivers/input/touchscreen/ti_am335x_tsc.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/ti_am335x_tsc.c b/drivers/input/touchscreen/ti_am335x_tsc.c index 84859da..6327169

[PATCH 12/22] iio/ti_tscadc: provide datasheet_name and scan_type

2013-06-11 Thread Sebastian Andrzej Siewior
ned-off-by: Felipe Balbi [bigeasy: use static AIN[0-8] names, use kcalloc(), removed iio_map, patch description] Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c | 29 - 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/d

[PATCH 14/22] arm/am33xx: add TSC/ADC mfd device support

2013-06-11 Thread Sebastian Andrzej Siewior
igned-off-by: Felipe Balbi [bigeasy: add 'status = "okay"'] Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts | 14 ++ arch/arm/boot/dts/am33xx.dtsi| 18 ++ 2 files changed, 32 insertions(+) diff --git a/arch/arm

[PATCH 11/22] mfd/ti_am335x_tscadc: remove platform_data support

2013-06-11 Thread Sebastian Andrzej Siewior
This patch removes access to platform data mfd_tscadc_board because the platform is DT only. Signed-off-by: Sebastian Andrzej Siewior --- drivers/mfd/ti_am335x_tscadc.c | 23 ++- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/ti_am335x_tscadc.c

[PATCH 17/22] mfd & iio/ti_am335x_adc: rename device from tiadc to TI-am335x-adc

2013-06-11 Thread Sebastian Andrzej Siewior
TI-adc reads a little better compared to tiadc. And if we add am335x to it then we have the same naming scheme as the tsc side. Acked-by: Jonathan Cameron Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c |3 +-- drivers/mfd/ti_am335x_tscadc.c |2 +- 2 files

[PATCH 22/22] iio/ti_am335x_adc: check if we found the value

2013-06-11 Thread Sebastian Andrzej Siewior
Usually we get all the values we wanted but it is possible, that te ADC unit is busy performing the conversation for the HW events. In that case -EBUSY is returned and the user may re-call the function. Acked-by: Jonathan Cameron Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc

[PATCH 04/22] input/ti_am33x_tsc: Order of TSC wires, made configurable

2013-06-11 Thread Sebastian Andrzej Siewior
][4] array, smaller sized config_inp, no regbit_map(), shrinked titsc_config_wires(), no config redo on resume, config_inp and friends are now u32] Signed-off-by: Sebastian Andrzej Siewior --- drivers/input/touchscreen/ti_am335x_tsc.c | 102

[PATCH 03/22] input/ti_am33x_tsc: Step enable bits made configurable

2013-06-11 Thread Sebastian Andrzej Siewior
hould take care to set this parameter correctly. Signed-off-by: Patil, Rachna Signed-off-by: Felipe Balbi [bigeasy: add lock, move to MFD, use in TSC & ADC] Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c | 20 ++-- drivers/inp

am335x: TSC & ADC reworking including DT pieces, take 4

2013-06-11 Thread Sebastian Andrzej Siewior
f TSC wires, made configurable input/ti_am33x_tsc: remove unwanted fifo flush input/ti_am33x_tsc: Add DT support iio/ti_am335x_adc: Add DT support mfd/ti_am335x_tscadc: Add DT support arm/am33xx: add TSC/ADC mfd device support Sebastian Andrzej Siewior (13): mfd/ti_am33

[PATCH 02/22] mfd & input & iio/ti_am335x_adc: use one structure for ti_tscadc_dev

2013-06-11 Thread Sebastian Andrzej Siewior
same structure is used. While doing the change I noticed that the suspend/resume code assumes the wrong pointer for ti_tscadc_dev and this has been fixed as well. Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c |5 +++-- drivers/input/touchscreen

[PATCH 05/22] input/ti_am33x_tsc: remove unwanted fifo flush

2013-06-11 Thread Sebastian Andrzej Siewior
From: "Patil, Rachna" When touchscreen and ADC are used together, this unwanted fifo flush leads to loss of ADC data. Signed-off-by: Patil, Rachna Signed-off-by: Felipe Balbi Signed-off-by: Sebastian Andrzej Siewior --- drivers/input/touchscreen/ti_am335x_tsc.c | 10

[PATCH 09/22] iio/ti_am335x_adc: remove platform_data support

2013-06-11 Thread Sebastian Andrzej Siewior
This patch removes access to platform data mfd_tscadc_board because the platform is DT only. Acked-by: Jonathan Cameron Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a

[PATCH 07/22] input/ti_am33x_tsc: remove platform_data support

2013-06-11 Thread Sebastian Andrzej Siewior
This patch removes access to platform data mfd_tscadc_board because the platform is DT only. Acked-by: Dmitry Torokhov Signed-off-by: Sebastian Andrzej Siewior --- drivers/input/touchscreen/ti_am335x_tsc.c | 25 + 1 file changed, 1 insertion(+), 24 deletions(-) diff

[PATCH 08/22] iio/ti_am335x_adc: Add DT support

2013-06-11 Thread Sebastian Andrzej Siewior
[bigeasy: shift the code to the left, fix clean up on of_get_child_by_name() failer, provide OF binding in mfd, use own of node, get rid of of_get_child_by_name()] Signed-off-by: Sebastian Andrzej Siewior --- drivers/iio/adc/ti_am335x_adc.c | 29 - d

[PATCH 06/22] input/ti_am33x_tsc: Add DT support

2013-06-11 Thread Sebastian Andrzej Siewior
(), rename steps_to_configure to coordinate_readouts because this is what it really does, don't overrire err after calling titsc_parse_dt() or titsc_parse_pdata()] Signed-off-by: Sebastian Andrzej Siewior --- .../bindings/input/touchscreen/ti-tsc-adc.

[PATCH 01/22] mfd/ti_am335x_tscadc: remove regmap

2013-06-11 Thread Sebastian Andrzej Siewior
need to cache values like for I2C or SPI devices. Furthermore, most (if not all) of the access done by the touch & ADC driver read volatile register. Therefore this patch removes regmap part of the driver. Signed-off-by: Sebastian Andrzej Siewior --- drivers/mfd/ti_am335x_tscadc.c |

[PATCH 1/4] ARM: AM33XX: clk: Add clock node for EHRPWM TBCLK

2013-06-06 Thread Sebastian Andrzej Siewior
From: Philip Avinash EHRPWM module requires explicit clock gating of TBCLK from control module. Hence add TBCLK clock node in clock tree for EHRPWM modules. Signed-off-by: Philip Avinash [bigeasy: remove CK_AM33XX] Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/mach-omap2

Missing pieces for AM335x PWM / backlight support

2013-06-06 Thread Sebastian Andrzej Siewior
The following changes since commit d683b96b072dc4680fc74964eca77e6a23d1fa6e: Linux 3.10-rc4 (2013-06-02 17:11:17 +0900) are available in the git repository at: git://git.breakpoint.cc/bigeasy/linux.git tags/am335x-pwm for you to fetch changes up to 6b319b16a27463c93ec36e59458448aae3ab94cd:

[PATCH 2/4] ARM: dts: AM33XX: Add PWMSS device tree nodes

2013-06-06 Thread Sebastian Andrzej Siewior
-by: Thierry Reding Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am33xx.dtsi | 84 + 1 file changed, 84 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 1460d9b..7fa9c5f 100644 --- a/arch/

[PATCH 3/4] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evm

2013-06-06 Thread Sebastian Andrzej Siewior
From: Philip Avinash PWM output from ecap0 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales. Signed-off-by: Philip Avinash Reviewed-by: Thierry Reding Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/boot/dts/am335x-evm.dts

[PATCH 4/4] ARM: dts: AM33XX: Add PWM backlight DT data to am335x-evmsk

2013-06-06 Thread Sebastian Andrzej Siewior
From: Philip Avinash PWM output from ecap2 uses as backlight source. Also adds low threshold value to have a uniform divisions in brightness-levels scales with inverse polarity. Signed-off-by: Philip Avinash Reviewed-by: Thierry Reding Signed-off-by: Sebastian Andrzej Siewior --- arch/arm

[PATCH] arm/omap: use const char properly

2013-06-06 Thread Sebastian Andrzej Siewior
The itention was probably to make both pointers const but as it is now, it is just const used twice. Signed-off-by: Sebastian Andrzej Siewior --- arch/arm/mach-omap2/id.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c

Re: [net-next PATCH 1/1] drivers: net: cpsw: irq not disabled in cpsw isr in particular sequence

2013-05-02 Thread Sebastian Andrzej Siewior
ue >whether Tx or Rx IRQ is invoked between packet processing and enable IRQ. Acked-by: Sebastian Andrzej Siewior Sebastian -- 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://vger.kernel.org/majordomo-info.html

Re: [net-next PATCH 1/1] drivers: net: cpsw: fix kernel warn on cpsw irq enable

2013-04-26 Thread Sebastian Andrzej Siewior
On 04/26/2013 01:30 PM, Mugunthan V N wrote: > diff --git a/drivers/net/ethernet/ti/cpsw.c b/drivers/net/ethernet/ti/cpsw.c > index 4e2d224..59c4391 100644 > --- a/drivers/net/ethernet/ti/cpsw.c > +++ b/drivers/net/ethernet/ti/cpsw.c > @@ -1633,7 +1633,6 @@ static int cpsw_probe_dual_emac(struct pl

Re: [balbi-usb:merge-result-for-greg 59/99] webcam.c:(.text+0x14afec): undefined reference to `config_ep_by_speed'

2012-10-15 Thread Sebastian Andrzej Siewior
On 10/12/2012 06:39 PM, Fengguang Wu wrote: Hi Sebastian, Hi Fengguang, FYI, kernel build failed on tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git merge-result-for-greg head: 23953bde3e4d6aa8780dc054f6ad9882ac63f4f4 commit: 721e2e91945bc2520d57d795dfe1b502ecec567c [59

Re: [balbi-usb:master 33/36] drivers/usb/gadget/serial.c:89:22: sparse: cast truncates bits from constant value (24000000 becomes 0)

2012-09-10 Thread Sebastian Andrzej Siewior
On 09/10/2012 06:40 PM, Fengguang Wu wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git master head: d9c88901337158c9f253a7de58a10b5125d61d26 commit: 7a7322b0a5d984025dd4faea9098b8fef07f8d8f [33/36] usb: gadget: remove usb_gadget_controller_number() All sparse warnings

Re: [balbi-usb:gadget 58/62] drivers/usb/gadget/ether.c:113:1: error: expected ')' before '.' token

2012-09-10 Thread Sebastian Andrzej Siewior
On 09/10/2012 03:54 PM, Fengguang Wu wrote: tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git gadget head: 7a7322b0a5d984025dd4faea9098b8fef07f8d8f commit: 721e2e91945bc2520d57d795dfe1b502ecec567c [58/62] usb: gadget: libcomposite: move composite.c into libcomposite config: x

Re: [RFC] dt: export of_have_populated_dt

2012-04-10 Thread Sebastian Andrzej Siewior
On 04/10/2012 05:11 PM, Balaji T K wrote: If of_have_populated_dt is called from module, build fails with "allnodes" undefined error, so remove inline and export of_have_populated_dt. Why do you need this function at all? You should not need it. *I* introduced it because I need it early x86 set

Re: [patch] dwc3: add a kfree() on error to dwc3_testmode_open()

2011-08-26 Thread Sebastian Andrzej Siewior
* Dan Carpenter | 2011-08-26 12:21:13 [+0300]: >Btw. This function returns -EBUSY on success. Was that really what >you want? At that time yes. The idea was to enable the self-test mode of the core and let it do transfers forth and back and see if it works. There is also no off switch. I wasn't

Re: 3.1-rc3 fails to boot on my pandaboard

2011-08-25 Thread Sebastian Andrzej Siewior
* Luciano Coelho | 2011-08-25 14:24:34 [+0300]: >These are the interrupts reported in /proc/interrupts on my board: Thank you, this is enough information. Sebastian -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More

Re: 3.1-rc3 fails to boot on my pandaboard

2011-08-25 Thread Sebastian Andrzej Siewior
* Luciano Coelho | 2011-08-25 13:39:29 [+0300]: >Hi, Hi, >Any ideas what may be going wrong? I think my commit was identified as bogus and tglx is going to revert it. The problem is that I force ONESHOT mode for all threaded IRQs but there are also others without the flag which is not allowed.

Re: [PATCH] tty: omap-serial: fix boot hang by converting to use a threaded IRQ handler (was Re: [PATCH] irq: always set IRQF_ONESHOT if no primary handler is specified)

2011-08-23 Thread Sebastian Andrzej Siewior
* Paul Walmsley | 2011-08-22 23:10:21 [-0600]: >IRQ handler type mismatch for IRQ 74 >It turns out that the omap-serial code used one threaded IRQ >handler[1][2] and one non-threaded IRQ handler[3] that shared the same >IRQ. During the 3.1-rc series, a patch was merged[4] that caused >IRQF_ONESH

<    1   2   3   4   5