Hi @jglandorftecat, I got this to work:
debian@beaglebone:/opt/source/dtb-4.19-ti$ git diff
diff --git a/src/arm/am335x-bone-common.dtsi b/src/arm/am335x-bone-common.dtsi
index 8952fe1..28ff7bf 100644
--- a/src/arm/am335x-bone-common.dtsi
+++ b/src/arm/am335x-bone-common.dtsi
@@ -362,7 +362,7 @@
};
pwrbutton {
- status = "okay";
+ status = "disabled";
};
regulators {
diff --git a/src/arm/tps65217.dtsi b/src/arm/tps65217.dtsi
index 399baaa..552d6b7 100644
--- a/src/arm/tps65217.dtsi
+++ b/src/arm/tps65217.dtsi
@@ -24,7 +24,7 @@
};
pwrbutton {
- compatible = "ti,tps65217-pwrbutton";
+ compatible = "ti,tps65217-pwrbutton-disabled";
interrupts = <2>;
status = "disabled";
};
Turns out the “status” of variable isn’t even read in the tps pwr button driver… So just play with the compatible string to disable it…
debian@beaglebone:/opt/source/dtb-4.19-ti$ cat /proc/interrupts | grep 65217
145: 2 INTC 7 Level tps65217-irq
147: 2 tps65217 0 Edge vbus
debian@beaglebone:/opt/source/dtb-4.19-ti$ dmesg | grep input
[ 1.207975] eqep 48300180.eqep: swap_inputs:0
[ 1.208446] eqep 48302180.eqep: swap_inputs:0
[ 1.208847] eqep 48304180.eqep: swap_inputs:0
Regards,