]> git.baikalelectronics.ru Git - kernel.git/commit
soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs
authorArgus Lin <argus.lin@mediatek.com>
Mon, 11 Jun 2018 10:49:59 +0000 (18:49 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 16 Jul 2018 13:50:17 +0000 (15:50 +0200)
commit16ae289ec54f575b8f96be8df81bb328b08d6b52
tree1076dcf3780449a3be564889a871c9b04b6f7701
parent660b37c25685156af74954cdf8dc5b5dcc287982
soc: mediatek: pwrap: add pwrap driver for mt6797 SoCs

mt6797 is a highly integrated SoCs, it uses mt6351 for power management.
This patch adds pwrap driver to access mt6351. Pwrap of mt6797 support
dynamic priority meichanism, sequence monitor and starvation mechanism
to make transaction more reliable.

A big change from V4 to V5 is we remove INT1 interrupt declaration since
it is only for debug purpose. The PWRAP_RDDMY, RESET and DCM can use legacy
setting, it is backwards compatible. The new caps flag declaration is not
needed, just remove it.

Signed-off-by: Argus Lin <argus.lin@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c