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:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment