arm64: dts: mediatek: mt6795: Add VDECSYS and VENCSYS clocks
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 27 Mar 2023 08:36:40 +0000 (10:36 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Tue, 11 Apr 2023 16:36:46 +0000 (18:36 +0200)
In prepration for adding the IOMMUs and LARBs of this SoC, add the
VDECSYS and VENCSYS clock controller nodes, providing clocks for the
vcodec stateful decoder and stateful decoder hardware.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230327083647.22017-11-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795.dtsi

index d63efb3..090400d 100644 (file)
                        clock-names = "source", "hclk";
                        status = "disabled";
                };
+
+               vdecsys: clock-controller@16000000 {
+                       compatible = "mediatek,mt6795-vdecsys";
+                       reg = <0 0x16000000 0 0x1000>;
+                       #clock-cells = <1>;
+               };
+
+               vencsys: clock-controller@18000000 {
+                       compatible = "mediatek,mt6795-vencsys";
+                       reg = <0 0x18000000 0 0x1000>;
+                       #clock-cells = <1>;
+               };
        };
 };