video: tegra: host: add dt support for t14x
Mayuresh Kulkarni [Fri, 12 Apr 2013 14:00:32 +0000 (19:00 +0530)]
this commit adds the compatible properties for t148
the real dt will be enabled in a different commit

Change-Id: I9238897eafea968bff3527f0a769dd4a9e315300
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/218949
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

drivers/video/tegra/host/gr2d/gr2d.c
drivers/video/tegra/host/gr3d/gr3d.c
drivers/video/tegra/host/host1x/host1x.c
drivers/video/tegra/host/isp/isp.c
drivers/video/tegra/host/msenc/msenc.c
drivers/video/tegra/host/tsec/tsec.c
drivers/video/tegra/host/vi/vi.c

index a21d51a..e3ee9c6 100644 (file)
@@ -35,6 +35,7 @@
 #include "t20/t20.h"
 #include "t30/t30.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 
 static struct of_device_id tegra_gr2d_of_match[] = {
        { .compatible = "nvidia,tegra20-gr2d",
@@ -43,6 +44,8 @@ static struct of_device_id tegra_gr2d_of_match[] = {
                .data = (struct nvhost_device_data *)&t30_gr2d_info },
        { .compatible = "nvidia,tegra114-gr2d",
                .data = (struct nvhost_device_data *)&t11_gr2d_info },
+       { .compatible = "nvidia,tegra148-gr2d",
+               .data = (struct nvhost_device_data *)&t14_gr2d_info },
        { },
 };
 
index b42a03f..7524c02 100644 (file)
@@ -34,6 +34,7 @@
 #include "t20/t20.h"
 #include "t30/t30.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 #include "host1x/host1x01_hardware.h"
 #include "nvhost_hwctx.h"
 #include "nvhost_acm.h"
@@ -183,6 +184,8 @@ static struct of_device_id tegra_gr3d_of_match[] = {
                .data = (struct nvhost_device_data *)&t30_gr3d_info },
        { .compatible = "nvidia,tegra114-gr3d",
                .data = (struct nvhost_device_data *)&t11_gr3d_info },
+       { .compatible = "nvidia,tegra148-gr3d",
+               .data = (struct nvhost_device_data *)&t14_gr3d_info },
        { },
 };
 
index 2724721..aa29934 100644 (file)
@@ -49,6 +49,7 @@
 #include "t20/t20.h"
 #include "t30/t30.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 
 #define DRIVER_NAME            "host1x"
 
@@ -463,6 +464,8 @@ static struct of_device_id tegra_host1x_of_match[] = {
                .data = (struct nvhost_device_data *)&t30_host1x_info },
        { .compatible = "nvidia,tegra114-host1x",
                .data = (struct nvhost_device_data *)&t11_host1x_info },
+       { .compatible = "nvidia,tegra148-host1x",
+               .data = (struct nvhost_device_data *)&t14_host1x_info },
        { },
 };
 
index 8f9ff39..c8bd5a4 100644 (file)
@@ -33,6 +33,7 @@
 #include "t20/t20.h"
 #include "t30/t30.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 
 static struct of_device_id tegra_isp_of_match[] = {
        { .compatible = "nvidia,tegra20-isp",
@@ -41,6 +42,8 @@ static struct of_device_id tegra_isp_of_match[] = {
                .data = (struct nvhost_device_data *)&t30_isp_info },
        { .compatible = "nvidia,tegra114-isp",
                .data = (struct nvhost_device_data *)&t11_isp_info },
+       { .compatible = "nvidia,tegra148-isp",
+               .data = (struct nvhost_device_data *)&t14_isp_info },
        { },
 };
 
index 98dbde4..64052f8 100644 (file)
@@ -40,6 +40,7 @@
 #include "chip_support.h"
 #include "nvhost_memmgr.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 
 #define MSENC_IDLE_TIMEOUT_DEFAULT     10000   /* 10 milliseconds */
 #define MSENC_IDLE_CHECK_PERIOD                10      /* 10 usec */
@@ -396,6 +397,8 @@ void nvhost_msenc_finalize_poweron(struct platform_device *dev)
 static struct of_device_id tegra_msenc_of_match[] = {
        { .compatible = "nvidia,tegra114-msenc",
                .data = (struct nvhost_device_data *)&t11_msenc_info },
+       { .compatible = "nvidia,tegra148-msenc",
+               .data = (struct nvhost_device_data *)&t14_msenc_info },
        { },
 };
 
index 227e2db..848764a 100644 (file)
@@ -42,6 +42,7 @@
 #include "nvhost_memmgr.h"
 #include "nvhost_intr.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 
 #define TSEC_IDLE_TIMEOUT_DEFAULT      10000   /* 10 milliseconds */
 #define TSEC_IDLE_CHECK_PERIOD         10      /* 10 usec */
@@ -520,6 +521,8 @@ void nvhost_tsec_finalize_poweron(struct platform_device *dev)
 static struct of_device_id tegra_tsec_of_match[] = {
        { .compatible = "nvidia,tegra114-tsec",
                .data = (struct nvhost_device_data *)&t11_tsec_info },
+       { .compatible = "nvidia,tegra148-tsec",
+               .data = (struct nvhost_device_data *)&t14_tsec_info },
        { },
 };
 
index 052302d..d9fa1e6 100644 (file)
@@ -33,6 +33,7 @@
 #include "t20/t20.h"
 #include "t30/t30.h"
 #include "t114/t114.h"
+#include "t148/t148.h"
 #include "vi.h"
 
 static struct of_device_id tegra_vi_of_match[] = {
@@ -42,6 +43,8 @@ static struct of_device_id tegra_vi_of_match[] = {
                .data = (struct nvhost_device_data *)&t30_vi_info },
        { .compatible = "nvidia,tegra114-vi",
                .data = (struct nvhost_device_data *)&t11_vi_info },
+       { .compatible = "nvidia,tegra148-vi",
+               .data = (struct nvhost_device_data *)&t14_vi_info },
        { },
 };