]> 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)
commit71c5e550632cb3982c38c7b6cf016d829fd67a4f
tree1076dcf3780449a3be564889a871c9b04b6f7701
parent90a6e3297abae706b921e6b7252c21ee27f42964
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