ARM: dts: omap5-uevm: Add Palmas power button support
diff mbox

Message ID 1437426451-27372-1-git-send-email-aparnab@ti.com
State New
Headers show

Commit Message

Aparna Balasubramanian July 20, 2015, 9:07 p.m. UTC
Palmas on OMAP5uevm has support for power button, so enable it.

Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
---

Based on kernel tag 4.2.0-rc1 and test result log is at
http://pastebin.ubuntu.com/11910178/

 arch/arm/boot/dts/omap5-uevm.dts |    7 +++++++
 1 file changed, 7 insertions(+)

Comments

Nishanth Menon July 20, 2015, 8:58 p.m. UTC | #1
On 07/20/2015 04:07 PM, Aparna Balasubramanian wrote:
> Palmas on OMAP5uevm has support for power button, so enable it.
> 
> Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
> ---
> 
> Based on kernel tag 4.2.0-rc1 and test result log is at
> http://pastebin.ubuntu.com/11910178/
> 
>  arch/arm/boot/dts/omap5-uevm.dts |    7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
> index 275618f..3cc8f35 100644
> --- a/arch/arm/boot/dts/omap5-uevm.dts
> +++ b/arch/arm/boot/dts/omap5-uevm.dts
> @@ -510,6 +510,13 @@
>  				};
>  			};
>  		};
> +
> +		palmas_power_button: palmas_power_button {
> +			compatible = "ti,palmas-pwrbutton";
> +			interrupt-parent = <&palmas>;
> +			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
> +			wakeup-source;
> +		};
>  	};
>  
>  	twl6040: twl@4b {
> 

Tested (with evtest) and verified on v4.2-rc3

Acked-by: Nishanth Menon <nm@ti.com>
Tony Lindgren July 21, 2015, 11:04 a.m. UTC | #2
* Nishanth Menon <nm@ti.com> [150720 14:00]:
> On 07/20/2015 04:07 PM, Aparna Balasubramanian wrote:
> > Palmas on OMAP5uevm has support for power button, so enable it.
> > 
> > Signed-off-by: Aparna Balasubramanian <aparnab@ti.com>
> > ---
> > 
> > Based on kernel tag 4.2.0-rc1 and test result log is at
> > http://pastebin.ubuntu.com/11910178/
> > 
> >  arch/arm/boot/dts/omap5-uevm.dts |    7 +++++++
> >  1 file changed, 7 insertions(+)
> > 
> > diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
> > index 275618f..3cc8f35 100644
> > --- a/arch/arm/boot/dts/omap5-uevm.dts
> > +++ b/arch/arm/boot/dts/omap5-uevm.dts
> > @@ -510,6 +510,13 @@
> >  				};
> >  			};
> >  		};
> > +
> > +		palmas_power_button: palmas_power_button {
> > +			compatible = "ti,palmas-pwrbutton";
> > +			interrupt-parent = <&palmas>;
> > +			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
> > +			wakeup-source;
> > +		};
> >  	};
> >  
> >  	twl6040: twl@4b {
> > 
> 
> Tested (with evtest) and verified on v4.2-rc3
> 
> Acked-by: Nishanth Menon <nm@ti.com>

Applying into omap-for-v4.3/dt thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 275618f..3cc8f35 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -510,6 +510,13 @@ 
 				};
 			};
 		};
+
+		palmas_power_button: palmas_power_button {
+			compatible = "ti,palmas-pwrbutton";
+			interrupt-parent = <&palmas>;
+			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+			wakeup-source;
+		};
 	};
 
 	twl6040: twl@4b {