Skip to content

Commit 2c16be6

Browse files
digetxthierryreding
authored andcommitted
ARM: tegra: Add Memory Client resets to Tegra30 GR2D, GR3D and Host1x
Memory access must be blocked before hardware reset is asserted and before power is gated, otherwise a serious hardware fault is inevitable. Add reset for memory clients to the GR2D, GR3D and Host1x nodes. Tested-by: Peter Geis <[email protected]> # Ouya T30 Tested-by: Matt Merhar <[email protected]> # Ouya T30 Signed-off-by: Dmitry Osipenko <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 1caf3ef commit 2c16be6

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

arch/arm/boot/dts/tegra30.dtsi

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@
123123
interrupt-names = "syncpt", "host1x";
124124
clocks = <&tegra_car TEGRA30_CLK_HOST1X>;
125125
clock-names = "host1x";
126-
resets = <&tegra_car 28>;
127-
reset-names = "host1x";
126+
resets = <&tegra_car 28>, <&mc TEGRA30_MC_RESET_HC>;
127+
reset-names = "host1x", "mc";
128128
iommus = <&mc TEGRA_SWGROUP_HC>;
129129
power-domains = <&pd_heg>;
130130
operating-points-v2 = <&host1x_dvfs_opp_table>;
@@ -190,8 +190,8 @@
190190
reg = <0x54140000 0x00040000>;
191191
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
192192
clocks = <&tegra_car TEGRA30_CLK_GR2D>;
193-
resets = <&tegra_car 21>;
194-
reset-names = "2d";
193+
resets = <&tegra_car 21>, <&mc TEGRA30_MC_RESET_2D>;
194+
reset-names = "2d", "mc";
195195
power-domains = <&pd_heg>;
196196
operating-points-v2 = <&gr2d_dvfs_opp_table>;
197197

@@ -205,8 +205,10 @@
205205
<&tegra_car TEGRA30_CLK_GR3D2>;
206206
clock-names = "3d", "3d2";
207207
resets = <&tegra_car 24>,
208-
<&tegra_car 98>;
209-
reset-names = "3d", "3d2";
208+
<&tegra_car 98>,
209+
<&mc TEGRA30_MC_RESET_3D>,
210+
<&mc TEGRA30_MC_RESET_3D2>;
211+
reset-names = "3d", "3d2", "mc", "mc2";
210212
power-domains = <&pd_3d0>, <&pd_3d1>;
211213
power-domain-names = "3d0", "3d1";
212214
operating-points-v2 = <&gr3d_dvfs_opp_table>;

0 commit comments

Comments
 (0)