Commit 1caf3ef4 authored by Dmitry Osipenko's avatar Dmitry Osipenko Committed by Thierry Reding

ARM: tegra: Add Memory Client resets to Tegra20 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: Paul Fertser <fercerpav@gmail.com> # PAZ00 T20
Tested-by: Nicolas Chauvet <kwizart@gmail.com> # PAZ00 T20
Signed-off-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 73e2b72a
...@@ -40,8 +40,8 @@ host1x@50000000 { ...@@ -40,8 +40,8 @@ host1x@50000000 {
interrupt-names = "syncpt", "host1x"; interrupt-names = "syncpt", "host1x";
clocks = <&tegra_car TEGRA20_CLK_HOST1X>; clocks = <&tegra_car TEGRA20_CLK_HOST1X>;
clock-names = "host1x"; clock-names = "host1x";
resets = <&tegra_car 28>; resets = <&tegra_car 28>, <&mc TEGRA20_MC_RESET_HC>;
reset-names = "host1x"; reset-names = "host1x", "mc";
power-domains = <&pd_core>; power-domains = <&pd_core>;
operating-points-v2 = <&host1x_dvfs_opp_table>; operating-points-v2 = <&host1x_dvfs_opp_table>;
...@@ -98,8 +98,8 @@ gr2d@54140000 { ...@@ -98,8 +98,8 @@ gr2d@54140000 {
reg = <0x54140000 0x00040000>; reg = <0x54140000 0x00040000>;
interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&tegra_car TEGRA20_CLK_GR2D>; clocks = <&tegra_car TEGRA20_CLK_GR2D>;
resets = <&tegra_car 21>; resets = <&tegra_car 21>, <&mc TEGRA20_MC_RESET_2D>;
reset-names = "2d"; reset-names = "2d", "mc";
power-domains = <&pd_core>; power-domains = <&pd_core>;
operating-points-v2 = <&gr2d_dvfs_opp_table>; operating-points-v2 = <&gr2d_dvfs_opp_table>;
}; };
...@@ -108,8 +108,8 @@ gr3d@54180000 { ...@@ -108,8 +108,8 @@ gr3d@54180000 {
compatible = "nvidia,tegra20-gr3d"; compatible = "nvidia,tegra20-gr3d";
reg = <0x54180000 0x00040000>; reg = <0x54180000 0x00040000>;
clocks = <&tegra_car TEGRA20_CLK_GR3D>; clocks = <&tegra_car TEGRA20_CLK_GR3D>;
resets = <&tegra_car 24>; resets = <&tegra_car 24>, <&mc TEGRA20_MC_RESET_3D>;
reset-names = "3d"; reset-names = "3d", "mc";
power-domains = <&pd_3d>; power-domains = <&pd_3d>;
operating-points-v2 = <&gr3d_dvfs_opp_table>; operating-points-v2 = <&gr3d_dvfs_opp_table>;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment