Re: [PATCH v3 1/3] nand: omap2: Add support for flash-based bad block table

2014-09-18 Thread Brian Norris
On Thu, Sep 11, 2014 at 12:02:08PM -0300, Ezequiel Garcia wrote: This commit adds a new platform-data boolean property that enables use of a flash-based bad block table. This can also be enabled by setting the 'nand-on-flash-bbt' devicetree property. If the flash BBT is not enabled, the

Re: [PATCH v3 2/3] nand: omap2: Remove horrible ifdefs to fix module probe

2014-09-18 Thread Brian Norris
On Thu, Sep 11, 2014 at 12:02:09PM -0300, Ezequiel Garcia wrote: The current code abuses ifdefs to determine if the selected ECC scheme is supported by the running kernel. As a result the code is hard to read, and it also fails to load as a module. Yes, a real eyesore, with little benefit from

Re: [PATCH 10/12] ARM: omap2plus_defconfig: Add support for distros with systemd

2014-09-18 Thread Javier Martinez Canillas
Hello Tony, On Tue, Sep 16, 2014 at 5:12 AM, Tony Lindgren t...@atomide.com wrote: Some distros are now using systemd, so let's enable most of what's recommended at: http://cgit.freedesktop.org/systemd/systemd/tree/README Signed-off-by: Tony Lindgren t...@atomide.com ---

Re: [PATCH v3 1/3] nand: omap2: Add support for flash-based bad block table

2014-09-18 Thread Ezequiel Garcia
On 18 September 2014 06:59, Brian Norris computersforpe...@gmail.com wrote: On Thu, Sep 11, 2014 at 12:02:08PM -0300, Ezequiel Garcia wrote: This commit adds a new platform-data boolean property that enables use of a flash-based bad block table. This can also be enabled by setting the

Re: [PATCH v3 2/3] nand: omap2: Remove horrible ifdefs to fix module probe

2014-09-18 Thread Ezequiel Garcia
On 18 September 2014 07:03, Brian Norris computersforpe...@gmail.com wrote: On Thu, Sep 11, 2014 at 12:02:09PM -0300, Ezequiel Garcia wrote: The current code abuses ifdefs to determine if the selected ECC scheme is supported by the running kernel. As a result the code is hard to read, and it

Re: [PATCH v3 4/5] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2014-09-18 Thread Jean-Francois Moine
On Thu, 18 Sep 2014 00:13:09 +0300 Jyri Sarha jsa...@ti.com wrote: So, Jean-Francois is also trying to do things with the TDA998x - what's the story with that, is this joined up at all? Not really. This basic functionality does not touch tda998x at all on the fly, but just sets i2s

Re: [PATCH v3 1/3] nand: omap2: Add support for flash-based bad block table

2014-09-18 Thread Roger Quadros
On 09/18/2014 10:46 AM, Ezequiel Garcia wrote: On 18 September 2014 06:59, Brian Norris computersforpe...@gmail.com wrote: On Thu, Sep 11, 2014 at 12:02:08PM -0300, Ezequiel Garcia wrote: This commit adds a new platform-data boolean property that enables use of a flash-based bad block table.

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

2014-09-18 Thread Ezequiel Garcia
On 18 September 2014 04:00, Brian Norris computersforpe...@gmail.com wrote: On Mon, Sep 15, 2014 at 11:27:43AM +0300, Roger Quadros wrote: On 09/12/2014 07:56 PM, Ezequiel Garcia wrote: On 12 Sep 12:01 PM, Roger Quadros wrote: On 09/11/2014 04:47 PM, Ezequiel Garcia wrote: This commit adds

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

2014-09-18 Thread Roger Quadros
On 09/18/2014 06:00 AM, Brian Norris wrote: On Mon, Sep 15, 2014 at 11:27:43AM +0300, Roger Quadros wrote: On 09/12/2014 07:56 PM, Ezequiel Garcia wrote: 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

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

2014-09-18 Thread Roger Quadros
On 09/18/2014 11:40 AM, Ezequiel Garcia wrote: On 18 September 2014 04:00, Brian Norris computersforpe...@gmail.com wrote: On Mon, Sep 15, 2014 at 11:27:43AM +0300, Roger Quadros wrote: On 09/12/2014 07:56 PM, Ezequiel Garcia wrote: On 12 Sep 12:01 PM, Roger Quadros wrote: On 09/11/2014 04:47

Re: [RFC] ARM: edma: unconditionally ack the error interrupt

2014-09-18 Thread Peter Ujfalusi
On 09/10/2014 10:39 PM, Sebastian Andrzej Siewior wrote: With 8250-dma, 8250-omap and am335x I observe the following: - start a RX transfer which will finish once the FIFO has enough data - The TX side starts a large TX transfer, say 1244 bytes. It takes approx 102ms for the transfer to

Re: [PATCH] mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS

2014-09-18 Thread Sebastian Andrzej Siewior
On 2014-09-04 19:01:57 [+0200], Sebastian Andrzej Siewior wrote: From: Jeff Lance j-lan...@ti.com The logic in AFE_Pen_Ctrl bitmask in the CTRL register is different for five wire versus four or eight wire touschscreens. This patch should fix this for five-wire touch screens. There should be

Re: [PATCH 08/10] ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support

2014-09-18 Thread Nishanth Menon
On 09/17/2014 07:22 PM, Daniel Lezcano wrote: On 09/17/2014 04:20 PM, Shilimkar, Santosh wrote: [...] Could you try a long run of this little program: https://git.linaro.org/power/pm-qa.git/blob/HEAD:/cpuidle/cpuidle_killer.c [Santosh] I am sure there will not be any issue with the long run

Re: [PATCH] arm: arm: fiq: fix build breakage with CONFIG_FIQ

2014-09-18 Thread Russell King - ARM Linux
On Wed, Sep 17, 2014 at 08:51:28PM -0500, Felipe Balbi wrote: Hi, On Wed, Sep 17, 2014 at 04:29:03PM -0700, Daniel Thompson wrote: On 17/09/14 13:01, Felipe Balbi wrote: commit e1add97 (ARM: 8150/2: fiq: Replace default FIQ handler) has a typo which causes build breakage whenever

Re: [PATCH 08/10] ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support

2014-09-18 Thread Nishanth Menon
On 09/18/2014 08:41 AM, Nishanth Menon wrote: On 09/17/2014 07:22 PM, Daniel Lezcano wrote: On 09/17/2014 04:20 PM, Shilimkar, Santosh wrote: [...] Could you try a long run of this little program: https://git.linaro.org/power/pm-qa.git/blob/HEAD:/cpuidle/cpuidle_killer.c [Santosh] I am

Re: [PATCH V2 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
On 09/08/2014 10:41 AM, Nishanth Menon wrote: On 23:13-20140905, Thomas Gleixner wrote: On Fri, 5 Sep 2014, Nishanth Menon wrote: + if (!palmas-wakeirq) + goto no_wake_irq; + + ret = devm_request_irq(palmas-dev, palmas-wakeirq, + palmas_wake_irq, +

[PATCH v3] CLK: TI: consider the fact that of_clk_get() might return an error

2014-09-18 Thread Sebastian Andrzej Siewior
I forgot to update the dtb and the kernel crashed: |Unable to handle kernel NULL pointer dereference at virtual address 002e |PC is at __clk_get_flags+0x4/0xc |LR is at ti_dt_clockdomains_setup+0x70/0xe8 because I did not have the clock nodes. of_clk_get() returns an error pointer which is

Re: [PATCH 08/12] ARM: omap2plus_defconfig: Shrink with savedefconfig

2014-09-18 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140915 21:57]: Hi, On Mon, Sep 15, 2014 at 08:12:02PM -0700, Tony Lindgren wrote: This saves few lines and makes it easier to make patches against omap2plus_defconfig. Signed-off-by: Tony Lindgren t...@atomide.com while at that, can you enable voluntary

Re: [PATCH 08/12] ARM: omap2plus_defconfig: Shrink with savedefconfig

2014-09-18 Thread Felipe Balbi
Hi, On Thu, Sep 18, 2014 at 08:57:32AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [140915 21:57]: Hi, On Mon, Sep 15, 2014 at 08:12:02PM -0700, Tony Lindgren wrote: This saves few lines and makes it easier to make patches against omap2plus_defconfig.

Re: [PATCH v11 5/9] arm: omap1: Migrate debug_ll macros to use 8250.S

2014-09-18 Thread Tony Lindgren
* Daniel Thompson daniel.thomp...@linaro.org [140916 16:58]: The omap1's debug-macro.S is similar to the generic 8250 code. Compared to the 8520 code the omap1 macro automatically determines what UART to use based on breadcrumbs left by the bootloader and automatically copes with the eccentric

Re: [PATCH v2 0/6] ARM: dts: cm-t54: enable video out, touchscreen and USB3.0

2014-09-18 Thread Tony Lindgren
* Dmitry Lifshitz lifsh...@compulab.co.il [140917 05:10]: Add CM-T54 DT nodes: * enable HDMI/DVI/LCD video output support * add ADS7846 touchscreen support * enchance DWC3 setup to enable power supply for USB3.0 OTG port v2: * Fixed comment style issue for mux mode. Follow the

Re: [RFC] ARM: edma: unconditionally ack the error interrupt

2014-09-18 Thread Sebastian Andrzej Siewior
* Peter Ujfalusi | 2014-09-18 12:42:24 [+0300]: My hunch on what could be causing this that we might have unhandled dma event and another comes. This will flag the EDMA_EMR register. Any change in this register will assert error interrupt which can only be cleared by writing to EDMA_EMRC

Re: [PATCH 09/12] ARM: omap2plus_defconfig: Add cpufreq to defconfig

2014-09-18 Thread Nishanth Menon
On 20:12-20140915, Tony Lindgren wrote: Note that we can now use the CONFIG_GENERIC_CPUFREQ_CPU0, so let's only enable that. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/configs/omap2plus_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git

Re: [PATCH 09/12] ARM: omap2plus_defconfig: Add cpufreq to defconfig

2014-09-18 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140918 09:12]: On 20:12-20140915, Tony Lindgren wrote: Note that we can now use the CONFIG_GENERIC_CPUFREQ_CPU0, so let's only enable that. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/configs/omap2plus_defconfig | 7 +++ 1 file

Re: [PATCH 09/12] ARM: omap2plus_defconfig: Add cpufreq to defconfig

2014-09-18 Thread Nishanth Menon
On 09:20-20140918, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140918 09:12]: On 20:12-20140915, Tony Lindgren wrote: Note that we can now use the CONFIG_GENERIC_CPUFREQ_CPU0, so let's only enable that. Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm

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

2014-09-18 Thread Tony Lindgren
* Dave Gerlach d-gerl...@ti.com [140912 11:48]: 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

Re: [PATCH 5/8] arm: mach-omap2: Convert pr_warning to pr_warn

2014-09-18 Thread Tony Lindgren
* Joe Perches j...@perches.com [140913 11:32]: Use the more common pr_warn. Other miscellanea: o Realign arguments Thanks I'll apply this into omap-for-v3.18/cleanup. Regards, Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to

Re: [PATCH] ARM: dts: DRA7: Add PMU nodes

2014-09-18 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140917 07:26]: On 08:39-20140903, Nishanth Menon wrote: On 08/19/2014 08:54 AM, Nishanth Menon wrote: From: Lucas Weaver l-wea...@ti.com DRA74x and DRA72x family of processors vary slightly in the number of CPUs. So, add different instances of PMU for

Re: Questions about enabling dps(dynamic power switching) and SLM

2014-09-18 Thread Tony Lindgren
Hi, * Deepa Raj draj...@hotmail.com [140904 08:59]: 1) Which register in omap3 (as you said dps works in OMAP3) that will be configured to enable dps and slm? Hardware enters deeper idle states automatically when configured properly, see commits 3b8c4ebb7630, 9eca2837dd69 and c46f601cc2a0.

Re: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window

2014-09-18 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140901 11:09]: Hi, This set contains PRCM related cleanups meant for 3.18 merge window. These are based on top of 3.17-rc1 + the PRM set from Nishanth Menon (http://article.gmane.org/gmane.linux.ports.arm.kernel/350305.) Nishanth's set is used as basis to

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

2014-09-18 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140821 06:52]: 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

Re: [PATCH] ARM: OMAP: Remove unused pieces of legacy DMA API

2014-09-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [140916 17:37]: We're moving to the dmaengine API, so let's remove the unused pieces of the omap legacy DMA code to make sure we don't get any new users for these: omap_set_dma_color_mode omap_set_dma_src_index omap_set_dma_dest_index omap_dma_unlink_lch

Re: [PATCH V2 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Lee Jones
On Thu, 18 Sep 2014, Nishanth Menon wrote: On 09/08/2014 10:41 AM, Nishanth Menon wrote: On 23:13-20140905, Thomas Gleixner wrote: On Fri, 5 Sep 2014, Nishanth Menon wrote: + if (!palmas-wakeirq) + goto no_wake_irq; + + ret = devm_request_irq(palmas-dev, palmas-wakeirq, +

Re: [PATCH v3 4/5] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2014-09-18 Thread Jyri Sarha
On 09/18/2014 11:25 AM, Jean-Francois Moine wrote: On Thu, 18 Sep 2014 00:13:09 +0300 Jyri Sarha jsa...@ti.com wrote: So, Jean-Francois is also trying to do things with the TDA998x - what's the story with that, is this joined up at all? Not really. This basic functionality does not touch

[PATCH V3 0/3] mfd: palmas: add optional wakeup irq

2014-09-18 Thread Nishanth Menon
Hi, V3 update for the previous series: Changes in V3 (from review updates): - Allow driver to function even if wakeirq fails - Fix irq flags V2: http://marc.info/?l=linux-kernelm=140995041418575w=2 v1: https://patchwork.kernel.org/patch/4743321/ Nishanth Menon (3):

[PATCH V3 2/3] Documentation: dt-bindings: mfd: palmas: document optional wakeup IRQ

2014-09-18 Thread Nishanth Menon
With the recent pinctrl-single changes, SoCs such as OMAP family can treat wake-up events from deeper low power states as interrupts. This is usable when the wakeup from deeper low power states is triggered by a different hardware mechanism tied to pinctrl compared to the routine interrupt

[PATCH V3 1/3] Documentation: dt-bindings: mfd: palmas: Fix example style of i2c peripheral

2014-09-18 Thread Nishanth Menon
Use device@address as name for device nodes. Suggested-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Nishanth Menon n...@ti.com --- V3: no change V2: http://marc.info/?l=linux-kernelm=140995036518562w=2 Documentation/devicetree/bindings/mfd/palmas.txt |2 +- 1 file changed, 1

[PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
With the recent pinctrl-single changes, omaps can treat wake-up events from deeper power states as interrupts. This is to handle the case where the system needs two interrupt sources when SoC is in deep sleep(1 to exit from deep power mode such as sleep, and other from the module handling the

Re: [PATCH 00/26] ARM: OMAP2+: PRCM cleanups for 3.18 merge window

2014-09-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [140918 10:17]: * Tero Kristo t-kri...@ti.com [140901 11:09]: Hi, This set contains PRCM related cleanups meant for 3.18 merge window. These are based on top of 3.17-rc1 + the PRM set from Nishanth Menon

[GIT PULL 1/4] part 2 of omap intc changes for v3.18 merge window

2014-09-18 Thread Tony Lindgren
The following changes since commit 55601c9f24670ba926ebdd4d712ac3b177232330: arm: omap: intc: switch over to linear irq domain (2014-09-11 13:05:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/intc-part2-for-v3.18 for

[GIT PULL 2/4] part 2 of omap SoC changes for v3.18 merge window

2014-09-18 Thread Tony Lindgren
The following changes since commit 377fb3f5d9a34b2913939e0620c1c585b5913bab: ARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7 (2014-09-09 19:13:41 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/soc-part2-for-v3.18

[GIT PULL 3/4] part 2 of omap dts changes for v3.18 merge window

2014-09-18 Thread Tony Lindgren
The following changes since commit d27704d1ec2f9ba06247b402c58a6f2febecef78: ARM: dts: OMAP2+: Add sub mailboxes device node information (2014-09-11 11:46:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

[GIT PULL 4/4] omap clean-up for v3.18 merge window

2014-09-18 Thread Tony Lindgren
The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9: Linux 3.17-rc1 (2014-08-16 10:40:26 -0600) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/cleanup-for-v3.18 for you to fetch changes up to

Re: [GIT PULL 5/5] omap dts changes for v3.18 merge window

2014-09-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [140911 16:29]: The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [GIT PULL] omap wake-up regression fix for v3.17

2014-09-18 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [140917 08:00]: The following changes since commit 69e273c0b0a3c337a521d083374c918dc52c666f: Linux 3.17-rc3 (2014-08-31 18:23:04 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Thomas Gleixner
On Thu, 18 Sep 2014, Nishanth Menon wrote: +static irqreturn_t palmas_wake_irq(int irq, void *_palmas) +{ + /* + * Return Not handled so that interrupt is disabled. And how is that interrupt disabled by returning IRQ_NONE? You mean it gets disabled after it got reraised 10 times

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-18 Thread Nishanth Menon
On 17:57-20140918, Thomas Gleixner wrote: On Thu, 18 Sep 2014, Nishanth Menon wrote: +static irqreturn_t palmas_wake_irq(int irq, void *_palmas) +{ + /* +* Return Not handled so that interrupt is disabled. And how is that interrupt disabled by returning IRQ_NONE? You mean