mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
RK3326: route the Soysauce PMIC interrupt to GPIO0_A7
Live debugging showed the whole rk817 interrupt line dead on the Soysauce (zero counts in /proc/interrupts for pwrkey, jack and charger events across button presses). The vendor DTB wires pmic_int to GPIO0_A7 while the shared r3xs.dtsi listens on GPIO0_B2, so every PMIC interrupt was lost: power key, headphone detect, charger plug and the suspend wake source. Override the interrupt and the pinctrl in the soysauce DTS only; the other family members really use GPIO0_B2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -275,3 +275,16 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* The Soysauce routes the PMIC interrupt to GPIO0_A7, not the GPIO0_B2
|
||||
* the rest of the family uses (vendor DTB pmic_int pinctrl says pin 7).
|
||||
* With the wrong pin every rk817 interrupt is lost: power key, jack
|
||||
* detect, charger plug events and the suspend wake path (verified live:
|
||||
* /proc/interrupts stayed at zero across button presses). */
|
||||
&rk817 {
|
||||
interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>;
|
||||
};
|
||||
|
||||
&pmic_int {
|
||||
rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user