Need help to validate power domain driver modification on mt8365

Yu-chang Lee (李禹璋) Yu-chang.Lee at mediatek.com
Mon Dec 25 22:56:39 PST 2023


Hi Markus,

Attachment 0003 is the proposal I make for the clamp protection issue
we last discussed and others are some dependency patch. Since smi has
have two type of protection but in different stage. So I eventually
decide to separate it. May you help test these patch on mt8365, I test
it a bit on mt8188 and it work fine. Still any advice and modification
are welcome!

SMI protection type
1. clamp 
2. bus protection

For example: power on 
"clamp protection enable" (smi, with clamp flag)
  -> regulator enable 
    ...
      -> clamp protection disaled (smi, with clamp flag)
        -> bus protection disabled (smi -> infra)

For example: power off
"clamp protection enable" (smi, with clamp flag)
  -> bus protection enable (infra -> smi)

Best Regards,
Yu-chang.lee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-soc-mediatek-pm-domains-add-smi_larb_reset-function-.patch
Type: text/x-patch
Size: 6608 bytes
Desc: 0001-soc-mediatek-pm-domains-add-smi_larb_reset-function-.patch
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20231226/143cab04/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-soc-mediatek-pm-domains-Adding-back-buck-isolation-s.patch
Type: text/x-patch
Size: 1812 bytes
Desc: 0002-soc-mediatek-pm-domains-Adding-back-buck-isolation-s.patch
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20231226/143cab04/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-soc-mediatek-pm-domains-support-clamp-protection.patch
Type: text/x-patch
Size: 17954 bytes
Desc: 0003-soc-mediatek-pm-domains-support-clamp-protection.patch
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20231226/143cab04/attachment-0005.bin>


More information about the Linux-mediatek mailing list