[PATCH 1/2] ARM: OMAP4: PM: Only do static dependency configuration in omap4_init_static_deps

2014-10-21 Thread Nishanth Menon
+: PM: Consolidate OMAP4 PM code to re-use it for OMAP5) Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pm44xx.c | 29 + 1 file changed, 9 insertions(+), 20 deletions(-) diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c index

[PATCH 2/2] ARM: OMAP4+: PM: Centralize static dependency mapping table

2014-10-21 Thread Nishanth Menon
As we add more static dependency mapping for various errata, the logic gets clunkier. Since it is a simple lookup and map logic, centralize the same and provide the mapping as a simple list. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pm44xx.c | 117

[PATCH 0/2] ARM: OMAP4+: PM: centralize static dependency mapping table

2014-10-21 Thread Nishanth Menon
of cleanup. Series based on v3.18-rc1 and could be a 3.19-rc1 material. Nishanth Menon (2): ARM: OMAP4: PM: Only do static dependency configuration in omap4_init_static_deps ARM: OMAP4+: PM: Centralize static dependency mapping table arch/arm/mach-omap2/pm44xx.c | 146

[PATCH] ARM: OMAP4+: PM: Program CPU logic power state

2014-10-21 Thread Nishanth Menon
we expect them to hit CSWR. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap-mpuss-lowpower.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c index 6944ae3..79f49d9

Re: [REPOST PATCH 0/2] ARM: OMAP3+: VCVP mapping fixes to get DVFS working

2014-10-17 Thread Nishanth Menon
, Nishanth Menon -- 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: [PATCH 2/2] regulator: twl: use platform data in the DT based boot also

2014-10-10 Thread Nishanth Menon
this separately and liam, mark need to be in cc. Unfortunately, I think we might be pushed back with pdata should'nt be in of boot. So a slightly longer commit message might be necessary. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: cpuidle - minimum time for sleep

2014-10-09 Thread Nishanth Menon
search for CPUIDLE latency measure in google) https://lwn.net/Articles/384146/ http://www.omappedia.org/wiki/Power_Management_Device_Latencies_Measurement http://lists.linaro.org/pipermail/linaro-dev/2010-August/000568.html [1] https://www.saleae.com/ -- Regards, Nishanth Menon -- To unsubscribe

Re: [PATCH] ARM: OMAP2: Remove unnecessary KERN_* in omap_phy_internal.c

2014-10-06 Thread Nishanth Menon
of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- Regards, Nishanth Menon -- 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

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

2014-09-24 Thread Nishanth Menon
://slexy.org/raw/s21GW1utPn -- Regards, Nishanth Menon -- 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: [PATCH 08/10] ARM: OMAP5/DRA7: PM: cpuidle MPU CSWR support

2014-09-22 Thread Nishanth Menon
On 09/18/2014 08:50 AM, Nishanth Menon wrote: 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

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

2014-09-22 Thread Nishanth Menon
Daniel, On 08:02-20140922, Nishanth Menon wrote: [...] Test #2: 1200 seconds: (http://fpaste.org/134564/47289141/) Santosh wanted me to make certain that the following is noted; ^^ - is around 20 mins. - So highlighting again.. I assume this is long enough test duration you requested for. CMD

Re: [PATCH] rtc: omap: Support regulator supply for RTC

2014-09-19 Thread Nishanth Menon
= omap_rtc_devtype, }; -module_platform_driver_probe(omap_rtc_driver, omap_rtc_probe); +module_platform_driver(omap_rtc_driver); MODULE_AUTHOR(George G. Davis (and others)); MODULE_LICENSE(GPL); -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v3 1/5] clk: ti: add ti,gpio-gate-clock controlled clock

2014-09-19 Thread Nishanth Menon
? In any case, this should go through Mike. yep - should have been posted independent of this series :). -- Regards, Nishanth Menon -- 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

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

2014-09-19 Thread Nishanth Menon
On 08:37-20140919, Thomas Gleixner wrote: On Thu, 18 Sep 2014, Nishanth Menon wrote: On 17:57-20140918, Thomas Gleixner wrote: I suppose I can improve the commit message to elaborate this better? Will that help? You also want to improve the comment in the empty handler. OK. will do

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

2014-09-19 Thread Nishanth Menon
On 09/18/2014 02:16 PM, Tony Lindgren wrote: * 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 (http

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

2014-09-18 Thread Nishanth Menon
) http://fpaste.org/134561/47189141/ -- Regards, Nishanth Menon -- 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: [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

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

2014-09-18 Thread Nishanth Menon
, Nishanth Menon -- 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: [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

[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
needs two interrupt sources when SoC is in deep sleep(1 to exit from deep sleep, and other from the module handling the actual event). Signed-off-by: Nishanth Menon n...@ti.com --- V3: no change V2: http://marc.info/?l=linux-kernelm=140995036418561w=2 Documentation/devicetree/bindings/mfd/palmas.txt

[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 insertion

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

2014-09-18 Thread Nishanth Menon
regular handler. This is similar in approach to commit 2a0b965cfb6e (serial: omap: Add support for optional wake-up) Signed-off-by: Nishanth Menon n...@ti.com --- V3: updates based on Thomas's comments. V2: http://marc.info/?t=14099504503r=1w=2 drivers/mfd/palmas.c | 62

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

Re: [PATCH 2/2] mfd: twl4030-power: use 'ti,system-power-controller' as alternative way to support system power off

2014-09-17 Thread Nishanth Menon
On 16:05-20140916, Lee Jones wrote: On Mon, 08 Sep 2014, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140903 12:07]: ti,system-power-controller is more or less the standard way of indicating that the PMIC is the system wide power controller and hence may be used to switch off

[PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-17 Thread Nishanth Menon
' in addition to the usual 'ti,use_poweroff' to indicate that the PMIC instance has control for switching off the system. Signed-off-by: Nishanth Menon n...@ti.com --- V2: picked up documentation suggestion from Sebastien V1: https://patchwork.kernel.org/patch/4836381/ .../devicetree/bindings/mfd/twl4030

[PATCH V2 2/2] mfd: twl4030-power: use 'ti,system-power-controller' as alternative way to support system power off

2014-09-17 Thread Nishanth Menon
' in addition to the usual 'ti,use_poweroff' to indicate that the PMIC instance has control for switching off the system. Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- V2: no change, picked up Tony's ack. V1: https://patchwork.kernel.org/patch/4836371/ drivers/mfd

[PATCH V2 0/2] mfd: twl4030-power: support ti,system-power-controller

2014-09-17 Thread Nishanth Menon
This series adds ti,system-power-controller to Documentation and the driver seperately as per maintainer preference. Based on v3.17-rc1 Changes since V1: update in documentation, picked up Tony's ack for patch #2. V1: http://marc.info/?l=devicetreem=140977126218800w=2 Nishanth Menon (2

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

2014-09-17 Thread Nishanth Menon
On 09/11/2014 11:01 AM, Sebastian Andrzej Siewior wrote: 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

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

2014-09-17 Thread Nishanth Menon
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 each of these processor groups. Further, since

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

2014-09-17 Thread Nishanth Menon
the clock nodes. of_clk_get() returns an error pointer which is not checked here. Signed-off-by: Sebastian Andrzej Siewior bige...@linutronix.de --- v1…v2: add %s __func__ to the added pr_err * Nishanth Menon | 2014-09-17 07:52:33 [-0500]: Could you add %s: __func__ as well - it kinda helps

Re: [PATCH V2 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-17 Thread Nishanth Menon
On 18:55-20140917, Sebastian Reichel wrote: On Wed, Sep 17, 2014 at 08:44:00AM -0700, Lee Jones wrote: On Wed, 17 Sep 2014, Nishanth Menon wrote: ti,system-power-controller is more or less the standard way of indicating that the PMIC is the system wide power controller and hence may

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

2014-09-16 Thread Nishanth Menon
Daniel, On 09/05/2014 04:18 PM, Nishanth Menon wrote: Daniel, On 13:22-20140827, Kevin Hilman wrote: Santosh Shilimkar santosh.shilim...@ti.com writes: On Wednesday 27 August 2014 03:35 PM, Nishanth Menon wrote: On Wed, Aug 27, 2014 at 2:13 PM, Kevin Hilman khil...@deeprootsystems.com

Re: [PATCH 1/4] ARM: dts: cm-t54: add HDMI/DVI display data

2014-09-16 Thread Nishanth Menon
; + }; + }; +}; -- Regards, Nishanth Menon -- 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

[PATCH] Input: palmas-pwrbutton: Fix IRQ flags for using threaded handler alone.

2014-09-15 Thread Nishanth Menon
: adff5962fdd2 (Input: introduce palmas-pwrbutton) Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Nishanth Menon n...@ti.com --- drivers/input/misc/palmas-pwrbutton.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/palmas-pwrbutton.c b

[PATCH] Input: palmas-pwrbutton: Fix typo in License

2014-09-15 Thread Nishanth Menon
Reported-by: Jim Davis jim.ep...@gmail.com Signed-off-by: Nishanth Menon n...@ti.com --- Reported thread http://marc.info/?l=linux-inputm=141080223209150w=2 drivers/input/misc/palmas-pwrbutton.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/palmas-pwrbutton.c

Re: [PATCH] Input: palmas-pwrbutton: Fix typo in License

2014-09-15 Thread Nishanth Menon
On 09/15/2014 12:58 PM, Nishanth Menon wrote: Follow the license string convention indicated in include/linux/module.h (don't capitalize v). This fixes following randconfig warning: FATAL: modpost: GPL-incompatible module palmas-pwrbutton.ko uses GPL-only symbol 'platform_driver_unregister

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

2014-09-12 Thread Nishanth Menon
-info.html -- --- Regards, Nishanth Menon -- 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: [PATCH] ARM: OMAP3: Fix I/O chain clock line assertion timed out error

2014-09-12 Thread Nishanth Menon
to Paul Walmsley and Nishanth Menon for help with debugging the issue. Fixes: 30a69ef785e8 (ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap) Cc: Kevin Hilman khil...@kernel.org Cc: Nishanth Menon n...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Tero Kristo t-kri

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

2014-09-11 Thread Nishanth Menon
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, but..Arrgh.. I did not reply to this comment.. BTW, I do not think

OMAP4: suspend-resume broken when CPU_IDLE is disabled

2014-09-11 Thread Nishanth Menon
(and not just me)? [1] wget -O a.patch 'https://github.com/nmenon/linux-2.6-playground/commit/92e5e7407aa707ad6be8ae3b5bf21cfc741daab6.patch' ; git am a.patch -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

[PATCH] bus: omap_l3_noc: Fix connID for OMAP4

2014-09-10 Thread Nishanth Menon
Signed-off-by: Nishanth Menon n...@ti.com --- Based on v3.17-rc1 - but might be 3.17 rc material Quick links (seems to work on firefox): 4430: http://www.ti.com/lit/ug/swpu231ap/swpu231ap.pdf#page=3030zoom=auto,0,699.5 4460: http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf#page=3073zoom=auto

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

2014-09-10 Thread Nishanth Menon
{ + compatible = ti,dra7xx-cpsw-phy-sel; + reg= 0x4a002554 0x4; + reg-names = gmii-sel; + }; + }; + }; }; -- Regards, Nishanth Menon -- To unsubscribe from

Re: [PATCH v2 2/2] ARM: dts: dra7-evm: Enable CPSW and MDIO for dra7xx EVM

2014-09-10 Thread Nishanth Menon
, Nishanth Menon -- 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: [PATCH v2 0/2] Add DRA7xx CPSW Ethernet support in Device Tree

2014-09-10 Thread Nishanth Menon
resume seamlessly. (only thing you should be careful is that the server should not timeout for 20 second inactivity).. It is a valid test to verify peripheral activity after resume, BUT, equally important is to verify suspend-resume in the middle of activity. -- Regards, Nishanth Menon

Re: 3.15+: omap4: mmc: multi_v7: can't boot off mmc

2014-09-10 Thread Nishanth Menon
-rc4/multi_v7_defconfig/pandaboard-es.txt https://github.com/nmenon/kernel-test-logs/blob/v3.17-rc4/multi_v7_defconfig/pandaboard-vanilla.txt You might be interested in using partuuid to be careful about the probe order deltas that may take place. -- Regards, Nishanth Menon -- To unsubscribe

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

2014-09-10 Thread Nishanth Menon
omap2plus platforms to ensure we have no regressions. -- Regards, Nishanth Menon -- 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: [resend PATCH 0/3] Add DRA7xx CPSW Ethernet support in Device Tree

2014-09-09 Thread Nishanth Menon
then for the reason that this is a patch that is just build tested and is not tested for the feature it claims to introduce. -- --- Regards, Nishanth Menon -- 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

Re: [resend PATCH 0/3] Add DRA7xx CPSW Ethernet support in Device Tree

2014-09-09 Thread Nishanth Menon
On 09/09/2014 07:56 AM, Mugunthan V N wrote: On Tuesday 09 September 2014 05:45 PM, Nishanth Menon wrote: On Tue, Sep 9, 2014 at 6:29 AM, Mugunthan V N mugunthan...@ti.com wrote: Sorry this is now blocked inside TI. could you explain the testing done for sleep state? did you attempt sleep

[GIT PULL] ARM: dts: OMAP5 / DRA7: pinctrl updates

2014-09-09 Thread Nishanth Menon
: Mark uart1 rxd as wakeup capable (2014-09-09 08:33:29 -0500) Nishanth Menon (5): ARM: dts: OMAP5: switch to compatible pinctrl ARM: dts: DRA7: switch to compatible pinctrl ARM: dts: AM437x: switch to compatible

Re: [PATCH v2 1/3] can: c_can_platform: Fix c_can_hw_raminit_ti() and add timeout

2014-09-09 Thread Nishanth Menon
? } spin_unlock(raminit_lock); } -- Regards, Nishanth Menon -- 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: [PATCH 1/3] omap-dma: Allow compile-testing omap1_camera driver

2014-09-09 Thread Nishanth Menon
chain_id) { return 0; } + +#endif /* CONFIG_COMPILE_TEST */ + #if defined(CONFIG_ARCH_OMAP1) IS_ENABLED(CONFIG_FB_OMAP) #include mach/lcd_dma.h #else -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH v2 1/3] can: c_can_platform: Fix c_can_hw_raminit_ti() and add timeout

2014-09-09 Thread Nishanth Menon
doing some 10,000 iterations of the operation and picking up the worse case number and double it. Either way, you need to document the same, else a few years down the line, when that number is in question, no one will know what it's basis was.. -- Regards, Nishanth Menon -- To unsubscribe from

[PATCH] ARM: OMAP5+: Reuse OMAP4 PM code for OMAP5 and DRA7

2014-09-09 Thread Nishanth Menon
'' in OMAP5 or DRA7 only builds. Fixes: 6af16a1dac5465c (ARM: DRA7: Add hook in SoC initcalls to enable pm initialization) Fixes: 628ed4717000789 (ARM: OMAP5: Add hook in SoC initcalls to enable pm initialization) Reported-by: Tony Lindgren t...@atomide.com Signed-off-by: Nishanth Menon n

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

2014-09-08 Thread Nishanth Menon
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, + IRQF_ONESHOT

Re: [PATCH 00/10] ARM: OMAP5 / DRA7: Add framework for suspend and cpuidle

2014-09-08 Thread Nishanth Menon
On 08/27/2014 02:15 PM, Kevin Hilman wrote: Nishanth Menon n...@ti.com writes: The following series are various fixes and improvements for supporting suspend-to-ram. This depends on the following for basic functionality: series 1/6 where powerdomain fixes were involved. I had a look

Re: [PATCH 0/3] ARM: OMAP5+: pdata quirks for pinctrl

2014-09-08 Thread Nishanth Menon
On 08/22/2014 08:55 AM, Nishanth Menon wrote: The following series are various fixes and improvements for daisychain support in OMAP5+ using pinctrl framework similar to that done for OMAP3+ This is part 3/6 series which eventually enables framework for suspend-to-ram and cpuidle for OMAP5

[GIT PULL 1/2] ARM: OMAP 4+: powerdomain fixes

2014-09-08 Thread Nishanth Menon
to 3e6a1c945950140926dd6e2cc667893de0a7fe3b: ARM: OMAP4+: PM: Use only valid low power state for CPU hotplug (2014-09-08 11:22:43 -0500) Nishanth Menon (7): ARM: OMAP: DRA7: powerdomain data: fix powerdomain powerstate ARM: OMAP5

[GIT PULL 2/2] ARM: OMAP4+: PRM fixes, DRA7 suspend-to-ram support

2014-09-08 Thread Nishanth Menon
: AM437x: use pdata quirks for pinctrl information Nishanth Menon (8): ARM: OMAP4+: prminst: provide function to find prm_dev instance offset ARM: OMAP4: PRM: use the generic prm_inst to allow logic to be abstracted ARM: OMAP4+: PRM: register interrupt information from DT ARM

Re: [PATCH 07/10] ARM: OMAP5 / DRA7: Enable CPU RET on suspend

2014-09-08 Thread Nishanth Menon
On 20:23-20140908, Grazvydas Ignotas wrote: On Sat, Sep 6, 2014 at 12:15 AM, Nishanth Menon n...@ti.com wrote: Hi, Updated patch below: Do let me know if this is ok with folks. ---8 From 1b9e11834dac2bd75c396aa7495c806b027653fe Mon Sep 17 00:00:00 2001 From: Rajendra Nayak

Re: [PATCH 6/6] ARM: dts: dra7-evm: Mark uart1 rxd as wakeup capable

2014-09-08 Thread Nishanth Menon
On 09:03-20140822, Nishanth Menon wrote: status = okay; pinctrl-names = default; pinctrl-0 = uart1_pins; + interrupts-extended = gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH +dra7_pmx_core 0x3e0; ^^ Thanks to Lee Jones pointing this out to me

Re: [resend PATCH 1/3] pinctrl: dra7: dt-bindings: add pin off modes for dra7 SoC

2014-09-08 Thread Nishanth Menon
PIN_OFF_INPUT_PULLDOWN (OFF_EN | OFF_PULL_EN) +#define PIN_OFF_WAKEUPENABLE WAKEUP_EN + #endif NAK for OFF_NONE, OFF_xyz etc. A) There is no OFF mode on DRA7. in sleep state use mode 15 (gated). B) when using this for wakeup - use pinctrl wakeup handling to do the wakeup. Regards, Nishanth Menon

Re: [resend PATCH 3/3] arm/dts: dra7xx: Enable CPSW and MDIO for dra7xx EVM

2014-09-08 Thread Nishanth Menon
. -- Regards, Nishanth Menon -- 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: [resend PATCH 0/3] Add DRA7xx CPSW Ethernet support in Device Tree

2014-09-08 Thread Nishanth Menon
-evm.dts| 107 ++ arch/arm/boot/dts/dra7.dtsi | 59 + include/dt-bindings/pinctrl/dra.h | 8 +++ 3 files changed, 174 insertions(+) -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [PATCH 0/2] ARM: dts: dra72-evm: Add i2c1 and tps65917 nodes

2014-09-08 Thread Nishanth Menon
://paste.ubuntu.org.cn/1496341 Patches: https://patchwork.kernel.org/patch/4632391/ https://patchwork.kernel.org/patch/4632421/ Could we pick these with 3.18? Please free to add: Tested-by: Nishanth Menon n...@ti.com -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [GIT PULL 2/2] ARM: OMAP4+: PRM fixes, DRA7 suspend-to-ram support

2014-09-08 Thread Nishanth Menon
On 15:32-20140908, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140908 10:02]: Hi Tony, Please pull the following changes. part 2: ARM: OMAP3+: PRM: fix up prm_handling http://marc.info/?l=linux-kernelm=140871580806186w=2 Status: Acked-by: Santosh Shilimkar santosh.shilim

Re: [GIT PULL 2/2] ARM: OMAP4+: PRM fixes, DRA7 suspend-to-ram support

2014-09-08 Thread Nishanth Menon
into omap-for-v3.18/soc. Thanks Tony. Apologies on the trouble :( -- Regards, Nishanth Menon -- 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: [PATCH] ARM: omap: Remove stray ARCH_HAS_OPP references

2014-09-06 Thread Nishanth Menon
bool TI DRA7XX depends on ARCH_MULTI_V7 select ARCH_OMAP2PLUS - select ARCH_HAS_OPP select ARM_CPU_SUSPEND if PM select ARM_GIC select HAVE_ARM_ARCH_TIMER Acked-by: Nishanth Menon n...@ti.com -- To unsubscribe from this list: send the line

Re: [PATCH v2 1/2] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() variants

2014-09-05 Thread Nishanth Menon
as our TI policies let us. -- Regards, Nishanth Menon -- 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

[RESEND PATCH] gpio: omap: Fix interrupt names

2014-09-05 Thread Nishanth Menon
is trivial to achieve. Signed-off-by: Nishanth Menon n...@ti.com Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Acked-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Acked-by: Kevin Hilman khil...@linaro.org --- Requested to be resend by Javier with linux-gpio maintainers in CC

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

2014-09-05 Thread Nishanth Menon
needs two interrupt sources when SoC is in deep sleep(1 to exit from deep sleep, and other from the module handling the actual event). Signed-off-by: Nishanth Menon n...@ti.com --- Documentation/devicetree/bindings/mfd/palmas.txt | 20 1 file changed, 20 insertions(+) diff

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

2014-09-05 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 --- Documentation/devicetree/bindings/mfd/palmas.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd

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

2014-09-05 Thread Nishanth Menon
power saving modes. Nishanth Menon (3): Documentation: dt-bindings: mfd: palmas: Fix example style of i2c peripheral Documentation: dt-bindings: mfd: palmas: document optional wakeup IRQ mfd: palmas: Add support for optional wakeup Documentation/devicetree/bindings/mfd/palmas.txt | 22

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

2014-09-05 Thread Nishanth Menon
regular handler. This is similar in approach to commit 2a0b965cfb6e (serial: omap: Add support for optional wake-up) Signed-off-by: Nishanth Menon n...@ti.com --- drivers/mfd/palmas.c | 59 include/linux/mfd/palmas.h |2 ++ 2 files changed, 61

Re: [PATCH 07/10] ARM: OMAP5 / DRA7: Enable CPU RET on suspend

2014-09-05 Thread Nishanth Menon
On 14:45-20140827, Nishanth Menon wrote: On 08/27/2014 02:43 PM, Santosh Shilimkar wrote: On Wednesday 27 August 2014 03:41 PM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140827 12:05]: On 08/27/2014 01:58 PM, Kevin Hilman wrote: Nishanth Menon n...@ti.com writes: From

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

2014-09-05 Thread Nishanth Menon
Daniel, On 13:22-20140827, Kevin Hilman wrote: Santosh Shilimkar santosh.shilim...@ti.com writes: On Wednesday 27 August 2014 03:35 PM, Nishanth Menon wrote: On Wed, Aug 27, 2014 at 2:13 PM, Kevin Hilman khil...@deeprootsystems.com wrote: + Daniel (cpuidle maintainer) [...] +static

[PATCH 0/2] ARM: dts: dra7-evm: fixes for mux and VTT control

2014-09-04 Thread Nishanth Menon
: http://paste.ubuntu.org.cn/1477596 Lokesh Vutla (1): ARM: dts: dra7-evm: Add vtt regulator support Nishanth Menon (1): ARM: dts: dra7-evm: Fix spi1 mux documentation arch/arm/boot/dts/dra7-evm.dts | 39 --- 1 file changed, 32 insertions(+), 7 deletions

[PATCH 2/2] ARM: dts: dra7-evm: Add vtt regulator support

2014-09-04 Thread Nishanth Menon
of this change, mark gpio7 as no-reset and no-idle on init. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts

[PATCH 1/2] ARM: dts: dra7-evm: Fix spi1 mux documentation

2014-09-04 Thread Nishanth Menon
-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 50f8022..e120fca 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot

Re: [PATCH 1/2] ARM: dts: dra7-evm: Fix spi1 mux documentation

2014-09-04 Thread Nishanth Menon
On 08:23-20140904, Nishanth Menon wrote: While auditing the various pin ctrl configurations using the following command: grep PIN_ arch/arm/boot/dts/dra7-evm.dts|(while read line; do v=`echo $line | sed -e s/\s\s*/|/g | cut -d '|' -f1 | cut -d 'x' -f2|tr [a-z] [A-Z

Re: [PATCH] ARM: dts: omap5.dtsi: add DSS RFBI node

2014-09-04 Thread Nishanth Menon
= 0x58004000 0x200, before-omap5-evm: http://paste.ubuntu.org.cn/1477659 after-omap5-evm: http://paste.ubuntu.org.cn/1477658 So, yep, no more warning. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH] drivers/rtc/rtc-ds1307.c: Support optional wakeup interrupt source

2014-09-03 Thread Nishanth Menon
On 08/21/2014 11:12 AM, Nishanth Menon wrote: With the recent pinctrl-single changes, SoCs such as Texas Instrument's OMAP processors can treat wake-up events from deeper idle states as interrupts. Let's add support for the optional second interrupt for wake-up events. And then SoC can

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

2014-09-03 Thread Nishanth Menon
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 each of these processor groups. Further, since the interrupts bypass crossbar and are directly

[PATCH] ARM: dts: am335x-bone*: Fix model name and update compatibility information

2014-09-03 Thread Nishanth Menon
that beaglebone black and beaglebone are identifiable, while maintaining compatibility for older zImages which might use old beaglebone compatible flag for black as well. Reported-by: Tom Rini tr...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- Based on v3.17-rc1: Before: beaglebone-black: Boot PASS

[PATCH] ARM: dts: am437x-gp: switch i2c0 to 100KHz

2014-09-03 Thread Nishanth Menon
On the GP EVM, the ambient light sensor is limited to 100KHz on the I2C bus. So use 100kHz for I2C on the GP EVM due to this limitation on the ambient light sensor. Reported-by: Aparna Balasubramanian apar...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- based on v3.17-rc1 arch/arm/boot

Re: PROBLEM: bindings for drivers/mfd/twl4030-power.c

2014-09-03 Thread Nishanth Menon
about supporting ti,system-power-controller as the standard way of stating poweroff control is by the PMIC. this seems to be standard in various SoCs. use_poweroff seems to predate that standardization. Should'nt we start using ti,system-power-controller instead? -- Regards, Nishanth Menon

[PATCH 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-03 Thread Nishanth Menon
' in addition to the usual 'ti,use_poweroff' to indicate that the PMIC instance has control for switching off the system. Signed-off-by: Nishanth Menon n...@ti.com --- .../devicetree/bindings/mfd/twl4030-power.txt |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] mfd: twl4030-power: use 'ti,system-power-controller' as alternative way to support system power off

2014-09-03 Thread Nishanth Menon
' in addition to the usual 'ti,use_poweroff' to indicate that the PMIC instance has control for switching off the system. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/mfd/twl4030-power.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/twl4030-power.c b/drivers/mfd/twl4030

[PATCH 0/2] mfd: twl4030-power: support ti,system-power-controller

2014-09-03 Thread Nishanth Menon
This series adds ti,system-power-controller to Documentation and the driver seperately as per maintainer preference. Based on v3.17-rc1 Nishanth Menon (2): Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control mfd: twl4030

Re: PROBLEM: bindings for drivers/mfd/twl4030-power.c

2014-09-03 Thread Nishanth Menon
On Wed, Sep 3, 2014 at 2:02 PM, Tony Lindgren t...@atomide.com wrote: * Nishanth Menon n...@ti.com [140903 11:51]: On 09/03/2014 01:45 PM, Tony Lindgren wrote: * Dr. H. Nikolaus Schaller h...@goldelico.com [140901 09:54]: Hi, Am 25.08.2014 um 23:26 schrieb Tony Lindgren: * Dr. H

Re: [PATCH 1/2] Documentation: devicetree: mfd: twl4030-power: Use the standard 'ti,system-power-controller' to mark power control

2014-09-03 Thread Nishanth Menon
On Wed, Sep 3, 2014 at 2:53 PM, Sebastian Reichel s...@kernel.org wrote: On Wed, Sep 03, 2014 at 02:06:47PM -0500, Nishanth Menon wrote: Optional properties: -- ti,use_poweroff: With this flag, the chip will initiates an ACTIVE-to-OFF or -SLEEP-to-OFF transition when

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

2014-09-01 Thread Nishanth Menon
On 09/01/2014 04:32 AM, Lee Jones wrote: On Fri, 29 Aug 2014, Nishanth Menon wrote: On 08/29/2014 05:56 AM, Lee Jones wrote: On Tue, 19 Aug 2014, Nishanth Menon wrote: With the recent pinctrl-single changes, omaps can treat wake-up events from deeper idle states as interrupts. Let's add

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

2014-08-29 Thread Nishanth Menon
On 08/29/2014 05:56 AM, Lee Jones wrote: On Tue, 19 Aug 2014, Nishanth Menon wrote: With the recent pinctrl-single changes, omaps can treat wake-up events from deeper idle states as interrupts. Let's add support for the optional second interrupt for wake-up events. And then SoC can wakeup

Re: [PATCH v2 1/2] ARM: DRA7: Add support for soc_is_dra74x() and soc_is_dra72x() variants

2014-08-28 Thread Nishanth Menon
On Thu, Aug 28, 2014 at 1:19 AM, Paul Walmsley p...@pwsan.com wrote: On Wed, 27 Aug 2014, Nishanth Menon wrote: On Mon, Jul 28, 2014 at 12:34 AM, Lokesh Vutla lokeshvu...@ti.com wrote: On Monday 28 July 2014 10:59 AM, Paul Walmsley wrote: On Mon, 28 Jul 2014, Lokesh Vutla wrote: From

Re: [PATCH 4/7] ARM: OMAP2+: powerdomain: introduce logic for finding valid power domain

2014-08-27 Thread Nishanth Menon
On Wed, Aug 27, 2014 at 1:27 PM, Kevin Hilman khil...@deeprootsystems.com wrote: Nishanth Menon n...@ti.com writes: powerdomain configuration in OMAP is done using PWRSTCTRL register for each power domain. However, PRCM lets us write any value we'd like to the logic and power domain target

[PATCH V2 4/7] ARM: OMAP2+: powerdomain: introduce logic for finding valid power domain

2014-08-27 Thread Nishanth Menon
/omap.git/+blame/android-omap-panda-3.0/arch/arm/mach-omap2/pm44xx.c Reviewed-by: Kevin Hilman khil...@linaro.org Acked-by: Santosh Shilimkar santosh.shilim...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- Not posting the entire series again and updating just this patch.. V2: drop BUG in favor

Re: [PATCH 07/10] ARM: OMAP5 / DRA7: Enable CPU RET on suspend

2014-08-27 Thread Nishanth Menon
On 08/27/2014 01:58 PM, Kevin Hilman wrote: Nishanth Menon n...@ti.com writes: From: Rajendra Nayak rna...@ti.com On OMAP5 / DRA7, prevent a CPU powerdomain OFF and resulting MPU OSWR and instead attempt a CPU RET and side effect, MPU RET in suspend. Signed-off-by: Rajendra Nayak rna

Re: [PATCH 07/10] ARM: OMAP5 / DRA7: Enable CPU RET on suspend

2014-08-27 Thread Nishanth Menon
On 08/27/2014 02:43 PM, Santosh Shilimkar wrote: On Wednesday 27 August 2014 03:41 PM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140827 12:05]: On 08/27/2014 01:58 PM, Kevin Hilman wrote: Nishanth Menon n...@ti.com writes: From: Rajendra Nayak rna...@ti.com On OMAP5 / DRA7

Re: [PATCH 00/10] ARM: OMAP5 / DRA7: Add framework for suspend and cpuidle

2014-08-25 Thread Nishanth Menon
On 08/22/2014 09:02 AM, Nishanth Menon wrote: [...] An complete integrated branch is available here: https://github.com/nmenon/linux-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework Example test log: DRA7 based BeagleBoard X15: http://slexy.org/view/s2jgsH8bos

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