Skip to contentSkip to conversation

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

PATCH New Nishanth Menon 3 participants 3 messages Jul 20, 2015 – Jul 21, 2015 1 message not in the archive Device tree bindings

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): omap5uevm_palmas

#1 lore raw

PATCH 1/1 ARM: dts: omap5-uevm: Add Palmas power button support

Palmas on OMAP5uevm has support for power button, so enable it.

---

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(+)
arch/arm/boot/dts/omap5-uevm.dts +7 -0
index 275618f..3cc8f35 100644
@@ -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 at 4b {
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 1/1 ARM: dts: omap5-uevm: Add Palmas power button support

Quoted 20 lines · Aparna Balasubramanian

Palmas on OMAP5uevm has support for power button, so enable it.

---

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(+)
arch/arm/boot/dts/omap5-uevm.dts +0 -0
index 275618f..3cc8f35 100644
@@ -510,6 +510,13 @@
 				};
 			};
 		};

arch/arm/boot/dts/omap5-uevm.dts line 522

Quoted 10 lines
arch/arm/boot/dts/omap5-uevm.dts +7 -0
+
+		palmas_power_button: palmas_power_button {
+			compatible = "ti,palmas-pwrbutton";
+			interrupt-parent = <&palmas>;
+			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+			wakeup-source;
+		};
 	};
 
 	twl6040: twl at 4b {

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

Signature · 2 lines
Regards,
Nishanth Menon
#3 lore raw

PATCH 1/1 ARM: dts: omap5-uevm: Add Palmas power button support

Quoted 29 lines · Nishanth Menon
Quoted 28 lines · Aparna Balasubramanian

Palmas on OMAP5uevm has support for power button, so enable it.

---

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(+)
arch/arm/boot/dts/omap5-uevm.dts +7 -0
index 275618f..3cc8f35 100644
@@ -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;
+		};
 	};
 
Quoted 6 lines

arch/arm/boot/dts/omap5-uevm.dts line 522

Quoted 2 lines
arch/arm/boot/dts/omap5-uevm.dts +0 -0
 	twl6040: twl at 4b {

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

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

Tony