[PATCH 0/1] Need help to validate power domain driver modification on mt8365

From: yu-chang . lee
Date: Mon Jan 15 2024 - 06:34:11 EST


Hi Markus,

In reply to mail "Need help to validate power domain driver modification on
mt8365", the timing of "smi clamp protection" being called is completely
different from the one of "bus protection" that is why I think there should
be another member represent "smi clamp protection" since these are
different thing essentially. In this way we match smi to its protection
in an 1 to 1 manner which is more direct way to support multiple smi I
think.

By adding "scpsys_clamp_bus_protection_enable" at the end of bus protection
function we also can guarantee bus protection still remain the same as
before, while, at the same time, forcing bus protection sequence in the
future.

yu-chang.lee (1):
soc: mediatek: pm-domains: support clamp protection

drivers/pmdomain/mediatek/mt8183-pm-domains.h | 52 ++++---
drivers/pmdomain/mediatek/mt8188-pm-domains.h | 41 +++++-
drivers/pmdomain/mediatek/mt8365-pm-domains.h | 12 +-
drivers/pmdomain/mediatek/mtk-pm-domains.c | 132 +++++++++++++++---
drivers/pmdomain/mediatek/mtk-pm-domains.h | 2 +
5 files changed, 189 insertions(+), 50 deletions(-)

--
2.18.0