OSDN Git Service

soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs
authorArgus Lin <argus.lin@mediatek.com>
Tue, 4 Sep 2018 12:31:53 +0000 (20:31 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 25 Sep 2018 15:28:37 +0000 (17:28 +0200)
commit12b079b0fe8b87229939f64f66f1c9545a91535f
tree354e4f80f3050a8a6c20b0d367fbc80aecf51ccc
parent0db3bd82546039f4bf434d378bafe4416b82b757
soc: mediatek: pwrap: add pwrap driver for mt6765 SoCs

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

Signed-off-by: Argus Lin <argus.lin@mediatek.com>
[mb: change has_bridge to capabilities]
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c