soc: mediatek: pwrap: add arbiter capability
authorHsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Fri, 12 Mar 2021 15:34:43 +0000 (23:34 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 30 Mar 2021 10:24:09 +0000 (12:24 +0200)
commit9d498d0b4043e08273ff6eb6bd2d2e50fec26134
tree83e9aced3ccea9a1bc678c9735e9e4b164d9065d
parentd337ed031dfb8bc7d483b25c9052dca98fc9931d
soc: mediatek: pwrap: add arbiter capability

Add arbiter capability for pwrap driver.
The arbiter capability uses new design to judge the priority and latency
for multi-channel.
The design with arbiter support cannot change the watchdog timer.
This patch is preparing for adding mt6873/8192 pwrap support.

Signed-off-by: Hsin-Hsiung Wang <hsin-hsiung.wang@mediatek.com>
Link: https://lore.kernel.org/r/1615563286-22126-3-git-send-email-hsin-hsiung.wang@mediatek.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-pmic-wrap.c