Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0c4f3da0 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

soc: qcom: pmic_glink: add protection domain restart (PDR) support



Add support for PMIC Glink clients to receive notification when
the protection domain (e.g. charger PD) goes down and comes up
again. Similar to SSR (subsystem restart), PMIC Glink client can
pass a function pointer state_cb via which they would like to
receive when PMIC Glink state transitions so that they can
unregister from the framework (e.g. UCSI) and clean up their
state as needed.

PMIC Glink device supports PDR for the subsystem specified under
"qcom,protection-domain" property.

Change-Id: I178d3600cb9de0d2462df2cda76c80210963fbcf
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 794c02be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment