Skip to content

ARM: dts: qcom: revert back pmic-arb to the LEVEL trigger setting#1521

Open
raryan-qcom wants to merge 1 commit into
qualcomm-linux:early/hwe/shikra/dtfrom
raryan-qcom:for-shikra-dt-level
Open

ARM: dts: qcom: revert back pmic-arb to the LEVEL trigger setting#1521
raryan-qcom wants to merge 1 commit into
qualcomm-linux:early/hwe/shikra/dtfrom
raryan-qcom:for-shikra-dt-level

Conversation

@raryan-qcom

Copy link
Copy Markdown

Traditionally on all targets PMIC-ARB top-level IRQ (coming out from GIC to CPU) was LEVEL triggered. However, for Shikra target this had to be changed to EDGE, as the GIC input IRQ from the PMIC-ARB HW block was changed to EDGE by HW team.

Without it, the input/output trigger type mismatch was leading to SPMI irqs not work.

However, when the VDDMIN(APPS suspend) path was enabled, the USB detection was failing after VDDMIN exit. This was happening because during the VDDMIN exit, the IRQs are relayed from the MPM (rather than GIC), and when the exit happens, there is a window, where the IRQs were missed due to the EDGE trigger logic, by the GIC, and it appears because of that all the subsequent IRQs are missed.

To fix this HW team has recommended to switch back to the LEVEL setting. So, add the needed DT change for it.

Note - A corresponding change will be added in the TZ code as well, to make the PMIC-ARB -> GIC HW block LEVEL trigger.

Change-Id: I907149dd3ce18ec4b10bf8874eaa18ae0faa87c5

Traditionally on all targets PMIC-ARB top-level IRQ (coming out
from GIC to CPU) was LEVEL triggered. However, for Shikra target
this had to be changed to EDGE, as the GIC input IRQ from the
PMIC-ARB HW block was changed to EDGE by HW team.

Without it, the input/output trigger type mismatch was leading
to SPMI irqs not work.

However, when the VDDMIN(APPS suspend) path was enabled, the USB
detection was failing after VDDMIN exit. This was happening because
during the VDDMIN exit, the IRQs are relayed from the MPM
(rather than GIC), and when the exit happens, there is a window,
where the IRQs were missed due to the EDGE trigger logic, by the GIC,
and it appears because of that all the subsequent IRQs are missed.

To fix this HW team has recommended to switch back to the LEVEL
setting. So, add the needed DT change for it.

Note - A corresponding change will be added in the TZ code as well,
to make the PMIC-ARB -> GIC HW block LEVEL trigger.

Change-Id: I907149dd3ce18ec4b10bf8874eaa18ae0faa87c5
Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com>
@raryan-qcom
raryan-qcom force-pushed the for-shikra-dt-level branch from d4a1963 to b4dcda2 Compare July 16, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants