Re: [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding

2014-08-25 Thread Nishanth Menon
On 10:25-20140825, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140822 07:03]: Add basic skeleton of OMAP pinctrl bindings. This is compatible with pinctrl,single bindings and is meant purely as a reference point. Signed-off-by: Nishanth Menon n...@ti.com Looks like you have ti

[PATCH 3/7] ARM: OMAP2+: powerdomain: pwrdm_for_each_clkdm iterate only valid clkdms

2014-08-22 Thread Nishanth Menon
No need to invoke callback when the clkdm pointer is NULL. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/powerdomain.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/powerdomain.c b/arch/arm/mach-omap2/powerdomain.c index faebd5f

[PATCH 1/7] ARM: OMAP: DRA7: powerdomain data: fix powerdomain powerstate

2014-08-22 Thread Nishanth Menon
DRA7 supports only CSWR for CPU, MPU power domains. Core power domain supports upto INA. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/powerdomain.h |1 + arch/arm/mach-omap2/powerdomains7xx_data.c | 14 +++--- 2 files changed, 8 insertions(+), 7

[PATCH 2/7] ARM: OMAP5: powerdomain data: fix powerdomain powerstate

2014-08-22 Thread Nishanth Menon
Update the power domain power states for final production chip capability. OFF mode, OSWR etc have been descoped for various domains. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/powerdomains54xx_data.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions

[PATCH 5/7] ARM: OMAP4+: PM: Make logic state programmable

2014-08-22 Thread Nishanth Menon
Move the logic state as different for each power domain. This allows us to customize the deepest power state we should target over all for each powerdomain in the follow on patches. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pm44xx.c |5 - 1 file changed, 4

[PATCH 7/7] ARM: OMAP4+: PM: Use only valid low power state for CPU hotplug

2014-08-22 Thread Nishanth Menon
Not all SoCs support OFF mode - for example DRA74/72. So, use valid power state during CPU hotplug. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap-mpuss-lowpower.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch

[PATCH 6/7] ARM: OMAP4+: PM: use only valid low power state for suspend

2014-08-22 Thread Nishanth Menon
the supported powerdomain states and use the appropriate function to query and use it as part of suspend path. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pm44xx.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch

[PATCH 0/7] ARM: OMAP4+: powerdomain fixes

2014-08-22 Thread Nishanth Menon
-suspend-dra7-omap5-framework Nishanth Menon (7): ARM: OMAP: DRA7: powerdomain data: fix powerdomain powerstate ARM: OMAP5: powerdomain data: fix powerdomain powerstate ARM: OMAP2+: powerdomain: pwrdm_for_each_clkdm iterate only valid clkdms ARM: OMAP2+: powerdomain: introduce logic

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

2014-08-22 Thread Nishanth Menon
/omap.git/+blame/android-omap-panda-3.0/arch/arm/mach-omap2/pm44xx.c Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/powerdomain.c | 73 + arch/arm/mach-omap2/powerdomain.h |3 ++ 2 files changed, 76 insertions(+) diff --git a/arch/arm/mach

[PATCH 2/6] ARM: OMAP4: PRM: use the generic prm_inst to allow logic to be abstracted

2014-08-22 Thread Nishanth Menon
use the generic function to pick up the prm_instance for a generic logic which can be reused from OMAP4+ Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/prm44xx.c | 47 + 1 file changed, 38 insertions(+), 9 deletions(-) diff --git

[PATCH 4/6] ARM: OMAP4+: PRM: remove wkup event

2014-08-22 Thread Nishanth Menon
wkup event at bit offset 0 exists only on OMAP3. OMAP4430/60 PRM_IRQSTATUS_A9, OMAP5/DRA7 PRM_IRQSTATUS_MPU register bit 0 is DPLL_CORE_RECAL_ST not wakeup event like OMAP3. The same applies to AM437x as well. Remove the wrong definition. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm

[PATCH 0/6] ARM: OMAP3+: PRM: fix up prm_handling

2014-08-22 Thread Nishanth Menon
/cpu-idle-suspend-dra7-omap5-framework Nishanth Menon (6): 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: OMAP4+: PRM

[PATCH 3/6] ARM: OMAP4+: PRM: register interrupt information from DT

2014-08-22 Thread Nishanth Menon
Allow the PRM interrupt information to be picked up from device tree. the only exception is for OMAP4 which uses values pre-populated and allows compatibility with older dtb. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/prm44xx.c | 40

[PATCH 5/6] ARM: OMAP4+: PRM: Enable wakeup capability for OMAP5, DRA7

2014-08-22 Thread Nishanth Menon
OMAP5 and DRA7 can now use pinctrl based I/O daisychain wakeup capability. So, enable the support. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/prm44xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/prm44xx.c b/arch/arm/mach

[PATCH 6/6] ARM: OMAP3+: PRM: register interrupt information from DT

2014-08-22 Thread Nishanth Menon
Allow the PRM interrupt information to be picked up from device tree. OMAP3 may use legacy boot and needs to be compatible with old dtbs (without interrupt populated), for these, we use the value which is pre-populated. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/prm3xxx.c

[PATCH 1/6] ARM: OMAP4+: prminst: provide function to find prm_dev instance offset

2014-08-22 Thread Nishanth Menon
PRM device instance can vary depending on SoC. We already handle the same during reset of the device, However, this is also needed for other logic instances. So, first abstract this out to a generic function. Signed-off-by: Nishanth Menon n...@ti.com --- Minor note: this patch has a 'CHECK

[PATCH 3/3] ARM: AM437x: use pdata quirks for pinctrl information

2014-08-22 Thread Nishanth Menon
From: Keerthy j-keer...@ti.com Provide pdata-quirks for Am437x processor family. Signed-off-by: Keerthy j-keer...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c

[PATCH 2/3] ARM: DRA7: use pdata quirks for pinctrl information

2014-08-22 Thread Nishanth Menon
Provide pdata-quirks for DRA7 processor family. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index edacfed..827e106 100644

[PATCH 1/3] ARM: OMAP5: use pdata quirks for pinctrl information

2014-08-22 Thread Nishanth Menon
Provide pdata-quirks for OMAP5 processor family. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c index 90c88d4..edacfed 100644

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

2014-08-22 Thread Nishanth Menon
-2.6-playground/commits/testing/v3.17/cpu-idle-suspend-dra7-omap5-framework Minor note: thanks to existing style in pdata-quirks, new entries continue to possess 'over 80 character' checkpatch warnings Keerthy (1): ARM: AM437x: use pdata quirks for pinctrl information Nishanth Menon (2): ARM

[PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility

2014-08-22 Thread Nishanth Menon
DRA7 pinctrl definitions now differ from traditional 16 bit OMAP pin ctrl definitions, in that all 32 bits are used to describe a single pin Also the location of wakeupenable and event bits have changed. Signed-off-by: Nishanth Menon n...@ti.com --- .../bindings/pinctrl/ti,omap-pinctrl.txt

[PATCH 03/10] ARM: OMAP5 / DRA7: PM / wakeupgen: Enables ES2 PM mode by default

2014-08-22 Thread Nishanth Menon
, CPU cores are allowed to enter/exit OFF mode independently. This is one time settings thanks to always ON domain. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com [n...@ti.com: minor conflict resolutions, consolidation for DRA7] Signed-off-by: Nishanth Menon n...@ti.com --- arch

[PATCH 09/10] ARM: OMAP5: Add hook in SoC initcalls to enable pm initialization

2014-08-22 Thread Nishanth Menon
From: Santosh Shilimkar santosh.shilim...@ti.com With consolidated code, now we can add the required hooks for OMAP5 to enable power management. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com [n...@ti.com: minor rebase updates] Signed-off-by: Nishanth Menon n...@ti.com --- /home

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

2014-08-22 Thread Nishanth Menon
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...@ti.com [n...@ti.com: update to do save_state only on DRA7] Signed-off-by: Nishanth

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

2014-08-22 Thread Nishanth Menon
...@ti.com: updates based on profiling, OMAP5 squashed] Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/cpuidle44xx.c | 82 - arch/arm/mach-omap2/pm44xx.c |2 +- 2 files changed, 82 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 06/10] ARM: OMAP5 / DRA7: PM: Provide a dummy startup function for CPU hotplug

2014-08-22 Thread Nishanth Menon
this out of original code and isolate it] Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap-mpuss-lowpower.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss

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

2014-08-22 Thread Nishanth Menon
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. This will at least allow wake up from an internal source such as from a wakeup timer: For example with

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

2014-08-22 Thread Nishanth Menon
Mark rxd as wakeupcapable for 115200n8 no hardware-flow control configuration. If h/w flow control is being used, then rts/cts appropriately should be used. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/dra7-evm.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch

[PATCH 01/10] ARM: OMAP5 / DRA7: PM: Update CPU context register offset

2014-08-22 Thread Nishanth Menon
] Signed-off-by: Rajendra Nayak rna...@ti.com [n...@ti.com: rebase, split/merge etc..] Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap-mpuss-lowpower.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c

[PATCH 0/6] ARM: dts: OMAP5+: Fixes for pinctrl support

2014-08-22 Thread Nishanth Menon
-2.6-playground/commits/push/v3.17/dts-fixes git repo: https://github.com/nmenon/linux-2.6-playground.git push/v3.17/dts-fixes 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 Nishanth Menon

[PATCH 04/10] ARM: OMAP5 / DRA7: PM: Enable Mercury retention mode on CPUx powerdomains

2014-08-22 Thread Nishanth Menon
and is controlled by the PRCM_MPU. Only Fast-mode is supported on the OMAP5 and DRA7 family of processors. Signed-off-by: Santosh Shilimkar santosh.shilim...@ti.com [n...@ti.com: minor consolidation] Signed-off-by: Nishanth Menon n...@ti.com --- This has a minor checkpatch warning for aligning

[PATCH 10/10] ARM: DRA7: Add hook in SoC initcalls to enable pm initialization

2014-08-22 Thread Nishanth Menon
From: Rajendra Nayak rna...@ti.com With consolidated code, now we can add the required hooks for DRA7 to enable power management. Signed-off-by: Rajendra Nayak rna...@ti.com [n...@ti.com: minor modifications] Signed-off-by: Nishanth Menon n...@ti.com --- Note: Minor checkpatch warning exists

[PATCH 02/10] ARM: OMAP5 / DRA7: PM: Set MPUSS-EMIF clock-domain static dependency

2014-08-22 Thread Nishanth Menon
resolution, dra7] Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/pm44xx.c | 36 +--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c index 0dda6cf..b6f243d 100644 --- a/arch

[PATCH 05/10] ARM: OMAP5 / DRA7: PM: Avoid all SAR saves

2014-08-22 Thread Nishanth Menon
-by: Nishanth Menon n...@ti.com --- arch/arm/mach-omap2/omap-mpuss-lowpower.c | 55 ++--- 1 file changed, 34 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-omap2/omap-mpuss-lowpower.c b/arch/arm/mach-omap2/omap-mpuss-lowpower.c index fad6e8c..53d8de5 100644

[PATCH 4/6] ARM: dts: AM437x: switch to compatible pinctrl

2014-08-22 Thread Nishanth Menon
Now that ti,am437-padconf is available, switch over to that compatible property. Retain pinctrl-single for legacy support. While at it, mark the pinctrl as interrupt controller so that it can be used with interrupts-extended property for wakeup events. Signed-off-by: Nishanth Menon n...@ti.com

[PATCH 3/6] ARM: dts: DRA7: switch to compatible pinctrl

2014-08-22 Thread Nishanth Menon
Now that ti,dra7-padconf is available, switch over to that compatible property. Retain pinctrl-single for legacy support. While at it, mark pinctrl as interrupt controller so that it can be used with interrupts-extended property for wakeup events. Signed-off-by: Nishanth Menon n...@ti.com

[PATCH 3/3] pinctrl: single: AM437x: Add pinctrl compatibility

2014-08-22 Thread Nishanth Menon
: minor updates] Signed-off-by: Nishanth Menon n...@ti.com --- .../bindings/pinctrl/ti,omap-pinctrl.txt |1 + drivers/pinctrl/pinctrl-single.c |7 +++ 2 files changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/ti,omap-pinctrl.txt b

[PATCH 5/6] ARM: dts: OMAP5/DRA7: switch over to interrupts-extended property for UART

2014-08-22 Thread Nishanth Menon
to that we also needed commit 79d9701559a9 (of/irq: create interrupts-extended property) that's now also merged. Note that there's no longer need to specify the wake-up bit in the pinctrl settings, the request_irq on the wake-up pin takes care of that. Signed-off-by: Nishanth Menon n...@ti.com --- arch

[PATCH 1/6] ARM: dts: OMAP3+: Add PRM interrupt

2014-08-22 Thread Nishanth Menon
Provide OMAP3, 4 and OMAP5 with interrupt number for PRM And for DRA7, provide crossbar number for prm interrupt. Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/dra7.dtsi |1 + arch/arm/boot/dts/omap3.dtsi |1 + arch/arm/boot/dts/omap4.dtsi |1 + arch/arm/boot/dts

[PATCH 0/3] pinctrl: Add DRA7/AM437x pinctrl compatibility

2014-08-22 Thread Nishanth Menon
/linux-2.6-playground.git push/v3.17/pinctrl-compat 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 Keerthy (1): pinctrl: single: AM437x: Add pinctrl compatibility Nishanth Menon (2

[PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding

2014-08-22 Thread Nishanth Menon
Add basic skeleton of OMAP pinctrl bindings. This is compatible with pinctrl,single bindings and is meant purely as a reference point. Signed-off-by: Nishanth Menon n...@ti.com --- .../bindings/pinctrl/ti,omap-pinctrl.txt |9 + 1 file changed, 9 insertions(+) create mode

[PATCH 2/6] ARM: dts: OMAP5: switch to compatible pinctrl

2014-08-22 Thread Nishanth Menon
Now that ti,omap5-padconf is available, switch over to that compatible property. Retain pinctrl-single for legacy support. While at it, mark pinctrl as interrupt controller so that it can be used with interrupts-extended property for wakeup events. Signed-off-by: Nishanth Menon n...@ti.com

[PATCH] gpio: omap: Fix interrupt names

2014-08-21 Thread Nishanth Menon
is trivial to achieve. Signed-off-by: Nishanth Menon n...@ti.com --- based on v3.17-rc1 drivers/gpio/gpio-omap.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index 1749321..aee25fa 100644

Re: [PATCH 0/2] clk: ti: Fix up error checks in set_rate (and div 0 error)

2014-08-21 Thread Nishanth Menon
On Thu, Aug 21, 2014 at 8:44 AM, Tero Kristo t-kri...@ti.com wrote: On 08/18/2014 07:56 PM, Nishanth Menon wrote: Hi, The following patches are based on v3.17-rc1 Prior to this series: http://slexy.org/view/s20QH6PW4x (notice the /0 div error spam at initial boot log) After this series

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-08-21 Thread Nishanth Menon
/gmane.linux.ports.arm.kernel/349180 for details. Fixes: 71472c0c06cf (clk: add support for clock reparent on set_rate) ? Signed-off-by: Tero Kristo t-kri...@ti.com To: Mike Turquette mturque...@linaro.org Reported-by: Nishanth Menon n...@ti.com Tested-by: Nishanth Menon n...@ti.com --- drivers/clk/clk.c

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

2014-08-21 Thread Nishanth Menon
in operation to belong to a new driver of it's own. Based on original work done by Girish S Ghongdemath giris...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- Changes in v2: - review comments incorporated - debounce programming for TWL variants that actually support it. V1: https

[PATCH V2 0/2] Input: palmas: add support for palmas power button

2014-08-21 Thread Nishanth Menon
-pwrbutton.c Series is based on v3.17-rc1 V2 of the series incorporating comments from http://marc.info/?l=linux-inputm=140839287431882w=2 Nishanth Menon (2): doc: dt/bindings: input: introduce palmas power button description Input: misc: introduce palmas-pwrbutton .../bindings/input/ti,palmas

[PATCH V2 1/2] doc: dt/bindings: input: introduce palmas power button description

2014-08-21 Thread Nishanth Menon
Many palmas family of PMICs have support for interrupt based power button. This allows the device to notify the processor of external push button events over the shared palmas interrupt. Document the hardware support for the same. Signed-off-by: Nishanth Menon n...@ti.com --- Changes in v2

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

2014-08-21 Thread Nishanth Menon
. Finally, to pass the wake-up interrupt in the dts file, interrupts-extended property needs to be passed. 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/rtc/rtc-ds1307.c | 57

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

2014-08-21 Thread Nishanth Menon
version. --- 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 V2 2/2] Input: misc: introduce palmas-pwrbutton

2014-08-21 Thread Nishanth Menon
-pwron_debounce_val = i; +break; +} +} + +dev_info(dev, h/w controlled shutdown duration=%d seconds\n, + lpk_times[config-long_press_time_val]); + +of_node_put(np); +} + [...] -- Regards, Nishanth Menon -- To unsubscribe from this list

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

2014-08-21 Thread Nishanth Menon
parameter and may not exist in dt. when it does exist, the logic tries to do a best match (this is the for loop in the logic just below). -- 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

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

2014-08-21 Thread Nishanth Menon
]) { config-pwron_debounce_val = i; break; } } skip_debounce: dev_info(dev, h/w controlled shutdown duration=%d seconds\n, lpk_times[config-long_press_time_val]); of_node_put(np); } -- Regards, Nishanth Menon

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

2014-08-21 Thread Nishanth Menon
in operation to belong to a new driver of it's own. Based on original work done by Girish S Ghongdemath giris...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- I am not re-posting patch #1/2 as it is already available in https://patchwork.kernel.org/patch/4758681/ without any comments. Do let

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

2014-08-21 Thread Nishanth Menon
get_put in to ensure reference count is appropriately maintained. So, I have'nt changed that in v3. -- 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: [PATCH 2/2] Input: misc: introduce palmas-pwrbutton

2014-08-19 Thread Nishanth Menon
.. Lindent.. :( --- 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/2] doc: dt/bindings: input: introduce palmas power button description

2014-08-19 Thread Nishanth Menon
On 08/19/2014 12:28 AM, Dmitry Torokhov wrote: On Mon, Aug 18, 2014 at 03:13:29PM -0500, Nishanth Menon wrote: Many palmas family of PMICs have support for interrupt based power button. This allows the device to notify the processor of external push button events over the shared palmas

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

2014-08-19 Thread Nishanth Menon
information. Tested with perf utility. Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by: Lucas Weaver l-wea...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- arch/arm/boot/dts/dra72x.dtsi |5 + arch/arm/boot/dts/dra74x.dtsi |6 ++ 2 files changed, 11 insertions(+) diff

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

2014-08-19 Thread Nishanth Menon
in the dts file, interrupts-extended property needs to be passed. This is similar in approach to commit 2a0b965cfb6e (serial: omap: Add support for optional wake-up) Signed-off-by: Nishanth Menon n...@ti.com --- Documentation/devicetree/bindings/mfd/palmas.txt | 20 drivers/mfd/palmas.c

[PATCH 2/2] clk: ti: dra7-atl: Provide error check for incoming parameters in set_rate

2014-08-18 Thread Nishanth Menon
-by: Nishanth Menon n...@ti.com --- drivers/clk/ti/clk-dra7-atl.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c index 4a65b41..af29359 100644 --- a/drivers/clk/ti/clk-dra7-atl.c +++ b/drivers/clk/ti/clk-dra7-atl.c

[PATCH 1/2] clk: ti: divider: Provide error check for incoming parameters in set_rate

2014-08-18 Thread Nishanth Menon
-clock) Signed-off-by: Nishanth Menon n...@ti.com --- drivers/clk/ti/divider.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti/divider.c index e6aa10d..a837f70 100644 --- a/drivers/clk/ti/divider.c +++ b/drivers/clk/ti/divider.c

[PATCH 0/2] clk: ti: Fix up error checks in set_rate (and div 0 error)

2014-08-18 Thread Nishanth Menon
Hi, The following patches are based on v3.17-rc1 Prior to this series: http://slexy.org/view/s20QH6PW4x (notice the /0 div error spam at initial boot log) After this series: http://slexy.org/view/s20tPNXPf4 Nishanth Menon (2): clk: ti: divider: Provide error check for incoming parameters

Re: [PATCH] ARM: dts: DRA7: fix interrupt-cells for GPIO

2014-08-18 Thread Nishanth Menon
On 07/30/2014 02:20 PM, Nishanth Menon wrote: GPIO modules are also interrupt sources. However, they require both the GPIO number and IRQ type to function properly. By declaring that GPIO uses interrupt-cells=1, we essentially do not allow users of the nodes to use the interrupt property

[PATCH] ARM: OMAP2+: board-generic: add support for AM57xx family

2014-08-18 Thread Nishanth Menon
AM57xx processor family are variants of DRA7 family of processors and targetted at industrial and non-automotive applications. Signed-off-by: Nishanth Menon n...@ti.com --- NOTE: there is no discrenable features yet defined in register set at this point in time. Tested on AM5728 compatible

[PATCH 0/2] Input: palmas: add support for palmas power button

2014-08-18 Thread Nishanth Menon
-pwrbutton.c Series is based on v3.17-rc1 Nishanth Menon (2): doc: dt/bindings: input: introduce palmas power button description Input: misc: introduce palmas-pwrbutton .../bindings/input/ti,palmas-pwrbutton.txt | 32 ++ drivers/input/misc/Kconfig | 10 + drivers

[PATCH 1/2] doc: dt/bindings: input: introduce palmas power button description

2014-08-18 Thread Nishanth Menon
Many palmas family of PMICs have support for interrupt based power button. This allows the device to notify the processor of external push button events over the shared palmas interrupt. Document the hardware support for the same. Signed-off-by: Nishanth Menon n...@ti.com --- .../bindings/input

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

2014-08-18 Thread Nishanth Menon
in operation to belong to a new driver of it's own. Based on original work done by Girish S Ghongdemath giris...@ti.com Signed-off-by: Nishanth Menon n...@ti.com --- drivers/input/misc/Kconfig| 10 ++ drivers/input/misc/Makefile |1 + drivers/input/misc/palmas-pwrbutton.c

Re: [PATCH 29/35] arm: omap: intc: switch over to linear irq domain

2014-07-30 Thread Nishanth Menon
be done for OMAP3 and AM33, then we would have a chance of having working wake from idle with the new irqchip. I can repost the current series as it stands now once 17-rc1 comes out (without the build failure ofcourse).. if that helps to move it out of RFC status. -- --- Regards, Nishanth Menon

[PATCH] ARM: dts: DRA7: fix interrupt-cells for GPIO

2014-07-30 Thread Nishanth Menon
works: interrupt-parent = gpio6; interrupts = 5 IRQ_TYPE_LEVEL_LOW; Fixes: 6e58b8f1daaf ('ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board') Signed-off-by: Nishanth Menon n...@ti.com --- Based on v3.16-rc7 arch/arm/boot/dts/dra7.dtsi | 16 1 file changed, 8

Re: [PATCH 2/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-25 Thread Nishanth Menon
still want me to go ahead and make this change? Sure. Ok with me at least. -- --- 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

[PATCH] pinctrl: dra: dt-bindings: Fix pull enable/disable

2014-07-22 Thread Nishanth Menon
: 6e58b8f1daaf1a (ARM: dts: DRA7: Add the dts files for dra7 SoC and dra7-evm board) Signed-off-by: Nishanth Menon n...@ti.com --- Patch based on v3.16-rc5 tag 1: dra72x-evm: Boot ok: http://slexy.org/raw/s20I6QXQa (needs MMC filesystem that current dts does not have. - Fails in plain

Re: [PATCH] pinctrl: dra: dt-bindings: Fix pull enable/disable

2014-07-22 Thread Nishanth Menon
1: dra72x-evm: Boot ok: http://slexy.org/raw/s20I6QXQa (needs MMC filesystem that current dts does not have. Oops - missed a character in the link: http://slexy.org/view/s20I6QXQal Sorry about the spam. -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 0/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 Thread Nishanth Menon
/arm/mach-omap2/omap_hwmod.c |3 +++ arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 22 -- arch/arm/mach-omap2/soc.h |7 +++ 3 files changed, 30 insertions(+), 2 deletions(-) Tested-by: Nishanth Menon n...@ti.com BUT, I suggest a follow

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

2014-07-22 Thread Nishanth Menon
/* Various silicon revisions for omap2 */ Acked-by: Nishanth Menon n...@ti.com -- 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

Re: [PATCH 2/2] ARM: DRA7: hwmod: Add dra74x and dra72x specific ocp interface lists

2014-07-22 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: [PATCH] pinctrl: dra: dt-bindings: Fix pull enable/disable

2014-07-22 Thread Nishanth Menon
On 07/22/2014 11:47 AM, Felipe Balbi wrote: On Tue, Jul 22, 2014 at 10:39:54AM -0500, Nishanth Menon wrote: The DRA74/72 control module pins have a weak pull up and pull down. This is configured by bit offset 17. if BIT(17) is 1, a pull up is selected, else a pull down is selected. However

Re: [RFC PATCH 3/7] ARM: OMAP4+: PRM: remove wkup event

2014-07-21 Thread Nishanth Menon
at bit 0. -- --- 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: [RFC PATCH 4/7] ARM: OMAP4+: PRM: register interrupt information from DT

2014-07-21 Thread Nishanth Menon
of hardcoded logic that the current mach-omap2 driver does. That would allow further work later on to remove the auxdata dependencies possibly. -- --- 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

Re: [RFC PATCH 4/7] ARM: OMAP4+: PRM: register interrupt information from DT

2014-07-21 Thread Nishanth Menon
On Mon, Jul 21, 2014 at 6:28 AM, Tony Lindgren t...@atomide.com wrote: * Nishanth Menon n...@ti.com [140721 04:24]: On Mon, Jul 21, 2014 at 5:51 AM, Tony Lindgren t...@atomide.com wrote: +static struct of_device_id omap_prm_dt_match_table[] = { + { .compatible = ti,omap4-prm

Re: [PATCH 07/14] cpufreq: cpu0: OPPs can be populated at runtime

2014-07-10 Thread Nishanth Menon
series[1] - where platform code will populate or add OPPs based on speed grade sample detection. [1]http://comments.gmane.org/gmane.linux.ports.arm.kernel/309466 --- 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] ARM: dts: OMAP5: Add device nodes for ABB

2014-07-07 Thread Nishanth Menon
On Mon, Jul 7, 2014 at 6:32 AM, Tony Lindgren t...@atomide.com wrote: * Nishanth Menon n...@ti.com [140605 18:12]: From: Andrii.Tseglytskyi andrii.tseglyts...@ti.com Add ABB device nodes for OMAP5 family of devices. Data is based on final production OMAP543x Technical Reference Manual

[next-20140702]Build regression omap2plus_defconfig, multi_v7_defconfig builds fine

2014-07-02 Thread Nishanth Menon
[-Wuninitialized] fs/direct-io.c:913:10: note: ‘from’ was declared here multi_v7_defconfig seems to build fine. -- 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 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Nishanth Menon
; + regulator-always-on; regulator-boot-on; }; -- 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

[PATCH V2 6/6] regulator: palmas: Fix SMPS enable/disable/is_enable for tps65917

2014-06-30 Thread Nishanth Menon
/is_enabled), populate the same for TPS65917 SMPS registration. LDO definitions are already in place. Fixes: d6f83370ed97 (regulator: palmas: Add tps65917 PMIC support) Signed-off-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas-regulator.c |5 + 1 file changed, 5 insertions(+) diff

[PATCH V2 1/6] regulator: palmas: Squelch sparse warnings

2014-06-30 Thread Nishanth Menon
it be static? drivers/regulator/palmas-regulator.c:1427:32: warning: symbol 'tps65917_ddata' was not declared. Should it be static? Signed-off-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas-regulator.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH V2 5/6] regulator: palmas: Simplify code by not indexing regulator_desc unnecessarily

2014-06-30 Thread Nishanth Menon
Palmas regulator needs to full up the regulator_desc based on PMIC and type of regulator. However, we dont need to do desc[id] every time. we can simplify by using a pointer to desc[id] and filling up the parameters. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas

[PATCH V2 3/6] regulator: palmas: Simplify code by using pointer to palmas_reg_info

2014-06-30 Thread Nishanth Menon
. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas-regulator.c | 109 +- 1 file changed, 56 insertions(+), 53 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 05f11b9..f75fb90 100644

[PATCH V2 2/6] regulator: palmas: Rename reg_info to palmas_reg_info

2014-06-30 Thread Nishanth Menon
reg_info is a generic term which might cause conflict at a later point in time. To prevent such a thing from occuring in future, rename to palmas_reg_info. Signed-off-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas-regulator.c |4 ++-- include/linux/mfd/palmas.h |4

[PATCH V2 4/6] regulator: palmas: Rename palmas_regs_info to palmas_generic_regs_info

2014-06-30 Thread Nishanth Menon
-by: Nishanth Menon n...@ti.com --- drivers/regulator/palmas-regulator.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index f75fb90..d6b734f 100644 --- a/drivers/regulator/palmas-regulator.c +++ b

[PATCH V2 0/6] regulator: palmas: cleanup and fixes

2014-06-30 Thread Nishanth Menon
/broonie-topic-palmas-fixes Nishanth Menon (6): regulator: palmas: Squelch sparse warnings regulator: palmas: Rename reg_info to palmas_reg_info regulator: palmas: Simplify code by using pointer to palmas_reg_info regulator: palmas: Rename palmas_regs_info

Re: [PATCH 1/1] drivers/power/avs/smartreflex.c: remove unnecessary null test before debugfs_remove_recursive

2014-06-28 Thread Nishanth Menon
) - debugfs_remove_recursive(sr_info-dbg_dir); + debugfs_remove_recursive(sr_info-dbg_dir); pm_runtime_disable(pdev-dev); list_del(sr_info-node); Acked-by: Nishanth Menon n...@ti.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-27 Thread Nishanth Menon
On 14:48-20140627, Keerthy wrote: Hello Nishanth, On Friday 27 June 2014 12:01 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend on valid enable_reg, enable_mask and enable_value in regulator

[PATCH] regulator: tps65917: Fix SMPS enable/disable/is_enable

2014-06-26 Thread Nishanth Menon
/is_enabled), populate the same for TPS65917 SMPS registration. LDO definitions are already in place. Fixes: d6f83370ed97 (regulator: palmas: Add tps65917 PMIC support) Signed-off-by: Nishanth Menon n...@ti.com --- Applies on: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git

Re: [PATCH] ARM: DRA7-evm: Enable SATA PHY and USB PHY power supplies

2014-06-25 Thread Nishanth Menon
-on; }; }; }; Why not fix phy driver/framework as needed? the trouble is people always forget to remove always-on... who actually audits old logs and fixes stuff back up? -- Regards, Nishanth Menon -- To unsubscribe from this list: send

Re: [PATCH] regulator: palmas: Fix SMPS enable/disable/is_enabled

2014-06-23 Thread Nishanth Menon
On Mon, Jun 23, 2014 at 2:50 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/20/2014 11:26 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable and check if regulator is enabled for various SMPS. However, these depend on valid enable_reg, enable_mask and enable_value

Re: [PATCH] regulator: palmas: Fix SMPS enable/disable/is_enabled

2014-06-23 Thread Nishanth Menon
On Mon, Jun 23, 2014 at 3:20 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/23/2014 02:11 PM, Nishanth Menon wrote: On Mon, Jun 23, 2014 at 2:50 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/20/2014 11:26 AM, Nishanth Menon wrote: We use regmap regulator ops to enable/disable

Re: [PATCH] regulator: palmas: fix typo in enable_reg calculation

2014-06-23 Thread Nishanth Menon
on the NVIDIA Dalmore board anyway. Cc: Alex Courbot gnu...@gmail.com Cc: Keerthy j-keer...@ti.com Cc: Nishanth Menon n...@ti.com Cc: linux-omap@vger.kernel.org Cc: linux-te...@vger.kernel.org Fixes: 318dbb02b50c (regulator: palmas: Fix SMPS enable/disable/is_enabled) Fixes: dbabd624d4eec50b6 (regulator

Palmas regulator broken (was Re: [PATCH] ARM: tegra: TN7: relax some regulators)

2014-06-20 Thread Nishanth Menon
].enable_val = SMPS_CTRL_MODE_ON; } pmic-desc[id].type = REGULATOR_VOLTAGE; -- 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: Palmas regulator broken (was Re: [PATCH] ARM: tegra: TN7: relax some regulators)

2014-06-20 Thread Nishanth Menon
On 08:23-20140620, Nishanth Menon wrote: + l-o, http://marc.info/?t=14031642754r=1w=2 full thread Minor change in subject to indicate palmas regulator fail On 18:49-20140620, Alexandre Courbot wrote: On 06/20/2014 06:41 PM, Mark Brown wrote: * PGP Signed by an unknown key

[PATCH] regulator: palmas: Fix SMPS enable/disable/is_enabled

2014-06-20 Thread Nishanth Menon
functions) Reported-by: Alexandre Courbot acour...@nvidia.com Signed-off-by: Nishanth Menon n...@ti.com --- NOTE: there is a minor checkpatch check warning- but trying to fix it makes the code inconsistent with remaining code flow, so, I have chosen to ignore it. CHECK: Alignment should match open

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