[PATCH v2 6/7] arm64: tegra: Enable VIC on T210
Mikko Perttunen
mperttunen at nvidia.com
Wed Dec 14 11:16:16 UTC 2016
Enable the VIC (Video Image Compositor) host1x
unit on Tegra210 systems.
Signed-off-by: Mikko Perttunen <mperttunen at nvidia.com>
---
arch/arm64/boot/dts/nvidia/tegra210.dtsi | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
index 46045fe..e12390f 100644
--- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi
@@ -122,7 +122,14 @@
vic at 54340000 {
compatible = "nvidia,tegra210-vic";
reg = <0x0 0x54340000 0x0 0x00040000>;
- status = "disabled";
+ interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&tegra_car TEGRA210_CLK_VIC03>;
+ clock-names = "vic";
+ resets = <&tegra_car 178>;
+ reset-names = "vic";
+
+ iommus = <&mc TEGRA_SWGROUP_VIC>;
+ power-domains = <&pd_vic>;
};
nvjpg at 54380000 {
@@ -692,6 +699,14 @@
resets = <&tegra_car TEGRA210_CLK_XUSB_HOST>;
#power-domain-cells = <0>;
};
+
+ pd_vic: vic {
+ clocks = <&tegra_car TEGRA210_CLK_VIC03>;
+ clock-names = "vic";
+ resets = <&tegra_car TEGRA210_CLK_VIC03>;
+ reset-names = "vic";
+ #power-domain-cells = <0>;
+ };
};
};
--
2.10.2
More information about the dri-devel
mailing list