[PATCH 1/1] drivers: net : cpsw: Use netdev_name while requesting irq

2013-12-05 Thread Mugunthan V N
From: George Cherian Use netdev_name while requesting irq so that eth* name is shown in /proc/interrupts. Previously it was showing device name as (null) for cpsw interrupts. For using netdev_name register_netdev and then call devm_request_irq. Signed-off-by: George Cherian Signed-off-by: Mugun

Re: [PATCH] net: davinci_emac: Fix platform data handling and make usable for am3517

2013-12-05 Thread David Miller
From: Tony Lindgren Date: Tue, 3 Dec 2013 15:13:02 -0800 > When booted with device tree, we may still have platform data passed > as auxdata. For am3517 this is needed for passing the interrupt_enable > and interrupt_disable callbacks that access the omap system control module > registers. These

[GIT PULL] one regression fix and two more omap dt fixes against v3.13-rc2

2013-12-05 Thread Tony Lindgren
The following changes since commit dc1ccc48159d63eca5089e507c82c7d22ef60839: Linux 3.13-rc2 (2013-11-29 12:57:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.13/yet-more-dt-regressions for you to fetch chang

Re: [PATCH] ARM: OMAP2+: Fix populating the hwmod data from device tree

2013-12-05 Thread Tony Lindgren
* Paul Walmsley [131205 16:09]: > On Thu, 5 Dec 2013, Tony Lindgren wrote: > > > * Tony Lindgren [131121 12:49]: > > > * Tony Lindgren [131120 17:46]: > > > > * Tony Lindgren [131120 16:06]: > > > > > > > > > > They at least had interrupts listed looking at commit 3b9b10. Probably > > > > > t

[PATCHv2 0/5] wl1251 device tree support

2013-12-05 Thread Sebastian Reichel
Hi, The following patchset adds device tree support to the spi variant of the wl1251 driver. Changes since v1 [0]: * Added some Reviewed-By: Pavel Machek * Splitted DT binding documentation into its own patch * Added ti, prefix to power-gpio * Renamed ti,use-eeprom to ti,wl1251-has-eeprom *

[PATCHv2 3/5] wl1251: spi: add vio regulator support

2013-12-05 Thread Sebastian Reichel
This patch adds support for requesting the regulator powering the vio pin. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek --- drivers/net/wireless/ti/wl1251/spi.c| 19 +-- drivers/net/wireless/ti/wl1251/wl1251.h | 2 ++ 2 files changed, 19 insertions(+), 2 delet

[PATCHv2 1/5] wl1251: split wl251 platform data to a separate structure

2013-12-05 Thread Sebastian Reichel
From: Luciano Coelho Move the wl1251 part of the wl12xx platform data structure into a new structure specifically for wl1251. Change the platform data built-in block and board files accordingly. Signed-off-by: Luciano Coelho Acked-by: Tony Lindgren Reviewed-by: Felipe Balbi Reviewed-by: Seba

[PATCHv2 2/5] wl1251: move power GPIO handling into the driver

2013-12-05 Thread Sebastian Reichel
Move the power GPIO handling from the board code into the driver. This is a dependency for device tree support. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek --- arch/arm/mach-omap2/board-omap3pandora.c | 2 ++ arch/arm/mach-omap2/board-rx51-peripherals.c | 11 ++ driv

[PATCHv2 5/5] Documentation: dt: wireless: Add wl1251

2013-12-05 Thread Sebastian Reichel
Add device tree binding documentation for Texas Instrument's wl1251 wireless lan chip. For now only the SPI binding is documented. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/net/wireless/ti,wl1251.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 10

[PATCHv2 4/5] wl1251: spi: add device tree support

2013-12-05 Thread Sebastian Reichel
Add device tree support for the spi variant of wl1251. Signed-off-by: Sebastian Reichel --- drivers/net/wireless/ti/wl1251/spi.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/net/wireless/ti/wl1251/spi.c b/drivers/net/wireless/ti/wl1251/spi

Re: [PATCH] ARM: OMAP2+: Fix populating the hwmod data from device tree

2013-12-05 Thread Paul Walmsley
On Thu, 5 Dec 2013, Tony Lindgren wrote: > * Tony Lindgren [131121 12:49]: > > * Tony Lindgren [131120 17:46]: > > > * Tony Lindgren [131120 16:06]: > > > > > > > > They at least had interrupts listed looking at commit 3b9b10. Probably > > > > the thing to do for now is to revert those changes

Re: [Bug] am33xx: Basic suspend resume support: Doesn't resume

2013-12-05 Thread Christoph Fritz
On Thu, 2013-12-05 at 14:42 +0100, Christoph Fritz wrote: > Hi, > > I'm having here a custom am335x board with DDR3 equipped trying to > setup suspend/resume support. I have tested this with the ancient > TI-PSP-3.2 Kernel and current 3.13-rc plus some pm patches. > > Problem: After suspending t

[PATCH 1/2] Input: tsc2005: add DT support

2013-12-05 Thread Sebastian Reichel
This adds DT support to the tsc2005 touchscreen driver. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 95 ++--- 1 file changed, 78 insertions(+), 17 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchs

[PATCH 0/2] tsc2005 DT binding

2013-12-05 Thread Sebastian Reichel
Hi, This adds device tree support for the tsc2005 touchscreen controller, which is currently only used by the Nokia N900 board. The patch does not update the reset pin handling for platform data based probe to avoid merge conflicts (Tony will remove the Nokia N900 boardcode in 3.14). The platform

[PATCH 2/2] Documentation: dt: Document TSC2005 DT binding

2013-12-05 Thread Sebastian Reichel
Add devicetree binding documentation for TSC2005 touchscreen. Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/tsc2005.txt | 49 ++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Tony Lindgren
* Thomas Petazzoni [131205 11:33]: > Dear Brian Norris, > > On Thu, 5 Dec 2013 11:24:18 -0800, Brian Norris wrote: > > > > The long term benefits is simply to properly handle the hardware > > > constraints. We have hardware platforms were parts of the NAND *MUST* > > > use 1-bit ECC to be compat

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Thomas Petazzoni
Dear Brian Norris, On Thu, 5 Dec 2013 11:24:18 -0800, Brian Norris wrote: > > The long term benefits is simply to properly handle the hardware > > constraints. We have hardware platforms were parts of the NAND *MUST* > > use 1-bit ECC to be compatible with the ROM code, and other parts of > > the

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Brian Norris
On Thu, Dec 5, 2013 at 11:06 AM, Thomas Petazzoni wrote: > On Thu, 5 Dec 2013 19:02:22 +, Gupta, Pekon wrote: > >> >From: Ezequiel Garcia [mailto:ezequiel.gar...@free-electrons.com] >> [...] >> >AFAIK, there's no hardware limitation that would prevent us from setting >> >a per-partition ECC, k

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Brian Norris
On Thu, Dec 5, 2013 at 10:26 AM, Ezequiel Garcia wrote: > (CCing Brian: What do you think about this?) > > On Thu, Dec 05, 2013 at 06:39:10PM +0100, Javier Martinez Canillas wrote: >> On Thu, Dec 5, 2013 at 6:13 PM, Tony Lindgren wrote: >> >> In the another thread [0] pointed out by Enric we were

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Thomas Petazzoni
Dear Gupta, Pekon, On Thu, 5 Dec 2013 19:02:22 +, Gupta, Pekon wrote: > >From: Ezequiel Garcia [mailto:ezequiel.gar...@free-electrons.com] > [...] > >AFAIK, there's no hardware limitation that would prevent us from setting > >a per-partition ECC, keep in mind this effort is not reduced to mak

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-05 Thread Tony Lindgren
* Nishanth Menon [131203 17:40]: > Due to the cross dependencies between hwmod for automanaged device > information for OMAP and dts node definitions, we can run into scenarios > where the dts node is defined, however it's hwmod entry is yet to be > added. In these cases: > a) omap_device does not

RE: OMAP3 NAND ECC selection

2013-12-05 Thread Gupta, Pekon
Hi Ezequiel, >From: Ezequiel Garcia [mailto:ezequiel.gar...@free-electrons.com] [...] >AFAIK, there's no hardware limitation that would prevent us from setting >a per-partition ECC, keep in mind this effort is not reduced to make >devicetree accept ECC on the partitions. > I had some reservations

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Javier Martinez Canillas
Hi Ezequiel, On Thu, Dec 5, 2013 at 7:26 PM, Ezequiel Garcia wrote: > Hi Javier, > > (CCing Brian: What do you think about this?) > > On Thu, Dec 05, 2013 at 06:39:10PM +0100, Javier Martinez Canillas wrote: >> On Thu, Dec 5, 2013 at 6:13 PM, Tony Lindgren wrote: >> >> In the another thread [0]

Re: [PATCH v2 0/3] ARM: OMAP2+: USB Host bug fixes for 3.13 rc

2013-12-05 Thread Tony Lindgren
* Tomi Valkeinen [131204 02:01]: > On 2013-12-03 16:25, Roger Quadros wrote: > > Hi, > > > > This is a follow up solution to the original series in [1] > > > > The first patch fixes the OMAP4 Panda USB detection problems on 3.13-rc1 > > with u-boot v2013.10. > > > > The remaining 2 patches are

Re: [pandaboard] audio initialization fails due to TWL6040

2013-12-05 Thread Tony Lindgren
* Tobias Jakobi [131203 14:45]: > And another one! > > https://bugzilla.kernel.org/show_bug.cgi?id=66451 Maybe Peter can take a look at this one? FYI, Peter, only slightly related to this, but can you also please unravel the mcbsp and sidetone .dtsi entries to be separate devices? I'm hoping to

Re: [PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-05 Thread Tony Lindgren
* Belisko Marek [131203 01:21]: > On Tue, Dec 3, 2013 at 10:08 AM, Belisko Marek > wrote: > > Hi, > > > > On Tue, Dec 3, 2013 at 9:58 AM, Kishon Vijay Abraham I > > wrote: > >> Hi, > >> > >> On Tuesday 03 December 2013 02:03 PM, Marek Belisko wrote: > >>> Without this change when booting omap3

Re: [PATCH] ARM: DTS: omap4-sdp: Add regulator for LCD backlight (pwm-backlight)

2013-12-05 Thread Tony Lindgren
* Sourav Poddar [131128 02:10]: > On Thursday 28 November 2013 02:58 PM, Peter Ujfalusi wrote: > >Since in DT booted kernel dummy regulators are no longer supported we need > >to provide valid phandle for the regulator needed by the backlight. > >On the board VBAT is used to power the LCD backligh

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Ezequiel Garcia
Hi Javier, (CCing Brian: What do you think about this?) On Thu, Dec 05, 2013 at 06:39:10PM +0100, Javier Martinez Canillas wrote: > On Thu, Dec 5, 2013 at 6:13 PM, Tony Lindgren wrote: > > In the another thread [0] pointed out by Enric we were discussing the > same issue. Thomas suggested [1] t

Re: [PATCH 0/7] mmc: omap: Fixes, cleanup and add ERASE capability

2013-12-05 Thread Tony Lindgren
* Jarkko Nikula [131204 11:15]: > Hi > > I've sent these patches earlier to linux-mmc list. This time set is one > patch smaller since commit 31ee9181eb92 > ("mmc: omap: Fix DMA configuration to not rely on device id") does > practically same what one of my patch did. > > Patch 1 is an obvious f

Re: [HACK] remotely powering on a OMAP5 uEVM over the debug port

2013-12-05 Thread Tony Lindgren
* Olof Johansson [131205 10:00]: > Here's a tiny hack I came up with to remote-power on an OMAP5 uEVM. I > have mine in an unattended setup where I can cycle power, but it still > needs a power button press to start. Great, thanks a lot, just what I need :) Regards, Tony -- To unsubscribe from

[HACK] remotely powering on a OMAP5 uEVM over the debug port

2013-12-05 Thread Olof Johansson
Here's a tiny hack I came up with to remote-power on an OMAP5 uEVM. I have mine in an unattended setup where I can cycle power, but it still needs a power button press to start. Luckily two GPIO lines on the secondary FTDI channel are routed to the same buttons, so it can be done via software. It

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Javier Martinez Canillas
[adding Pekon and Thomas as cc] On Thu, Dec 5, 2013 at 6:13 PM, Tony Lindgren wrote: > * Peter Meerwald [131205 08:13]: >> > >> I'd like to be able to update MLO and u-boot from within a booted Linux >> > >> system on the device (I have to resort to u-boot for that where I can >> > >> control th

Re: [PATCH] ARM: OMAP2+: Fix populating the hwmod data from device tree

2013-12-05 Thread Tony Lindgren
* Tony Lindgren [131121 12:49]: > * Tony Lindgren [131120 17:46]: > > * Tony Lindgren [131120 16:06]: > > > > > > They at least had interrupts listed looking at commit 3b9b10. Probably > > > the thing to do for now is to revert those changes, and see if we can > > > just remove the L3 entries f

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Tony Lindgren
* Peter Meerwald [131205 08:13]: > > >> I'd like to be able to update MLO and u-boot from within a booted Linux > > >> system on the device (I have to resort to u-boot for that where I can > > >> control the ECC scheme used) > > > > Meanwhile, to do this we use a small userspace program created b

Re: [PATCH] ARM: OMAP2+: enable EHCI by default

2013-12-05 Thread Tony Lindgren
* Thomas Pedersen [131204 17:09]: > This is needed for the pandaboard (ES) kernel to detect > the ethernet device during boot. Useful for NFS root etc. Thanks for the patch, just to clarify why we have not been able to apply this is EHCI blocks deeper PM states for at least omap3 currently. And t

Re: [PATCH 13/26] ARM: omap3.dtsi: add omapdss information

2013-12-05 Thread Tony Lindgren
* Tomi Valkeinen [131204 04:31]: Description missing.. But other than that can you please check that the latest patch I posted in thread "[PATCH] ARM: OMAP2+: Fix populating the hwmod data from device" works with this? The test to do is to remove the related reg, interrupt and dma entries from o

Re: [PATCH v2 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-05 Thread Tony Lindgren
* Roger Quadros [131205 01:24]: > Commit 0b2aa8be introduced a regression that causes failure > in setting LED GPO direction to OUT. > > This causes USB host probe failures for Beagleboard C4. > > [2.075469] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv > requests probe deferral >

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Peter Meerwald
> >> I'd like to be able to update MLO and u-boot from within a booted Linux > >> system on the device (I have to resort to u-boot for that where I can > >> control the ECC scheme used) > > Meanwhile, to do this we use a small userspace program created by > > Javier Martinez in order to flash the

Re: [RFC PATCH v3 1/8] mmc: omap_hsmmc: use devm_regulator API

2013-12-05 Thread Balaji T K
On Thursday 21 November 2013 08:38 PM, Ulf Hansson wrote: On 21 November 2013 15:20, Balaji T K wrote: Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed

Re: [RFC PATCH v3 6/8] ARM: dts: add pbias-supply

2013-12-05 Thread Balaji T K
On Thursday 21 November 2013 10:33 PM, Tony Lindgren wrote: * Balaji T K [131121 06:21]: Add pbias-supply to mmc1/sd card. ... --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -261,6 +261,7 @@ &mmc1 { status = "okay"; vmmc-supply = <&ldo1_reg>; +

Re: [PATCH] crypto: omap-aes: add error check for pm_runtime_get_sync

2013-12-05 Thread Herbert Xu
On Tue, Dec 03, 2013 at 07:43:13PM -0600, Nishanth Menon wrote: > The AES driver currently assumes that pm_runtime_get_sync will always > succeed, which may not always be true, so add error handling for the > same. > > This scenario was reported in the following bug: > place. https://bugzilla.ker

Re: [PATCH] crypto: omap-sham - Only release DMA channel if successfully requested

2013-12-05 Thread Herbert Xu
On Tue, Nov 12, 2013 at 01:12:27PM -0700, Mark A. Greer wrote: > In omap_sham_probe() and omap_sham_remove(), 'dd->dma_lch' > is released without checking to see if it was successfully > requested or not. This is a bug and was identified and > reported by Dan Carpenter here: > > http://www.

[Bug] am33xx: Basic suspend resume support: Doesn't resume

2013-12-05 Thread Christoph Fritz
Hi, I'm having here a custom am335x board with DDR3 equipped trying to setup suspend/resume support. I have tested this with the ancient TI-PSP-3.2 Kernel and current 3.13-rc plus some pm patches. Problem: After suspending the device, it doesn't resume (freeze): echo "mem" > /sys/power/state [

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Andreas Bießmann
Hi Peter, On 12/05/2013 10:47 AM, Enric Balletbo Serra wrote: > 2013/12/5 Peter Meerwald : >> I'd like to be able to update MLO and u-boot from within a booted Linux >> system on the device (I have to resort to u-boot for that where I can >> control the ECC scheme used) >> > > Meanwhile, to do

Re: [PATCH 0/3] Add more device nodes for am43x gp evm.

2013-12-05 Thread Sourav Poddar
Hi Benoit, On Wednesday 27 November 2013 01:01 PM, Sourav Poddar wrote: The patch series adds support for enabling gpio, pwm backlight and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) + Afzal's basic gp support(2). [1]: https://patchwork.kernel.org/patch/3009

Re: [PATCH 0/5] Add more device nodes for am43x-epos-evm

2013-12-05 Thread Sourav Poddar
On Wednesday 27 November 2013 01:00 PM, Sourav Poddar wrote: The patch series adds support for enabling pwm backlight, i2c2, spi and matrix gpio keys on am43x-gp-evm. Done on top of 3.13-rc1 + tero clock series(1) [1]: https://patchwork.kernel.org/patch/3009541/ Tested on am43x-gp-evm. There

Re: OMAP3 NAND ECC selection

2013-12-05 Thread Enric Balletbo Serra
Hi Peter, 2013/12/5 Peter Meerwald : > Hello, > > on OMAP3, the NAND area holding MLO and u-boot need a different ECC scheme > (hw) than the rootfs (sw) > There is some discussion around this, please take a look at this thread, http://www.mail-archive.com/linux-omap@vger.kernel.org/msg98969.html

Re: [PATCH 00/26] OMAPDSS: DT support (Christmas edition)

2013-12-05 Thread Tomi Valkeinen
On 2013-12-04 18:01, Sebastian Reichel wrote: > Hi, > > On Wed, Dec 04, 2013 at 02:28:27PM +0200, Tomi Valkeinen wrote: >> Here's a new version for DT support to OMAP Display Subsystem. See >> http://article.gmane.org/gmane.linux.ports.arm.omap/102689 for the intro of >> the >> previous version,

Re: [PATCH] ARM: OMAP2+: omap_device: add fail hook for runtime_pm when bad data is detected

2013-12-05 Thread Joel Fernandes
On 12/04/2013 07:07 PM, Nishanth Menon wrote: > On 18:14-20131204, Joel Fernandes wrote: >> On 12/04/2013 05:03 PM, Nishanth Menon wrote: >>> On 12/04/2013 02:08 AM, Joel Fernandes wrote: On 12/04/2013 07:09 AM, Nishanth Menon wrote: > Due to the cross dependencies between hwmod for automa

[PATCH v2 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-05 Thread Roger Quadros
Commit 0b2aa8be introduced a regression that causes failure in setting LED GPO direction to OUT. This causes USB host probe failures for Beagleboard C4. [2.075469] platform usb_phy_gen_xceiv.2: Driver usb_phy_gen_xceiv requests probe deferral [2.090454] hsusb2_vcc: Failed to request enab

Re: [PATCH 1/1] gpio: twl4030: Fix regression for twl gpio LED output

2013-12-05 Thread Roger Quadros
On 12/04/2013 07:37 PM, Tony Lindgren wrote: > * Roger Quadros [131204 03:35]: >> Commit 0b2aa8be introduced a regression that causes failure >> in setting LED GPO direction to OUT. >> >> This causes USB host probe failures for Beagleboard C4. >> >> [2.075469] platform usb_phy_gen_xceiv.2: Dri

OMAP3 NAND ECC selection

2013-12-05 Thread Peter Meerwald
Hello, on OMAP3, the NAND area holding MLO and u-boot need a different ECC scheme (hw) than the rootfs (sw) is there a way to tell the kernel which ECC scheme to use on a per-partition basis? I'd like to be able to update MLO and u-boot from within a booted Linux system on the device (I have

Re: [PATCH 00/17] Add memory mapped support for ti qspi, m25p80 serial flash.

2013-12-05 Thread Sourav Poddar
Hi Brian, On Tuesday 26 November 2013 01:04 PM, Sourav Poddar wrote: The patch series aims to add memory mapped support for TI qspi contoller and also add support for the same in serial flash driver(m25p80). These feature was added as a part of the series[1]: The series[1] add support for quad a