ARM: tegra20/30: Disable unused host1x hardware
authorDmitry Osipenko <digetx@gmail.com>
Tue, 30 Nov 2021 23:23:47 +0000 (02:23 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 16 Dec 2021 16:18:36 +0000 (17:18 +0100)
MPE, VI, EPP and ISP were never used and we don't have drivers for them.
Since these modules are enabled by default in a device-tree, a device is
created for them, blocking voltage scaling because there is no driver to
bind, and thus, state of PMC driver is never synced. Disable them.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/tegra20.dtsi
arch/arm/boot/dts/tegra30.dtsi

index 4068952..c8f2061 100644 (file)
@@ -59,6 +59,7 @@
                        reset-names = "mpe";
                        power-domains = <&pd_mpe>;
                        operating-points-v2 = <&mpe_dvfs_opp_table>;
+                       status = "disabled";
                };
 
                vi@54080000 {
@@ -70,6 +71,7 @@
                        reset-names = "vi";
                        power-domains = <&pd_venc>;
                        operating-points-v2 = <&vi_dvfs_opp_table>;
+                       status = "disabled";
                };
 
                epp@540c0000 {
@@ -81,6 +83,7 @@
                        reset-names = "epp";
                        power-domains = <&pd_core>;
                        operating-points-v2 = <&epp_dvfs_opp_table>;
+                       status = "disabled";
                };
 
                isp@54100000 {
@@ -91,6 +94,7 @@
                        resets = <&tegra_car 23>;
                        reset-names = "isp";
                        power-domains = <&pd_venc>;
+                       status = "disabled";
                };
 
                gr2d@54140000 {
index b016088..dc1f863 100644 (file)
                        operating-points-v2 = <&mpe_dvfs_opp_table>;
 
                        iommus = <&mc TEGRA_SWGROUP_MPE>;
+
+                       status = "disabled";
                };
 
                vi@54080000 {
                        operating-points-v2 = <&vi_dvfs_opp_table>;
 
                        iommus = <&mc TEGRA_SWGROUP_VI>;
+
+                       status = "disabled";
                };
 
                epp@540c0000 {
                        operating-points-v2 = <&epp_dvfs_opp_table>;
 
                        iommus = <&mc TEGRA_SWGROUP_EPP>;
+
+                       status = "disabled";
                };
 
                isp@54100000 {
                        power-domains = <&pd_venc>;
 
                        iommus = <&mc TEGRA_SWGROUP_ISP>;
+
+                       status = "disabled";
                };
 
                gr2d@54140000 {