mbox series

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

Message ID 20240115111844.22240-1-yu-chang.lee@mediatek.com (mailing list archive)
Headers show
Series Need help to validate power domain driver modification on mt8365 | expand

Message

Yu-chang Lee (李禹璋) Jan. 15, 2024, 11:18 a.m. UTC
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(-)