Re: [PATCH V2 2/2] Input: misc: introduce palmas-pwrbutton

2014-09-12 Thread Dmitry Torokhov
On Thu, Sep 11, 2014 at 07:01:19AM -0500, Nishanth Menon wrote: Hi Dimtry, On 14:13-20140910, Dmitry Torokhov wrote: On Thu, Aug 21, 2014 at 02:01:43PM -0500, Nishanth Menon wrote: On 08/21/2014 01:03 PM, Dmitry Torokhov wrote: I believe I have taken care of other concerns on v2,

Re: [PATCH v2 1/2] ARM: dts: dra7: Add CPSW and MDIO module nodes for dra7

2014-09-12 Thread Mugunthan V N
On Friday 12 September 2014 02:59 AM, Lennart Sorensen wrote: I have the mac but I don't want to use both ports on the 2 port switch. In fact in our case ethernet1 is a pru_eth interface. Can a board dts override the alias for ethernet1 or is that a syntax error? I don't think I tried that

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-12 Thread Sebastian Andrzej Siewior
On 09/11/2014 07:04 PM, Frans Klaver wrote: On 11 September 2014 18:04:32 CEST, Sebastian Andrzej Siewior bige...@linutronix.de wrote: On 09/11/2014 05:11 PM, Frans Klaver wrote: I can still reproduce it on am335x. I can get out of it as soon as something else gets written to the console

Re: [PATCH] mmc: omap_hsmmc: Add small delay after enabling power

2014-09-12 Thread Stefan Roese
On 11.09.2014 16:15, Ulf Hansson wrote: On 11 September 2014 16:11, Stefan Roese s...@denx.de wrote: From: Thorsten Einsbein thorsten.eisb...@head-acoustics.de On the TAO3530 (OMAP3530 based) we noticed that some SD cards are not detected reliably upon bootup (timeout). Especially the SanDisk

Re: [PATCH] clk: don't use __initconst for non-const arrays

2014-09-12 Thread Ard Biesheuvel
On 12 September 2014 00:04, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello, On Thu, Sep 11, 2014 at 11:04:31PM +0200, Uwe Kleine-König wrote: /* Mux parent lists. */ -static const char *fin_pll_p[] __initconst = { +static const char *fin_pll_p[] __initdata = { xxti,

Re: [PATCH] clk: don't use __initconst for non-const arrays

2014-09-12 Thread Uwe Kleine-König
Hello Ard, On Fri, Sep 12, 2014 at 09:42:29AM +0200, Ard Biesheuvel wrote: On 12 September 2014 00:04, Uwe Kleine-König u.kleine-koe...@pengutronix.de wrote: Hello, On Thu, Sep 11, 2014 at 11:04:31PM +0200, Uwe Kleine-König wrote: /* Mux parent lists. */ -static const char

[PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Paul Bolle
that commit did not remove all select statements for that symbol. These statements are useless. Remove them too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Done on top of next-20140912. Tested with git grep only! arch/arm/mach-omap2/Kconfig| 5 - arch/arm/mach-shmobile/Kconfig | 1

Re: [PATCH 0/3] nand: Renaming, moving and fixing NAND and ELM drivers

2014-09-12 Thread Roger Quadros
Hi Ezequiel, On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: Following the recent discussion with Roger, here's a few patches that (hopefully) fix all the issues. The first patches rename the OMAP NAND drivers, so they are now called omap2_nand and omap_elm. The last patch picks an idea

Re: [PATCH 2/3] mtd: nand: Rename OMAP NAND driver

2014-09-12 Thread Roger Quadros
On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: Rename it to a less generic name, so the module is built with a meaningful name instead of the previous 'omap2.ko'. Signed-off-by: Ezequiel Garcia ezequ...@vanguardiasur.com.ar Acked-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/3] mtd: nand: Move ELM driver and rename as omap_elm

2014-09-12 Thread Roger Quadros
On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: The ELM driver is only used by the OMAP NAND driver, so let's move it to the nand/ directory. Additionally, let's rename it to a less confusing name, so the module is built with a meaningful name, instead of the previous 'elm.ko'.

Re: [PATCH 3/3] mtd: nand: Force omap_elm to be built as a module if omap2_nand is a module

2014-09-12 Thread Roger Quadros
On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: This commit adds a hidden option to build the omap_elm as a module, if omap2_nand is a module (and similarly in the built-in case). This fixes the following build error when omap2_nand is chosen built-in, and omap_elm is chosen as a module:

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-12 Thread Sebastian Andrzej Siewior
On 09/12/2014 11:40 AM, Frans Klaver wrote: I'm not sure. I just reproduced this on a boneblack, using your uart_v9 branch. This problem only pops-up if you use DMA. With disabled DMA you don't see this, right? I get the lockup both with and without DMA enabled. Here's the 8250 config I

Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Nishanth Menon
78c5e0bb145d (PM / OPP: Remove ARCH_HAS_OPP) removed it. For some reason that commit did not remove all select statements for that symbol. These statements are useless. Remove them too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Done on top of next-20140912. Tested with git grep only! arch

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-12 Thread Frans Klaver
On Fri, Sep 12, 2014 at 11:51:22AM +0200, Sebastian Andrzej Siewior wrote: On 09/12/2014 11:40 AM, Frans Klaver wrote: I'm not sure. I just reproduced this on a boneblack, using your uart_v9 branch. This problem only pops-up if you use DMA. With disabled DMA you don't see this,

Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Paul Bolle
--- Done on top of next-20140912. Tested with git grep only! arch/arm/mach-omap2/Kconfig| 5 - there can be conflict here: https://patchwork.kernel.org/patch/4857231/ http://marc.info/?l=linux-omapm=141047815520894w=2 Thanks. arch/arm/mach-shmobile/Kconfig | 1 - drivers

Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Geert Uytterhoeven
Hi Paul, Rafael, On Fri, Sep 12, 2014 at 12:46 PM, Paul Bolle pebo...@tiscali.nl wrote: arch/arm/mach-shmobile/Kconfig | 1 - drivers/devfreq/Kconfig| 1 - Were patches submitted for these two files too? If so, we can probably just drop my patch. Rafael said: I've queued this up

Re: [PATCH] PM / OPP: Remove ARCH_HAS_OPP completely

2014-09-12 Thread Paul Bolle
On Fri, 2014-09-12 at 13:03 +0200, Geert Uytterhoeven wrote: Hi Paul, Rafael, On Fri, Sep 12, 2014 at 12:46 PM, Paul Bolle pebo...@tiscali.nl wrote: arch/arm/mach-shmobile/Kconfig | 1 - drivers/devfreq/Kconfig| 1 - Were patches submitted for these two files too? If so, we

[PATCHv2] clk: ti: change clock init to use generic of_clk_init

2014-09-12 Thread Tero Kristo
Previously, the TI clock driver initialized all the clocks hierarchically under each separate clock provider node. Now, each clock that requires IO access will instead check their parent node to find out which IO range to use. This patch allows the TI clock driver to use a few new features

[PATCH] clk: ti: dra7-atl-clock: fix a memory leak

2014-09-12 Thread Tero Kristo
of_clk_add_provider makes an internal copy of the parent_names property while its called, thus it is no longer needed after this call and can be freed. Signed-off-by: Tero Kristo t-kri...@ti.com Cc: Mike Turquette mturque...@linaro.org Cc: Peter Ujfalusi peter.ujfal...@ti.com ---

Re: [PATCH 0/3] nand: Renaming, moving and fixing NAND and ELM drivers

2014-09-12 Thread Ezequiel Garcia
On 12 September 2014 09:54, Roger Quadros rog...@ti.com wrote: Hi Ezequiel, On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: Following the recent discussion with Roger, here's a few patches that (hopefully) fix all the issues. The first patches rename the OMAP NAND drivers, so they are now

Re: [PATCH 3/3] mtd: nand: Force omap_elm to be built as a module if omap2_nand is a module

2014-09-12 Thread Ezequiel Garcia
On 12 Sep 12:01 PM, Roger Quadros wrote: On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: This commit adds a hidden option to build the omap_elm as a module, if omap2_nand is a module (and similarly in the built-in case). This fixes the following build error when omap2_nand is chosen

[PATCH] ARM: OMAP3: Fix I/O chain clock line assertion timed out error

2014-09-12 Thread Tony Lindgren
We are getting PRM: I/O chain clock line assertion timed out errors on early omaps for device tree based booting. This is because we are unconditionally calling reconfigure_io_chain while legacy booting has omap3_has_io_chain_ctrl() checks in place in omap_hwmod.c. For device tree based booting,

[PATCH 1/2] pstore-ram: Fix hangs by using write-combine mappings

2014-09-12 Thread Tony Lindgren
From: Rob Herring robherri...@gmail.com Currently trying to use pstore on at least ARMs can hang as we're mapping the peristent RAM with pgprot_noncached(). On ARMs, pgprot_noncached() will actually make the memory strongly ordered, and as the atomic operations pstore uses are implementation

[PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Tony Lindgren
On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross ccr...@android.com, in some cases you do want to use pgprot_noncached() if the SoC supports it to see a debug printk just before a write hanging the system.

Re: [PATCH] ARM: OMAP3: Fix I/O chain clock line assertion timed out error

2014-09-12 Thread Nishanth Menon
On 10:50-20140912, Tony Lindgren wrote: We are getting PRM: I/O chain clock line assertion timed out errors on early omaps for device tree based booting. This is because we are unconditionally calling reconfigure_io_chain while legacy booting has omap3_has_io_chain_ctrl() checks in place

Re: [PATCH v3 0/3] OMAP4+: Get rid of internal SRAM handling

2014-09-12 Thread Dave Gerlach
On 09/10/2014 11:56 AM, Nishanth Menon wrote: On 11:04-20140910, Dave Gerlach wrote: v3: Fix minor issue in last patch to check for null sram_pool if no sram phandle is given in DT. Make all OMAP DT only platforms (am33xx, am43xx, omap4 and omap5) use drivers/misc/sram.c driver instead of

[PATCHv6 4/5] hwspinlock/core: add common OF helpers

2014-09-12 Thread Suman Anna
This patch adds three new OF helper functions to use/request locks from a hwspinlock device instantiated through a device-tree blob. 1. The of_hwspin_lock_get_num_locks() is a common OF helper function to read the 'hwlock-num-locks' property. 2. The of_hwspin_lock_get_base_id() is a common OF

[PATCHv6 5/5] hwspinlock/omap: add support for dt nodes

2014-09-12 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the base support for parsing the DT nodes, and removes the code dealing with the traditional platform device instantiation. Signed-off-by: Suman Anna s-a...@ti.com [t...@atomide.com:

[PATCHv6 1/5] Documentation: dt: add common bindings for hwspinlock

2014-09-12 Thread Suman Anna
This patch adds the generic common bindings used to represent a hwlock device and use/request locks in a device-tree build. All the platform-specific hwlock driver implementations need the number of locks and associated base id for registering the locks present within the device with the driver

[PATCHv6 3/5] hwspinlock/core: maintain a list of registered hwspinlock banks

2014-09-12 Thread Suman Anna
The hwspinlock_device structure is used for registering a bank of locks with the driver core. The structure already contains the necessary members to identify the bank of locks. The core does not maintain the hwspinlock_devices itself, but maintains only a radix tree for all the registered locks.

[PATCHv6 2/5] Documentation: dt: add the omap hwspinlock bindings document

2014-09-12 Thread Suman Anna
HwSpinlock IP is present only on OMAP4 and other newer SoCs, which are all device-tree boot only. This patch adds the DT bindings information for OMAP hwspinlock module. Cc: Rob Herring robh...@kernel.org Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCHv6 0/5] hwspinlock core/omap dt support

2014-09-12 Thread Suman Anna
Hi Ohad, This is an update to the hwspinlock dt support series. The series is rebased onto v3.17-rc3, and addresses the review comments on the previous v5 series. I have also split and left out the RFC patches about the support for reserved locks (will post these as a separate series) and return

[RFC PATCHv2 0/3] Support for HwSpinlock reserved locks

2014-09-12 Thread Suman Anna
Hi Ohad, This series is an RFC patchset that adds the support for reserved locks to the HwSpinlock core to restrict the dynamic hwspin_lock_request() API from allocating reserved locks (specific locks requested by DT client users). The patches are split away from the v5 hwspinlock/omap dt series

[RFC PATCHv2 2/3] hwspinlock/core: prepare core to support reserved locks

2014-09-12 Thread Suman Anna
The HwSpinlock core allows requesting either a specific lock or an available normal lock. The specific locks are usually reserved during board init time, while the normal available locks are intended to be assigned at runtime. This patch prepares the hwspinlock core to support this concept of

[RFC PATCHv2 1/3] hwspinlock/core: prepare unregister code to support reserved locks

2014-09-12 Thread Suman Anna
Rearrange the code between hwspin_lock_unregister() and the underlying hwspin_lock_unregister_single() functions so that the semantics are similar to the _register_ functions. This change prepares the hwspinlock driver core to support unregistration of reserved locks better. Signed-off-by: Suman

[RFC PATCHv2 3/3] hwspinlock/core: add support for reserved locks

2014-09-12 Thread Suman Anna
The HwSpinlock core allows requesting either a specific lock or an available normal lock. The specific locks are usually reserved during board init time, while the normal available locks are intended to be assigned at runtime for clients that do not care about a specific lock. The HwSpinlock core

Re: [PATCH 00/16 v9] omap 8250 based uart + DMA

2014-09-12 Thread Tony Lindgren
* Sebastian Andrzej Siewior bige...@linutronix.de [140910 12:30]: the diff of v8…v9 is small: - rebased on top's of Greg's tty-next branch - fixed #10 where we might have THRE interrupt enabled for longer than needed - re-did register setup in #10. Before this less file could freeze the

Re: [PATCH 2/2] pstore-ram: Allow optional mapping with pgprot_noncached

2014-09-12 Thread Russell King - ARM Linux
On Fri, Sep 12, 2014 at 11:32:25AM -0700, Tony Lindgren wrote: On some ARMs at least the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by Colin Cross ccr...@android.com, in some cases you do want to use pgprot_noncached() if the SoC supports