soc: mediatek: mutex: Add support for MT6795 Helio X10 display mutex
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 13 Sep 2022 14:01:21 +0000 (16:01 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 15 Sep 2022 16:15:22 +0000 (18:15 +0200)
commit1b8501505f57757c393aa20da36fe2d8c29694d0
tree6a2af17059967b3781f81baebb5b301709eebdd0
parentf3894f969cf5dda43ba8c5fb329872860920c6d1
soc: mediatek: mutex: Add support for MT6795 Helio X10 display mutex

MT6795 has the same mutex mod/sof register layout as MT2712 and MT8173,
but supports only four SOF, as it has two DSI and one DPI.
Support is added by reusing most of the MT8173 data, with the addition
of a mt6795-specific SOF array (and devicetree compatible, of course).

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220913140121.403637-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-mutex.c