From 56e869d8a0bd36df907935c3e6503a46f3d2085b Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Fri, 19 Dec 2014 22:40:21 +0100 Subject: Fix gr3d addr for tegra20 --- arm-tegra20-fix_gr3d_dts.patch | 44 ++++++++++++++++++++++++++++++++++++++++++ kernel.spec | 4 ++++ 2 files changed, 48 insertions(+) create mode 100644 arm-tegra20-fix_gr3d_dts.patch diff --git a/arm-tegra20-fix_gr3d_dts.patch b/arm-tegra20-fix_gr3d_dts.patch new file mode 100644 index 00000000..b77740b3 --- /dev/null +++ b/arm-tegra20-fix_gr3d_dts.patch @@ -0,0 +1,44 @@ +Subject: [PATCH] ARM: dts: tegra20: fix GR3D, DSI unit and reg base addresses + +Commit 58ecb23f64ee ("ARM: tegra: add missing unit addresses to DT") added +unit address and changed reg base for GR3D and DSI host1x modules, but these +addresses belongs to GR2D and TVO modules respectively. Fix it by changing +modules unit and reg base addresses to proper ones. + +Signed-off-by: Dmitry Osipenko +Fixes: 58ecb23f64ee (ARM: tegra: add missing unit addresses to DT) +Cc: # v3.13+ +--- + arch/arm/boot/dts/tegra20.dtsi | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi +index 8acf5d8..f76fe94 100644 +--- a/arch/arm/boot/dts/tegra20.dtsi ++++ b/arch/arm/boot/dts/tegra20.dtsi +@@ -68,9 +68,9 @@ + reset-names = "2d"; + }; + +- gr3d@54140000 { ++ gr3d@54180000 { + compatible = "nvidia,tegra20-gr3d"; +- reg = <0x54140000 0x00040000>; ++ reg = <0x54180000 0x00040000>; + clocks = <&tegra_car TEGRA20_CLK_GR3D>; + resets = <&tegra_car 24>; + reset-names = "3d"; +@@ -130,9 +130,9 @@ + status = "disabled"; + }; + +- dsi@542c0000 { ++ dsi@54300000 { + compatible = "nvidia,tegra20-dsi"; +- reg = <0x542c0000 0x00040000>; ++ reg = <0x54300000 0x00040000>; + clocks = <&tegra_car TEGRA20_CLK_DSI>; + resets = <&tegra_car 48>; + reset-names = "dsi"; +-- +2.2.0 diff --git a/kernel.spec b/kernel.spec index 6860f673..1e54e369 100644 --- a/kernel.spec +++ b/kernel.spec @@ -587,6 +587,8 @@ Patch21026: pinctrl-pinctrl-single-must-be-initialized-early.patch Patch21028: arm-i.MX6-Utilite-device-dtb.patch Patch21029: arm-dts-sun7i-bananapi.patch +Patch21050: arm-tegra20-fix_gr3d_dts.patch + Patch21100: arm-highbank-l2-reverts.patch #rhbz 754518 @@ -1220,6 +1222,8 @@ ApplyPatch pinctrl-pinctrl-single-must-be-initialized-early.patch ApplyPatch arm-i.MX6-Utilite-device-dtb.patch ApplyPatch arm-dts-sun7i-bananapi.patch +ApplyPatch arm-tegra20-fix_gr3d_dts.patch + ApplyPatch arm-highbank-l2-reverts.patch -- cgit